[]
Initializes a new instance of the Holiday class with the specified settings.
public Holiday(int month, int day)
Public Sub New(month As Integer, day As Integer)
Type | Name | Description |
---|---|---|
int | month | An integer value that represents the holiday month. |
int | day | An integer value that represents the holiday day. |
Initializes a new instance of the Holiday class with the specified settings.
public Holiday(string name, int month, int day)
Public Sub New(name As String, month As Integer, day As Integer)
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. |
Initializes a new instance of the Holiday class with the specified settings.
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)
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. |
Initializes a new instance of the Holiday class with a specified holiday date.
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)
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. |