[]
Returns the type of day for the specified date.
public override DayType TypeOfDay(DateTime date)
Public Overrides Function TypeOfDay([date] As Date) As DayType
| Type | Name | Description |
|---|---|---|
| DateTime | date | A DateTime value that indicates the date. |
| Type | Description |
|---|---|
| DayType | A DayType enumeration that represents the type of day. |
This method returns a ForcedWorkday if the date is a holiday; otherwise, a Normal is returned.