YearlyRecurrence Constructor (Months, WeekNumber, WeekDays, Int32) |
Constructor of the class.
Namespace:
HiTSoftware.DBMoto.Application
Assembly:
APILibrary (in APILibrary.dll) Version: 7.0.0.0 (9.8.1.7)
Syntaxpublic YearlyRecurrence(
Months months,
WeekNumber weekNumber,
WeekDays weekDays,
int numYears
)
Public Sub New (
months As Months,
weekNumber As WeekNumber,
weekDays As WeekDays,
numYears As Integer
)
public:
YearlyRecurrence(
Months months,
WeekNumber weekNumber,
WeekDays weekDays,
int numYears
)
Parameters
- months
- Type: HiTSoftware.DBMoto.ApplicationMonths
One or more months of the year (January to December) - weekNumber
- Type: HiTSoftware.DBMoto.ApplicationWeekNumber
The number of week of the month - weekDays
- Type: HiTSoftware.DBMoto.ApplicationWeekDays
One or more days of the week (Sunday to Saturday) - numYears
- Type: SystemInt32
Length of the recurrence in number of years
Remarks
Notice that, even if the Months, WeekNumber and WeekDays enumerated types are defined with the FlagsAttribute
attribute, only single values of these types are actually supported in this function.
Examples
YearlyRecurrence rec = new YearlyRecurrence(Months.April, WeekNumber.Second, WeekDays.Monday, 2);
See Also