[]
An implementation of the yearly holidays - which means holidays defined here will appear yearly regardless of the year.
[TypeConverter(typeof(HolidayConverter))]
public class Holiday : HolidayBase, INotifyPropertyChanged, IHoliday, ICloneable
<TypeConverter(GetType(HolidayConverter))>
Public Class Holiday
Inherits HolidayBase
Implements INotifyPropertyChanged, IHoliday, ICloneable
Name | Description |
---|---|
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. |
IsYearly | Determines whether the holiday implementation is yearly. |
Name | Gets or sets the name of the holiday. |
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. |
IsHoliday(DateTime) | Determines whether the specified date is a holiday. |
TypeOfDay(DateTime) | Returns the type of day for the specified date. |