In the Aspose.iCalendar API Reference the following line can be read for the RecurrencePattern.StartDate Property:
"The start date of the recurrence pattern always counts as the first occurrences, unless it is excluded in ExDates."
This causes some trouble for me, because I would expect the following behavior:
- If today is Friday and I specify a RecurrencePattern with start date today, to reoccur 3 times every 1 week on Friday, the start date is my first occurrence.
- If today is Tuesday and I specify a RecurrencePattern with start date today, to reoccur 3 times every 1 week on Friday, next Friday is my first occurrence.
So sometimes the first occurrence should be the start date, but other times the first occurrence should be second occurrence. Besides that, in the latter case 1 occurrence too little is calculated.
Does anyone now a solution to handle this situation with Aspose.iCalendar?