Search
YearlyRecurrence Enumeration
See Also
 






Specifies types of yearly recurrence patterns.

Namespace: MindFusion.Scheduling
File: Enum.js

 Syntax

JavaScript  Copy Code

// enum
YearlyRecurrence = {}

 Members

  Member name Description

ByDayType

The event occurs on a specific type of day of the specified week and month of the year.

SpecificDate

The event occurs on a specific date of the year.

 Example

The following code sets the yearly recurrence of a Recurrence to be on a specific date:

JavaScript  Copy Code

var p = MindFusion.Scheduling;

// setup the recurrence
var recurrence = new p.Recurrence();
recurrence.pattern = p.RecurrencePattern.Yearly;
recurrence.yearly = p.YearlyRecurrence.SpecificDate;
recurrence.startDate = date;
recurrence.recurrenceEnd = p.RecurrenceEnd.Never;
item.recurrence = recurrence;

 See Also