aboutsummaryrefslogtreecommitdiffstats
path: root/libical/test-data/recur.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libical/test-data/recur.txt')
-rw-r--r--libical/test-data/recur.txt632
1 files changed, 632 insertions, 0 deletions
diff --git a/libical/test-data/recur.txt b/libical/test-data/recur.txt
new file mode 100644
index 0000000000..8c977b3c05
--- /dev/null
+++ b/libical/test-data/recur.txt
@@ -0,0 +1,632 @@
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily for 10 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily until December 24\, 1997:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;UNTIL=19971224T000000Z;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every other day - forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=2
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 10 days\, 5 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=5;INTERVAL=10
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily for 10 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily until December 24\, 1997:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;UNTIL=19971224T000000Z;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every other day - forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=2
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 10 days\, 5 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=5;INTERVAL=10
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily for 10 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily until December 24\, 1997:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;UNTIL=19971224T000000Z;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every other day - forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=2
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 10 days\, 5 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=5;INTERVAL=10
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily for 10 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily until December 24\, 1997:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;UNTIL=19971224T000000Z;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every other day - forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=2
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 10 days\, 5 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=5;INTERVAL=10
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily for 10 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily until December 24\, 1997:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;UNTIL=19971224T000000Z;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every other day - forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=2
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 10 days\, 5 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=5;INTERVAL=10
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily for 10 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily until December 24\, 1997:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;UNTIL=19971224T000000Z;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every other day - forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=2
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 10 days\, 5 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=5;INTERVAL=10
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily for 10 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily until December 24\, 1997:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;UNTIL=19971224T000000Z;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every other day - forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=2
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 10 days\, 5 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=5;INTERVAL=10
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily for 10 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Daily until December 24\, 1997:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;UNTIL=19971224T000000Z;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every other day - forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=10;INTERVAL=2
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 10 days\, 5 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;COUNT=5;INTERVAL=10
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Everyday in January\, for 3 years
+DTSTART
+ ;TZID=US-Eastern
+ :19980101T090000
+RRULE
+ :FREQ=YEARLY;UNTIL=20000131T090000Z;INTERVAL=1;BYDAY=SU,MO,TU,WE,TH,FR,SA;BYMONTH=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Everyday in January\, for 3 years:
+DTSTART
+ ;TZID=US-Eastern
+ :19980101T090000
+RRULE
+ :FREQ=DAILY;UNTIL=20000131T090000Z;INTERVAL=1;BYMONTH=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Weekly for 10 occurrences
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=WEEKLY;COUNT=10;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Weekly until December 24\, 1997
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=WEEKLY;UNTIL=19971224T000000Z;INTERVAL=1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every other week - forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=WEEKLY;INTERVAL=2
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Weekly on Tuesday and Thursday for 5 weeks:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=WEEKLY;UNTIL=19971007T000000Z;INTERVAL=1;BYDAY=TU,TH
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Weekly on Tuesday and Thursday for 5 weeks:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=WEEKLY;COUNT=10;INTERVAL=1;BYDAY=TU,TH
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every other week on Monday\, Wednesday and Friday until December
+ 24\,1997\, but starting on Tuesday\, September 2\, 1997:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+X-LIC-ERROR
+ ;X-LIC-ERRORTYPE=VALUE_PARSE_ERROR
+ :Can't parse as RECUR value in RRULE property. Removing entire property:
+ 'FREQ=WEEKLY\;INTERVAL=2\;UNTIL=19971224T000000Z\;WKST=SU\;'
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every other week on Tuesday and Thursday\, for 8 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=WEEKLY;COUNT=8;INTERVAL=2;BYDAY=TU,TH
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Monthly on the 1st Friday for ten occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970905T090000
+RRULE
+ :FREQ=MONTHLY;COUNT=10;INTERVAL=1;BYDAY=FR
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Monthly on the 1st Friday until December 24\, 1997:
+DTSTART
+ ;TZID=US-Eastern
+ :19970905T090000
+RRULE
+ :FREQ=MONTHLY;UNTIL=19971224T000000Z;INTERVAL=1;BYDAY=FR
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every other month on the 1st and last Sunday of the month for 10 occurrences
+ :
+DTSTART
+ ;TZID=US-Eastern
+ :19970907T090000
+X-LIC-ERROR
+ ;X-LIC-ERRORTYPE=VALUE_PARSE_ERROR
+ :Can't parse as RECUR value in RRULE property. Removing entire property:
+ 'FREQ=MONTHLY\;INTERVAL=2\;COUNT=10\;BYDAY=1SU\,-1SU'
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Monthly on the second to last Monday of the month for 6 months:
+DTSTART
+ ;TZID=US-Eastern
+ :19970922T090000
+RRULE
+ :FREQ=MONTHLY;COUNT=6;INTERVAL=1;BYDAY=MO
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Monthly on the third to the last day of the month\, forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970928T090000
+RRULE
+ :FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=-3
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Monthly on the 2nd and 15th of the month for 10 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=MONTHLY;COUNT=10;INTERVAL=1;BYMONTHDAY=2,15
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Monthly on the first and last day of the month for 10 occurrences:\nDTSTART
+ \;TZID=US-Eastern:19970930T090000
+RRULE
+ :FREQ=MONTHLY;COUNT=10;INTERVAL=1;BYMONTHDAY=1,-1
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 18 months on the 10th thru 15th of the month for 10 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970910T090000
+RRULE
+ :FREQ=MONTHLY;COUNT=10;INTERVAL=18;BYMONTHDAY=10,11,12,13,14,15
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every Tuesday\, every other month:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=MONTHLY;INTERVAL=2;BYDAY=TH
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Yearly in June and July for 10 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970610T090000
+RRULE
+ :FREQ=YEARLY;COUNT=10;INTERVAL=1;BYMONTH=6,7
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every other year on January\, February\, and March for 10 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970310T090000
+RRULE
+ :FREQ=YEARLY;COUNT=10;INTERVAL=2;BYMONTH=1,2,3
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 3rd year on the 1st\, 100th and 200th day for 10 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970101T090000
+RRULE
+ :FREQ=YEARLY;COUNT=10;INTERVAL=3;BYYEARDAY=1,100,200
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 20th Monday of the year\, forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970519T090000
+RRULE
+ :FREQ=YEARLY;INTERVAL=1;BYDAY=MO
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Monday of week number 20 (where the default start of the week is Monday)\,
+ forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970512T090000
+RRULE
+ :FREQ=YEARLY;INTERVAL=1;BYDAY=MO;BYWEEKNO=20
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every Thursday in March\, forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970313T090000
+RRULE
+ :FREQ=YEARLY;INTERVAL=1;BYDAY=TH;BYMONTH=3
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every Thursday\, but only during June\, July\, and August\, forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970605T090000
+RRULE
+ :FREQ=YEARLY;INTERVAL=1;BYDAY=TH;BYMONTH=6,7,8
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every Friday the 13th\, forever:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=MONTHLY;INTERVAL=1;BYDAY=FR;BYMONTHDAY=13
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :The first Saturday that follows the first Sunday of the month\,
+DTSTART
+ ;TZID=US-Eastern
+ :19970913T090000
+RRULE
+ :FREQ=MONTHLY;INTERVAL=1;BYDAY=SA;BYMONTHDAY=7,8,9,10,11,12,13
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :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;BYDAY=TU;BYMONTHDAY=2,3,4,5,6,7,8;BYMONTH=11
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :The 3rd instance into the month of one of Tuesday\, Wednesday or
+ Thursday\, for the next 3 months:
+DTSTART
+ ;TZID=US-Eastern
+ :19970904T090000
+RRULE
+ :FREQ=MONTHLY;COUNT=3;INTERVAL=1;BYDAY=TU,WE,TH;BYSETPOS=3
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :The 2nd to last weekday of the month:
+DTSTART
+ ;TZID=US-Eastern
+ :19970929T090000
+RRULE
+ :FREQ=MONTHLY;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-2
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 3 hours from 9:00 AM to 5:00 PM on a specific day:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=HOURLY;UNTIL=19970902T170000Z;INTERVAL=3
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 15 minutes for 6 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=MINUTELY;COUNT=6;INTERVAL=15
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every hour and a half for 4 occurrences:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=MINUTELY;COUNT=4;INTERVAL=90
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 20 minutes from 9:00 AM to 4:40 PM every day:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=DAILY;INTERVAL=1;BYMINUTE=0,20,40;BYHOUR=9,10,11,12,13,14,15,16
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :Every 20 minutes from 9:00 AM to 4:40 PM every day:
+DTSTART
+ ;TZID=US-Eastern
+ :19970902T090000
+RRULE
+ :FREQ=MINUTELY;INTERVAL=20;BYHOUR=9,10,11,12,13,14,15,16
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :An example where the days generated makes a difference because of
+ WKST:
+DTSTART
+ ;TZID=US-Eastern
+ :19970805T090000
+RRULE
+ :FREQ=WEEKLY;COUNT=4;INTERVAL=2;BYDAY=TU,SU
+END:VEVENT
+BEGIN:VEVENT
+DESCRIPTION
+ :An example where the days generated makes a difference because of
+ WKST. Changing only WKST from MO to SU
+DESCRIPTION
+ : yields different results...
+DTSTART
+ ;TZID=US-Eastern
+ :19970805T090000
+RRULE
+ :FREQ=WEEKLY;COUNT=4;INTERVAL=2;BYDAY=TU,SU
+END:VEVENT