[]
An implementation of the yearly holidays - which means holidays defined here will appear yearly regardless of the year.
public class Holiday : HolidayBase, INotifyPropertyChanged, IHoliday, ICloneable
Public Class Holiday
Inherits HolidayBase
Implements INotifyPropertyChanged, IHoliday, ICloneable
Name | Description |
---|---|
Holiday() | Initializes a new instance of the Holiday class. |
Holiday(int, int) | Initializes a new instance of the Holiday class with the specified settings. |
Holiday(int, int, int, int) | Initializes a new instance of the Holiday class with the specified settings. |
Holiday(string, int, int) | Initializes a new instance of the Holiday class with the specified settings. |
Holiday(string, int, int, int, int) | Initializes a new instance of the Holiday class with a specified holiday date. |
Name | Description |
---|---|
EndDay | Gets or sets the ending day of the holiday. |
EndMonth | Gets or sets the ending month of the holiday. |
HolidayName | Gets or sets the name of the holiday. |
IsYearly | Gets a value indicating whether the holiday implementation is yearly. |
StartDay | Gets or sets the starting day of the holiday. |
StartMonth | Gets or sets the starting month of the holiday. |
Name | Description |
---|---|
Clone() | Creates a shallow copy of the Holiday object. |
IsDefined(DateTime) | Gets a value indicating whether the specified date is a Holiday. |
TypeOfDay(DateTime) | Returns the type of day for the specified date. |