BEGIN:VCALENDAR
PRODID:-//Test
VERSION:2.0
X-WR-CALDESC:Test various iCal RRULEs.
BEGIN:VEVENT
UID:iCalRRuleTest1
SUMMARY:Daily for 10 occurrences
DTSTART;TZID=US-Eastern:20090702T090000
RRULE:FREQ=DAILY;COUNT=10
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest2
SUMMARY:Daily until December 24, 2009
DTSTART;TZID=US-Eastern:20091202T090000
RRULE:FREQ=DAILY;UNTIL=20091224T000000Z
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest3
SUMMARY:Every other day
DTSTART;TZID=US-Eastern:20090202T090000
RRULE:FREQ=DAILY;INTERVAL=2
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest4
SUMMARY:Every 10 days, 5 occurrences
DTSTART;TZID=US-Eastern:20090302T090000
RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest5
SUMMARY:Everyday in January, for 2 years
DTSTART;TZID=US-Eastern:20090101T090000
RRULE:FREQ=YEARLY;UNTIL=20110131T090000Z;BYMONTH=1;BYDAY=SU,MO,TU,WE,TH,FR,SA
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest6
SUMMARY:Weekly for 10 occurrences
DTSTART;TZID=US-Eastern:20090102T090000
RRULE:FREQ=WEEKLY;COUNT=10
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest7
SUMMARY:Weekly on Tuesday and Thursday for 5 weeks
DTSTART;TZID=US-Eastern:20090902T090000
RRULE:FREQ=WEEKLY;UNTIL=20091007T000000Z;WKST=SU;BYDAY=TU,TH
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest8
SUMMARY:Every other week on Monday, Wednesday and Friday until December 24, 2009:
DTSTART;TZID=US-Eastern:20090502T090000
RRULE:FREQ=WEEKLY;INTERVAL=2;UNTIL=20091224T000000Z;WKST=SU;BYDAY=MO,WE,FR
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest9
SUMMARY:Every other week on Tuesday and Thursday, for 8 occurrences
DTSTART;TZID=US-Eastern:20090702T090000
RRULE:FREQ=WEEKLY;INTERVAL=2;COUNT=8;WKST=SU;BYDAY=TU,TH
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest10
SUMMARY:Monthly on the 1st Friday for ten occurrences
DTSTART;TZID=US-Eastern:20090905T090000
RRULE:FREQ=MONTHLY;COUNT=10;BYDAY=1FR
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest11
SUMMARY:Monthly on the 1st Friday until December 24, 2009
DTSTART;TZID=US-Eastern:20090905T090000
RRULE:FREQ=MONTHLY;UNTIL=20091224T000000Z;BYDAY=1FR
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest12
SUMMARY:Every other month on the 1st and last Sunday of the month for 10 occurrences
DTSTART;TZID=US-Eastern:20090907T090000
RRULE:FREQ=MONTHLY;INTERVAL=2;COUNT=10;BYDAY=1SU,-1SU
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest13
SUMMARY:Monthly on the second to last Monday of the month for 6 months
DTSTART;TZID=US-Eastern:20090119T090000
RRULE:FREQ=MONTHLY;COUNT=6;BYDAY=-2MO
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest14
SUMMARY:Monthly on the third to the last day of the month
DTSTART;TZID=US-Eastern:20090928T090000
RRULE:FREQ=MONTHLY;BYMONTHDAY=-3
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest15
SUMMARY:Monthly on the 2nd and 15th of the month for 10 occurrences
DTSTART;TZID=US-Eastern:20090202T090000
RRULE:FREQ=MONTHLY;COUNT=10;BYMONTHDAY=2,15
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest16
SUMMARY:Monthly on the first and last day of the month for 10 occurrences
DTSTART;TZID=US-Eastern:20090130T090000
RRULE:FREQ=MONTHLY;COUNT=10;BYMONTHDAY=1,-1
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest17
SUMMARY:Every 3 months on the 10th thru 15th of the month for 10 occurrences
DTSTART;TZID=US-Eastern:20090410T090000
RRULE:FREQ=MONTHLY;INTERVAL=3;COUNT=10;BYMONTHDAY=10,11,12,13,14,15
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest18
SUMMARY:Every Tuesday, every other month
DTSTART;TZID=US-Eastern:20090602T090000
RRULE:FREQ=MONTHLY;INTERVAL=2;BYDAY=TU
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest19
SUMMARY:Yearly in June and July for 10 occurrences
DTSTART;TZID=US-Eastern:20090610T090000
RRULE:FREQ=YEARLY;COUNT=10;BYMONTH=6,7
END:VEVENT
BEGIN:VEVENT
UID:iCalRRuleTest20
SUMMARY:Every Thursday in March
DTSTART;TZID=US-Eastern:20090305T090000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=TH
END:VEVENT
END:VCALENDAR