Perhaps I do not understand what 'COUNT=4' means.
What I think it means is that a recurring event will recur 4 times ONLY, from its DTSTART date.
I am trying to generate a recurring set of dates.
What I want is an event that recurs 4 times, starting Apr 27 2005, recurring every WED.
I expect the generated dates to be...
Now, when I ask for dates within a range, say from NOV 25 to DEC 31, I would expect no dates to be returned, since the last possible date generated would be MAY 28.
However, I am getting dates for every WED within that dateRange.
My question is, what is it generating dates past MAY 28?
Here is the specifics....
String rrule = “DTSTART:20050427T190000Z\nRRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE;COUNT=4”oPattern = new RecurrencePattern(rrule);
DateCollection recurrenceDates = Pattern.GenerateOccurrences(dateStart, dateEnd );
dateStart is 11/27/2005
dateEnd is 12/31/2005