Generate Recurrence Properties from RecurrenceRule

Hey,

I was wondering if in Forms it is possible to parse a recurrenceRule string to generate a recurrence properties object? 
Something like:

RecurrenceProperties recurrenceProperties = ScheduleHelper.RRuleParser("FREQ=YEARLY;BYMONTHDAY=16;BYMONTH=6;INTERVAL=1;COUNT=10", DateTime.Now);

Kind regards,
Bernard

5 Replies

GC Ganeshamoorthy Chandramoorthy Syncfusion Team May 18, 2018 04:00 AM UTC

Hi Bernard, 
 
We have checked with your query. Currently, SfSchedule doesn’t support to parse a recurrenceRule string to generate a recurrence properties object in Xamarin Forms. We have considered to provide support for this and logged feature request for the same. We will implement and include this feature in our upcoming volume 2 SP2 release which is expected to be available by end of month June 2018. We appreciate your patience until then. 
 
Regards, 
Ganeshamoorthy C 



BE Bernard May 22, 2018 02:35 PM UTC

Thanks!

In the mean time, for anyone looking for an immediate solution, please find a Xamarin.Forms Native Rule<=>Properties converter @  https://github.com/bbl-Laobu/SFScheduleHelper

Lots of unit tests implemented on different properties so you can extend and test your own specific rules and see if they parse.

Any problems, let me know.

Bernard


GC Ganeshamoorthy Chandramoorthy Syncfusion Team May 23, 2018 12:14 PM UTC

Hi Bernard, 
 
Thanks for the update. As we mentioned in previous update, we will provide support for this feature in our upcoming volume 2 SP2 release which is expected to be available by mid of month July, 2018. We appreciate your patience until then. 
 
Regards, 
Ganeshamoorthy C  



AA Arulraj A Syncfusion Team August 29, 2018 05:31 PM UTC

Hi Bernard,  
 
Thanks for your patience. 
 
We are still working on this feature “support to parse a recurrenceRule string to generate a recurrence properties object”. Due to its complexity and need to be tested in various scenario, its taking more time than expected. We will fix this issue and include this fix in our upcoming Volume 3 main release which is expected to be available by month of September 2018. We appreciate your patience until then. 
 
Regards, 
Arulraj A 



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

Hi Bernard, 
 
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