Open jarofgreen opened 9 years ago
http://www.kanzaki.com/docs/ical/rrule.html
All examples assume the Eastern United States time zone.
Every four years, the first Tuesday after a Monday in November, forever (U.S. Presidential Election day):
DTSTART;TZID=US-Eastern:19961105T090000 RRULE:FREQ=YEARLY;INTERVAL=4;BYMONTH=11;BYDAY=TU;BYMONTHDAY=2,3,4, 5,6,7,8
==> (1996 9:00 AM EST)November 5 (2000 9:00 AM EST)November 7 (2004 9:00 AM EST)November 2 ...
Just noticed this example is from an old RFC that has now been preceded by RFC 5545; check it's still valid!
http://www.kanzaki.com/docs/ical/rrule.html
All examples assume the Eastern United States time zone.
Every four years, the first Tuesday after a Monday in November, forever (U.S. Presidential Election day):
DTSTART;TZID=US-Eastern:19961105T090000 RRULE:FREQ=YEARLY;INTERVAL=4;BYMONTH=11;BYDAY=TU;BYMONTHDAY=2,3,4, 5,6,7,8
==> (1996 9:00 AM EST)November 5 (2000 9:00 AM EST)November 7 (2004 9:00 AM EST)November 2 ...