[]
        
(Showing Draft Content)

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

ForceHoliday Constructor

ForceHoliday(DateTime)

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

Declaration
public ForceHoliday(DateTime date)
Public Sub New([date] As Date)
Parameters
Type Name Description
DateTime date

A DateTime value that represents the forced holiday.

ForceHoliday(string, DateTime)

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

Declaration
public ForceHoliday(string name, DateTime date)
Public Sub New(name As String, [date] As Date)
Parameters
Type Name Description
string name

A name that represents the holiday.

DateTime date

A DateTime value that represents the forced holiday.

ForceHoliday(DateTime, DateTime)

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

Declaration
public ForceHoliday(DateTime startDate, DateTime endDate)
Public Sub New(startDate As Date, endDate As Date)
Parameters
Type Name Description
DateTime startDate

A DateTime value that represents the starting forced holiday date.

DateTime endDate

A DateTime value that represents the ending forced holiday date.

ForceHoliday(string, DateTime, DateTime)

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

Declaration
public ForceHoliday(string name, DateTime startDate, DateTime endDate)
Public Sub New(name As String, startDate As Date, endDate As Date)
Parameters
Type Name Description
string name

A name that represents the holiday.

DateTime startDate

A DateTime value that represents the starting forced holiday date.

DateTime endDate

A DateTime value that represents the ending forced holiday date.