Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Recurrence - Daily (examples)

Interval

Range

RecurrenceInfo.WeekDays_EveryDay

RecurrenceInfo.WeekDays_WorkDays

RecurrenceRange.NoEndDate

RecurrenceRange.OccurrenceCount

RecurrenceRange.EndByDate

  1. An appointment is set every 3 days. Five occurrences.

    RRULE:FREQ=DAILY;COUNT=5;INTERVAL=3
    
    apt.RecurrenceInfo.Type = RecurrenceType.Daily;
    apt.RecurrenceInfo.Start = apt.Start;
    apt.RecurrenceInfo.Periodicity = 3;
    apt.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount;
    apt.RecurrenceInfo.OccurrenceCount = 5;
    
  2. An appointment is set every day. Infinite (no end date).

    apt.RecurrenceInfo.Type = RecurrenceType.Daily;
    apt.RecurrenceInfo.Start = apt.Start;
    apt.RecurrenceInfo.Range = RecurrenceRange.NoEndDate;
    
  3. An appointment occurs every five days. Appointments are set for one month.

    RRULE:FREQ=DAILY;UNTIL=20161203T080000Z;INTERVAL=5
    
    apt.RecurrenceInfo.Type = RecurrenceType.Daily;
    apt.RecurrenceInfo.Start = apt.Start;
    apt.RecurrenceInfo.Periodicity = 5;
    apt.RecurrenceInfo.Range = RecurrenceRange.EndByDate;
    apt.RecurrenceInfo.End = apt.RecurrenceInfo.Start.AddMonths(1);
    
  4. An appointment occurs every weekend. Infinite (no end date).

    RRULE:FREQ=WEEKLY;BYDAY=SU,SA
    
    apt.RecurrenceInfo.Type = RecurrenceType.Daily;
    apt.RecurrenceInfo.Start = apt.Start;
    apt.RecurrenceInfo.WeekDays = WeekDays.WeekendDays;
    apt.RecurrenceInfo.Range = RecurrenceRange.NoEndDate;
    
See Also