Hi,
I have the following recurrence pattern string DTSTART:20120502T113000ZDTEND:20120502T123000ZRRULE:FREQ=MONTHLY;INTERVAL=16;BYMONTHDAY=2
I use this code to apply it to an appointment
When checking for occurennces it seems to occur every 12 months on day 2 and not every 16 months. In fact any month number over 12 seems always fall back to 12.
Is this a bug or have I got my logic wrong?
Thanks
I have the following recurrence pattern string DTSTART:20120502T113000ZDTEND:20120502T123000ZRRULE:FREQ=MONTHLY;INTERVAL=16;BYMONTHDAY=2
I use this code to apply it to an appointment
var pattern =
new
Telerik.Windows.Controls.ScheduleView.RecurrencePattern();
if
(Telerik.Windows.Controls.ScheduleView.ICalendar.RecurrencePatternHelper.TryParseRecurrencePattern(item.Recurrence_rule,
out
pattern))
{
apt.RecurrenceRule =
new
Telerik.Windows.Controls.ScheduleView.RecurrenceRule(pattern);
}
When checking for occurennces it seems to occur every 12 months on day 2 and not every 16 months. In fact any month number over 12 seems always fall back to 12.
Is this a bug or have I got my logic wrong?
Thanks