Recurrence - Weekly (examples)
Interval | Range |
---|---|
An appointment recurs every 2 weeks, on Monday and Wednesday. It occurs 15 times.
RRULE:FREQ=WEEKLY;COUNT=15;INTERVAL=2;BYDAY=MO,WE
apt.RecurrenceInfo.Type = RecurrenceType.Weekly; apt.RecurrenceInfo.Start = apt.Start; apt.RecurrenceInfo.Periodicity = 2; apt.RecurrenceInfo.WeekDays = WeekDays.Monday | WeekDays.Wednesday; apt.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount; apt.RecurrenceInfo.OccurrenceCount = 15;
An appointment occurs every fourth week on weekends. Infinite (no end date).
RRULE:FREQ=WEEKLY;INTERVAL=4;BYDAY=SU,SA
An appointment occurs every Friday for 24 days.
RRULE:FREQ=WEEKLY;UNTIL=20161127T080000Z;BYDAY=FR
See Also