[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.ForceHoliday

ForceHoliday Class

An implementation of the forced holidays which will be based on the exact specified dates and not yearly.

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

Constructors

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.

Properties

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.

Methods

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.