[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.HolidayCollection.IsHoliday

IsHoliday Method

IsHoliday(DateTime)

Determines whether the specified date is a holiday.

Declaration
public virtual bool IsHoliday(DateTime date)
Public Overridable Function IsHoliday([date] As Date) As Boolean
Parameters
Type Name Description
DateTime date

A DateTime value that indicates the date.

Returns
Type Description
bool

true if the date is a holiday; otherwise, false.

Remarks

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.