[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.ForceDayOfWeekWorkday.TypeOfDay

TypeOfDay Method

TypeOfDay(DateTime)

Returns the type of day for the specified date.

Declaration
public override DayType TypeOfDay(DateTime date)
Public Overrides Function TypeOfDay([date] As Date) As DayType
Parameters
Type Name Description
DateTime date

A DateTime value that indicates the date.

Returns
Type Description
DayType

A DayType enumeration that represents the type of day.

Overrides
Remarks

This method returns a ForcedWorkday if the date is a weekday holiday; otherwise, a Normal is returned.