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 #15

Open jarofgreen opened 9 years ago

jarofgreen commented 9 years ago

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

All examples assume the Eastern United States time zone.

Every other month on the 1st and last Sunday of the month for 10 occurrences:

DTSTART;TZID=US-Eastern:19970907T090000 RRULE:FREQ=MONTHLY;INTERVAL=2;COUNT=10;BYDAY=1SU,-1SU

==> (1997 9:00 AM EDT)September 7,28 (1997 9:00 AM EST)November 2,30 (1998 9:00 AM EST)January 4,25;March 1,29 (1998 9:00 AM EDT)May 3,31

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!