[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.Holiday

Holiday Class

An implementation of the yearly holidays - which means holidays defined here will appear yearly regardless of the year.

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

Constructors

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.

Properties

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.

Methods

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.