1 Jun 2005 17:34
Questions regarding details of recurrence rules
Reinhold Kainhofer <reinhold <at> kainhofer.com>
2005-06-01 15:34:08 GMT
2005-06-01 15:34:08 GMT
Hi Guys, I already sent this to ietf-calendar, but didn't get any definitive response so far. It may be a bit off-topic here, but I'm still hoping for an answer that helps me getting RFC 2445-RRULEs completely correct. For the most part, the RFC is clear to me, but there are some details that are not clear. I encountered them when I tested my new recurrence implementation which tries to implement every aspect of rrules, exrules, rdates and exdates. The examples below sometimes might look like nitpicking, but I deliberately designed them to make little details of the RFC clear. These issues might be a language problem on my side, or an unclear wording in the RFC. In any case, I'd like to know how the RFC really meant those things to work. 1) About the BYDAY rule part: Let's start with some examples RRULE:FREQ=YEARLY;BYDAY=3SU Okay, that's the third sunday of the year. But what exactly is RRULE:FREQ=YEARLY;BYDAY=5SU;BYMONTH=2 Is this the fith sunday in the year, if it is also in february? Or is it the fifth sunday in february? And it can be even less clear from rfc 2445. What is RRULE:FREQ=YEARLY;BYDAY=5SU;BYMONTH=2,7 Is this the fifth sunday of the year, if it's in either February or July? Or is it the fifth sunday of both february and July? Or is it the fifth sunday of febrary and july together (i.e. in feb if the feb in a leap year has 5 sundays, or the first sunday of july in all other years)?(Continue reading)

RSS Feed