[]
Determines whether the specified date is a holiday.
public virtual bool IsHoliday(DateTime dateTime)
Public Overridable Function IsHoliday(dateTime As Date) As Boolean
Type | Name | Description |
---|---|---|
DateTime | dateTime | A DateTime value indicates the date. |
Type | Description |
---|---|
bool |
A date is defined as an GrapeCity.Windows.InputMan.IHoliday using the GrapeCity.Windows.InputMan.Holiday or GrapeCity.Windows.InputMan.ForceHoliday class will be treated as a holiday. also, weekday's can be treated as holidays by using the WeeklyHoliday class.