[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.DayOfWeekHolidayPolicy

DayOfWeekHolidayPolicy Struct

Stores the holiday policy for a weekday - such as which weeks in the month are considered as holidays or whether a holiday should automatically override to the next day.

Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
[TypeConverter(typeof(DayOfWeekHolidayPolicyConverter))]
public struct DayOfWeekHolidayPolicy
<TypeConverter(GetType(DayOfWeekHolidayPolicyConverter))>
Public Structure DayOfWeekHolidayPolicy

Constructors

Name Description
DayOfWeekHolidayPolicy(WeekFlags, HolidayOverride)

Initializes a new instance of the DayOfWeekHolidayPolicy structure with the specified WeekFlags and override settings.

Fields

Name Description
Empty

Represents a DayOfWeekHolidayPolicy structure with its properties left uninitialized.

Properties

Name Description
IsEmpty

Gets the value that indicates whether all properties of this DayOfWeekHolidayPolicy are uninitialized.

Override

Gets or sets whether to override the holiday.

WeekFlags

Gets or sets a WeekFlags enumeration that contains the weekday's weekly holiday information.

Methods

Name Description
IsHoliday(DateTime)

Determines whether the specified date is a weekday or a holiday.