Any method to go from RRule string back to RecurrenceProperties object?

I have successfully generated an RRule string and stored it into my appointment. 

recurrence = DependencyService.Get<IRecurrenceBuilder>().RRuleGenerator(recurrenceProperties, From, To);

I would now like the ability to edit the rule for this appointment so I would like to parse it back into a RecurrenceProperties object.  I kind of expected a RecurrenceProperties  constructor that accepted an RRule string object, but I don't see one.  Is any method provided in the api to do this?

Any help will be greatly appreciated.

4 Replies

VR Vigneshkumar Ramasamy Syncfusion Team August 13, 2018 12:14 PM UTC

Hi John,  
 
Thanks for Contacting Syncfusion support. 
 
We have checked your requirement of “parse a recurrence rule string to generate a recurrence properties object”, as of now don’t have support for this. We have already logged feature report for the same. It will be implemented in our upcoming Volume 3 main release. Which is expected to available by end September 2018. We appreciate your patience until then. 
 
Regards 
Vigneshkumar R  



JP John Prass August 13, 2018 05:28 PM UTC

Thank you.  I look forward to this functionality.


VR Vigneshkumar Ramasamy Syncfusion Team August 14, 2018 07:29 AM UTC

Hi John Prass  
 
Thanks for the update. As mentioned before the reported feature will be implemented in our upcoming Volume 3 main release. Which is expected to available by end September 2018. We appreciate your patience until then.  
 
Regards 
Vigneshkumar R 



VR Vigneshkumar Ramasamy Syncfusion Team September 24, 2018 06:36 AM UTC

Hi John Prass, 
 
We are glad to announce that our Essential Studio Volume 3, 2018 release (v16.3.0.21) is rolled out and is available for download under the following link. 
 
 
We have provided support to generate a recurrence properties object from the recurrence rule string and support to get occurrence date collection of a recurring appointment and included in this release. 
 
Code snippet:  
RecurrenceProperties recurrenceRule = schedule.RRuleParser(scheduleAppointment.RecurrenceRule, scheduleAppointment.StartTime);  
IEnumerable<DateTime> dateCollection = schedule.GetRecurrenceDateTimeCollection(scheduleAppointment.RecurrenceRule, scheduleAppointment.StartTime);  
  
 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
 
Regards, 
Vigneshkumar R 


Loader.
Up arrow icon