[]
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.
[TypeConverter(typeof(DayOfWeekHolidayPolicyConverter))]
public struct DayOfWeekHolidayPolicy
<TypeConverter(GetType(DayOfWeekHolidayPolicyConverter))>
Public Structure DayOfWeekHolidayPolicy
Name | Description |
---|---|
DayOfWeekHolidayPolicy(WeekFlags, HolidayOverride) | Initializes a new instance of the DayOfWeekHolidayPolicy structure with the specified WeekFlags and override settings. |
Name | Description |
---|---|
Empty | Represents a DayOfWeekHolidayPolicy structure with its properties left uninitialized. |
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. |
Name | Description |
---|---|
IsHoliday(DateTime) | Determines whether the specified date is a weekday or a holiday. |