Specifies the interval at which recurring events occur.
Namespace: MindFusion.Scheduling
File: Enum.js
JavaScript Copy Code |
---|
// enum |
Member name | Description | |
---|---|---|
ByTimeInterval |
Repeats an event over a specified time interval. |
|
Daily |
Repeats an event every day. |
|
Monthly |
Repeats an event every month. |
|
Weekly |
Repeats an event every week. |
|
Yearly |
Repeats an event every year. |
These values are assigned to the pattern property of the Recurrence class.
The following code creates a recurrence with weekly RecurrencePattern for a schedule item:
JavaScript Copy Code |
---|
var p = MindFusion.Scheduling; // setup the recurrence |