I need to be able to understand how the occurance rule works in the db as I need to be able to extract them to be able to create shift patterns.
//Creating a Weekly Recurrence rule
interval = 2;
RecurrenceRange range =
range.Start = Convert.ToDateTime(rdStartShift.SelectedDate);
range.EventDuration = TimeSpan.FromMinutes(30);
range.MaxOccurrences = 3;
RecurrenceDay recurrenceDay = RecurrenceDay.Wednesday;
// _shifts.RecurrenceRule = new WeeklyRecurrenceRule(interval, recurrenceDay, range).ToString();
DayOfWeek startDayOfWeek = DayOfWeek.Tuesday;
WeeklyRecurrenceRule(interval, recurrenceDay, range, startDayOfWeek).ToString();
I need be able expand this data to add to a list of shifts so that i can set them in the calendar as the start time and end time of an angents shift. So I guess question is how do i expand the recurrance ruel.