[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.Holiday.-ctor

Holiday Constructor

Holiday(int, int)

Initializes a new instance of the Holiday class with the specified settings.

Declaration
public Holiday(int month, int day)
Public Sub New(month As Integer, day As Integer)
Parameters
Type Name Description
int month

An integer value that represents the holiday month.

int day

An integer value that represents the holiday day.

Holiday(string, int, int)

Initializes a new instance of the Holiday class with the specified settings.

Declaration
public Holiday(string name, int month, int day)
Public Sub New(name As String, month As Integer, day As Integer)
Parameters
Type Name Description
string name

A name that represents the holiday.

int month

An integer value that represents the holiday month.

int day

An integer value that represents the holiday day.

Holiday(int, int, int, int)

Initializes a new instance of the Holiday class with the specified settings.

Declaration
public Holiday(int startMonth, int startDay, int endMonth, int endDay)
Public Sub New(startMonth As Integer, startDay As Integer, endMonth As Integer, endDay As Integer)
Parameters
Type Name Description
int startMonth

An integer value that represents the starting month of the holiday.

int startDay

An integer value that represents the starting day of the holiday.

int endMonth

An integer value that represents the ending month of the holiday.

int endDay

An integer value that represents the ending day of the holiday.

Holiday(string, int, int, int, int)

Initializes a new instance of the Holiday class with a specified holiday date.

Declaration
public Holiday(string name, int startMonth, int startDay, int endMonth, int endDay)
Public Sub New(name As String, startMonth As Integer, startDay As Integer, endMonth As Integer, endDay As Integer)
Parameters
Type Name Description
string name

A name that represents the holiday.

int startMonth

An integer value that represents the starting month of the holiday.

int startDay

An integer value that represents the starting day of the holiday.

int endMonth

An integer value that represents the ending month of the holiday.

int endDay

An integer value that represents the ending day of the holiday.