JMB-Technology-Limited / RRuleUnravel

Takes a ICAL/ICS RRULE and expands it.
http://ican.openacalendar.org/
Other
2 stars 1 forks source link

Test for this example #22

Open jarofgreen opened 10 years ago

jarofgreen commented 10 years ago

http://www.kanzaki.com/docs/ical/rrule.html

All examples assume the Eastern United States time zone. Yearly in June and July for 10 occurrences:

DTSTART;TZID=US-Eastern:19970610T090000 RRULE:FREQ=YEARLY;COUNT=10;BYMONTH=6,7 ==> (1997 9:00 AM EDT)June 10;July 10 (1998 9:00 AM EDT)June 10;July 10 (1999 9:00 AM EDT)June 10;July 10 (2000 9:00 AM EDT)June 10;July 10 (2001 9:00 AM EDT)June 10;July 10 Note: Since none of the BYDAY, BYMONTHDAY or BYYEARDAY components are specified, the day is gotten from DTSTART

jarofgreen commented 9 years ago

Just noticed this example is from an old RFC that has now been preceded by RFC 5545; check it's still valid!