[]
Determines whether the specified date is a holiday.
public virtual bool IsHoliday(DateTime date)
Public Overridable Function IsHoliday([date] As Date) As Boolean
Type | Name | Description |
---|---|---|
DateTime | date | A DateTime value that indicates the date. |
Type | Description |
---|---|
bool |
A specified date that uses the Holiday or ForceHoliday class is treated as a holiday. Also, weekday's can be treated as holidays by using the DayOfWeekHolidayPolicy structure.