[]
An implementation of the forced holidays which will be based on the exact specified dates and not yearly.
public class ForceHoliday : HolidayBase, INotifyPropertyChanged, IHoliday, ICloneable
Public Class ForceHoliday
Inherits HolidayBase
Implements INotifyPropertyChanged, IHoliday, ICloneable
Name | Description |
---|---|
ForceHoliday() | Initializes a new instance of the ForceHoliday class. |
ForceHoliday(DateTime) | Initializes a new instance of the ForceHoliday class with the specified settings. |
ForceHoliday(DateTime, DateTime) | Initializes a new instance of the ForceHoliday class with the specified settings. |
ForceHoliday(string, DateTime) | Initializes a new instance of the ForceHoliday class with the specified settings. |
ForceHoliday(string, DateTime, DateTime) | Initializes a new instance of the ForceHoliday class with the specified settings. |
Name | Description |
---|---|
End | Gets or sets the end date of ForceHoliday. |
HolidayName | Gets or sets the name of the forced holiday. |
IsYearly | Gets a value indicating whether the holiday implementation is yearly. |
Start | Gets or sets the start date of ForceHoliday. |
Name | Description |
---|---|
Clone() | Creates a shallow copy of the ForceHoliday object. |
IsDefined(DateTime) | Gets a value indicating whether the specified date is a ForceHoliday. |
TypeOfDay(DateTime) | Returns the type of day for the specified date. |