Skip to main content

Recurrence - Minutely (examples)

  1. An appointment is set every 10 minutes. Five occurrences.

    RRULE:FREQ=MINUTELY;COUNT=5;INTERVAL=10
    
    apt.RecurrenceInfo.Type = RecurrenceType.Minutely;
    apt.RecurrenceInfo.Start = apt.Start;
    apt.RecurrenceInfo.Periodicity = 10;
    apt.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount;
    apt.RecurrenceInfo.OccurrenceCount = 5;
    
  2. An appointment is set every 45 minutes. Infinite (no end time).

    RRULE:FREQ=MINUTELY;INTERVAL=45
    
    apt.RecurrenceInfo.Type = RecurrenceType.Minutely;
    apt.RecurrenceInfo.Start = apt.Start;
    apt.RecurrenceInfo.Periodicity = 45;
    apt.RecurrenceInfo.Range = RecurrenceRange.NoEndDate;
    
  3. An appointment is set every 20 minutes. The appointment chain duration is 10 hours.

    RRULE:FREQ=MINUTELY;UNTIL=20161103T180000Z;INTERVAL=20
    
    apt.RecurrenceInfo.Type = RecurrenceType.Minutely;
    apt.RecurrenceInfo.Start = apt.Start;
    apt.RecurrenceInfo.Periodicity = 20;
    apt.RecurrenceInfo.Range = RecurrenceRange.EndByDate;
    apt.RecurrenceInfo.End = apt.RecurrenceInfo.Start.AddHours(10);
    
See Also