[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.WeeklyHoliday

WeeklyHoliday Class

Represents a WeeklyHoliday carrying the holiday override policy on the specific day of week.

Inheritance
WeeklyHoliday
Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public class WeeklyHoliday : HolidayBase, INotifyPropertyChanged, IHoliday, ICloneable
Public Class WeeklyHoliday
    Inherits HolidayBase
    Implements INotifyPropertyChanged, IHoliday, ICloneable
Remarks

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.

Constructors

Name Description
WeeklyHoliday()

Properties

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.

Methods

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.