Click or drag to resize

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)
Syntax
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
// Define a yearly recurrence on April, the second Monday, every 2 years
YearlyRecurrence rec = new YearlyRecurrence(Months.April, WeekNumber.Second, WeekDays.Monday, 2);
See Also