Recently I began to work with google-rfc-2445 library and met a same problem as SO user Art Zaborskiy here: Start date returns in some cases when using google-rfc-2445 (iCalendar) After SO user oberron pointed to specification in him answer here, where being said that:
[...] The COUNT rule part defines the number of occurrences at which to range-bound the recurrence. The "DTSTART" property value, if specified, counts as the first occurrence. [...]
I was sure that my issue is over, and it isn't issue but feature. I thought so till I found rrule.js libary here, in its demo page it returns exactly 10 occurrences without DTSTART occurrence, while same RRULE String in google-rfc-2445 return 11 occurrences.
The RRULE String is following: FREQ=WEEKLY;COUNT=10;BYDAY=MO;DTSTART=20150301
Now I totally confused, should or shouldn't DTSTART occurrence be in a list of all occurrences? Thank you for your clarification.