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

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.

Weekly on Tuesday and Thursday for 5 weeks:

DTSTART;TZID=US-Eastern:19970902T090000 RRULE:FREQ=WEEKLY;UNTIL=19971007T000000Z;WKST=SU;BYDAY=TU,TH or RRULE:FREQ=WEEKLY;COUNT=10;WKST=SU;BYDAY=TU,TH

==> (1997 9:00 AM EDT)September 2,4,9,11,16,18,23,25,30;October 2

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!