Problems with Daily UNTIL Rule

Hi there,

I've been trying to use the following rule without success: 

RecurrenceRule = "FREQ=DAILY;INTERVAL=1;UNTIL=06/10/2018;";
StartTime = new DateTime(2018, 06, 01, 10,0,00)
EndTime = new DateTime(2018, 06, 01, 12, 00, 00)

Passing this along to my XAML RecurrenceMapping doesn't seem to work as it shows the appointment in the MonthView on many more dates into the future well past the set UNTIL date (10th of June 2018). The rule is thus not respected. 

So, I approached this in a different way by using recurrence properties instead:
RecurrenceProperties recurrenceProperties = new RecurrenceProperties();
recurrenceProperties.RecurrenceType = RecurrenceType.Daily;
recurrenceProperties.DailyNDays = 1;
recurrenceProperties.IsRangeEndDate = true;
recurrenceProperties.RangeEndDate = new DateTime(2018, 06,10);
recurrenceProperties.RecurrenceRule = DependencyService.Get<IRecurrenceBuilder>()
       .RRuleGenerator(recurrenceProperties, new DateTime(2018, 06, 01, 10,0,00) 
                       ,new DateTime(2018, 06, 01, 12, 00, 00));

However, now I get the following rule when checking recurrenceProperties.RecurrenceRule => "FREQ=DAILY;COUNT=6;BYDAY=MO,TU,WE,TH,FR"     

Notice that the rule is not using UNTIL as expected and furthermore that the new generated rule seems incorrect as it excludes Saturday and Sunday and the count is wrong. 

In the monthview I can now only see 6 entries which is wrong.

Could you check and let me know whats going wrong?

Kr,
Bernard

3 Replies

GC Ganeshamoorthy Chandramoorthy Syncfusion Team June 8, 2018 02:17 PM UTC

Hi Bernard, 
 
We have checked with the provided information. Currently, we don’t have UNTIL rule support in our recurrence rule. So, recurrence appointment is not generated as per the given rule. As of now, it can be achieved by using COUNT rule. We have already considered and implemented the UNTIL support with standard format “yyyyMMdd”.   
 
RecurrenceRule = "FREQ=DAILY;INTERVAL=1;UNTIL=20180610;"; 
 
We will include this improvement in our upcoming Volume 2 release which is expected to be available by month of June 2018. We appreciate your patience until then.  
 
Regards, 
Ganeshamoorthy C 



BE Bernard June 8, 2018 05:46 PM UTC

Dear,

I understand and it is clear that the volume 2 release promises to bring a lot of important improvements.
Will this release also allow an update of your online documentation?

Kr,
Bernard


GC Ganeshamoorthy Chandramoorthy Syncfusion Team June 11, 2018 12:27 PM UTC

Hi Bernard, 
 
Our online User Guide documentation will be updated along with the features for 2018 Volume 2 release.  
Please let us know, if you need any further assistance. 
 
Regards, 
Ganeshamoorthy C 


Loader.
Up arrow icon