[]
Initializes a new instance of the ForceHoliday class with the specified settings.
public ForceHoliday(DateTime date)
Public Sub New([date] As Date)
Type | Name | Description |
---|---|---|
DateTime | date | A DateTime value that represents the forced holiday. |
Initializes a new instance of the ForceHoliday class with the specified settings.
public ForceHoliday(string name, DateTime date)
Public Sub New(name As String, [date] As Date)
Type | Name | Description |
---|---|---|
string | name | A name that represents the holiday. |
DateTime | date | A DateTime value that represents the forced holiday. |
Initializes a new instance of the ForceHoliday class with the specified settings.
public ForceHoliday(DateTime startDate, DateTime endDate)
Public Sub New(startDate As Date, endDate As Date)
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. |
Initializes a new instance of the ForceHoliday class with the specified settings.
public ForceHoliday(string name, DateTime startDate, DateTime endDate)
Public Sub New(name As String, startDate As Date, endDate As Date)
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. |