How can I parse the recurrence rule to extract all occurrences. I want to do this in a console application. I want to query the database and extract the occurrences in c#.
1 Answer, 1 is accepted
0
Peter Milchev
Telerik team
answered on 31 Aug 2018, 01:38 PM
Hello,
You can use the TryParse of the Telerik.Web.UI.RecurrenceRule class as explained in Working with Recurring Appointments. The RecurrenceRule class supports the ToString and TryParse methods that RadScheduler uses for storing and retrieving the recurrence rules instances. The format is a subset of the standard iCalendar format.
Then you can iterate the Exceptions collection of the parsed RecurrenceRule.
Regards,
Peter Milchev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.