[]
Represents a WeeklyHoliday carrying the holiday override policy on the specific day of week.
public class WeeklyHoliday : HolidayBase, INotifyPropertyChanged, IHoliday, ICloneable
Public Class WeeklyHoliday
Inherits HolidayBase
Implements INotifyPropertyChanged, IHoliday, ICloneable
The WeeklyHoliday is defined by specifying the DayOfWeek and the WeekInMonth, and it indicates the holiday override behavior when a holiday meets a weekly holiday according to the HolidayOverridePolicy.
| Name | Description |
|---|---|
| WeeklyHoliday() |
| Name | Description |
|---|---|
| DayOfWeek | Gets or sets the day of week of the weekly holiday occurred on. |
| HolidayName | Gets or sets the name of the weekly holiday. |
| HolidayOverridePolicy | Gets or sets the holiday override policy. |
| IsYearly | Gets a value indicating whether the holiday implementation is yearly. |
| WeekInMonth | Gets or sets the weeks in a month of the weekly holiday. |
| Name | Description |
|---|---|
| Clone() | Creates a shallow copy of the WeeklyHoliday object. |
| IsDefined(DateTime) | Determines whether the specified date is a WeeklyHoliday. |
| TypeOfDay(DateTime) | Returns the type of day for the specified date. |