[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.ForceHoliday

ForceHoliday Class

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

Inheritance
ForceHoliday
Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
[TypeConverter(typeof(ForceHolidayConverter))]
public class ForceHoliday : HolidayBase, INotifyPropertyChanged, IHoliday, ICloneable
<TypeConverter(GetType(ForceHolidayConverter))>
Public Class ForceHoliday
    Inherits HolidayBase
    Implements INotifyPropertyChanged, IHoliday, ICloneable

Constructors

Name Description
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 forced holiday.

IsYearly

Determines whether the holiday implementation is yearly.

Name

Gets or sets the name of the holiday.

Start

Gets or sets the starting forced holiday.

Methods

Name Description
Clone()

Creates a shallow copy of the ForceHoliday object.

IsHoliday(DateTime)

Determines whether the specified date is a holiday.

TypeOfDay(DateTime)

Returns the type of day for the specified date.