We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Time recurrence error

if you apply the following custom recurrence pattern in Aspose.iCalendar:


Then the occurrences that Aspose.iCalendar generates are not correct. It does generate 10 occurrences but they are not the correct ones.

If you remove the COUNT=10, then the occurrences are correct.

also if you replace the COUNT=10 with an end date, then the occurrences are correct.

Please advise.

This message was posted using Aspose.Live 2 Forum


We will look into it and will get back to you. Could you please use HOURLY frequency in the meanwhile or the alternates suggested by you.



RecurrencePattern pattern = new RecurrencePattern();
pattern.StartDate = DateTime.Parse(“04/28/2010 04:00 PM”);
RecurrenceRule rule = new RecurrenceRule();
rule.Frequency = Frequency.Hourly;
rule.Count = 10;
rule.ByHour.Add(new int[] {8,9,10,11,12,13,16,15,14,18,19,20,17});
rule.ByMinute.Add(new int[] {30,0});

HOURLY will not work because I want the Date recurrence to still be independent of the time recurrence (which iCalendar supports).