[]
Initializes a new instance of the DayOfWeekHoliday class.
public DayOfWeekHoliday()
Public Sub New()
Initializes a new instance of the DayOfWeekHoliday class with the specific day of week rules.
public DayOfWeekHoliday(Months month, Weeks weekInMonth, DayOfWeeks dayOfWeek)
Public Sub New(month As Months, weekInMonth As Weeks, dayOfWeek As DayOfWeeks)
Type | Name | Description |
---|---|---|
Months | month | A GrapeCity.Windows.InputMan.Months enumeration value indicates the month. |
Weeks | weekInMonth | A GrapeCity.Windows.InputMan.Weeks enumeration value indicates the weekday order. |
DayOfWeeks | dayOfWeek | A GrapeCity.Windows.InputMan.DayOfWeeks enumeration value indicates the day of week. |
Type | Condition |
---|---|
InvalidEnumArgumentException |
|
Initializes a new instance of the DayOfWeekHoliday class with the specific day of week rules.
public DayOfWeekHoliday(string name, Months month, Weeks weekInMonth, DayOfWeeks dayOfWeek)
Public Sub New(name As String, month As Months, weekInMonth As Weeks, dayOfWeek As DayOfWeeks)
Type | Name | Description |
---|---|---|
string | name | A string value indicates the name of the weekday holiday. |
Months | month | A GrapeCity.Windows.InputMan.Months enumeration value indicates the month. |
Weeks | weekInMonth | A GrapeCity.Windows.InputMan.Weeks enumeration value indicates the weekday order. |
DayOfWeeks | dayOfWeek | A GrapeCity.Windows.InputMan.DayOfWeeks enumeration value indicates the day of week. |
Type | Condition |
---|---|
InvalidEnumArgumentException |
|