YearlyRecurrence Constructor (Months, MonthDays, 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,
MonthDays monthDays,
int numYears
)
Public Sub New (
months As Months,
monthDays As MonthDays,
numYears As Integer
)
public:
YearlyRecurrence(
Months months,
MonthDays monthDays,
int numYears
)
Parameters
- months
- Type: HiTSoftware.DBMoto.ApplicationMonths
One or more months of the year (January to December) - monthDays
- Type: HiTSoftware.DBMoto.ApplicationMonthDays
One or more days of the month (1 to 31) - numYears
- Type: SystemInt32
Length of the recurrence in number of years
Remarks
Notice that, even if the Months enumerated type is defined with the FlagsAttribute
attribute, only single values of this type is actually supported in this function.
Examples
YearlyRecurrence rec = new YearlyRecurrence(Months.May, new MonthDays(2), 1);
See Also