[]
Represents the forced holidays of a specific year, which are set by the day of week rules.
[TypeConverter(typeof(ForceDayOfWeekHolidayConverter))]
public class ForceDayOfWeekHoliday : HolidayBase, INotifyPropertyChanged, IHoliday, ICloneable
<TypeConverter(GetType(ForceDayOfWeekHolidayConverter))>
Public Class ForceDayOfWeekHoliday
Inherits HolidayBase
Implements INotifyPropertyChanged, IHoliday, ICloneable
Name | Description |
---|---|
ForceDayOfWeekHoliday() | Initializes a new instance of the ForceDayOfWeekHoliday class with the specified date. |
ForceDayOfWeekHoliday(int, MonthFlags, DayOfWeekInMonthFlags, DayOfWeekFlags) | Initializes a new instance of the ForceDayOfWeekHoliday class with the specified date. |
ForceDayOfWeekHoliday(string, int, MonthFlags, DayOfWeekInMonthFlags, DayOfWeekFlags) | Initializes a new instance of the ForceDayOfWeekHoliday class with the specified date. |
Name | Description |
---|---|
DayOfWeek | Gets or sets the day of the week. |
DayOfWeekInMonth | Gets or sets the weekday order. |
IsYearly | Determines whether the weekday holiday implementation is yearly. |
Month | Gets or sets the month of the holiday. |
Name | Gets or sets the name of the weekday holiday. |
Year | Gets or sets the year of the forced holiday in weekdays. |
Name | Description |
---|---|
Clone() | Creates a shallow copy of the ForceDayOfWeekHoliday object. |
IsHoliday(DateTime) | Determines whether the specified date is a weekday holiday. |
TypeOfDay(DateTime) | Returns the type of day for the specified date. |