diff options
Diffstat (limited to 'libkcal/tests/data/RecurrenceRule/RFC2445/2445AllExamples.ics.saved')
-rw-r--r-- | libkcal/tests/data/RecurrenceRule/RFC2445/2445AllExamples.ics.saved | 367 |
1 files changed, 367 insertions, 0 deletions
diff --git a/libkcal/tests/data/RecurrenceRule/RFC2445/2445AllExamples.ics.saved b/libkcal/tests/data/RecurrenceRule/RFC2445/2445AllExamples.ics.saved new file mode 100644 index 000000000..51d9ebfe8 --- /dev/null +++ b/libkcal/tests/data/RecurrenceRule/RFC2445/2445AllExamples.ics.saved @@ -0,0 +1,367 @@ +BEGIN:VCALENDAR +CALSCALE:GREGORIAN +METHOD:PUBLISH +PRODID:-//Cyrusoft International\, Inc.//Mulberry v4.0//EN +VERSION:2.0 +BEGIN:VTIMEZONE +LAST-MODIFIED:20040110T032845Z +TZID:US-Eastern +BEGIN:DAYLIGHT +DTSTART:19900404T010000 +RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 +TZNAME:EDT +TZOFFSETFROM:-0500 +TZOFFSETTO:-0400 +END:DAYLIGHT +BEGIN:STANDARD +DTSTART:19901026T060000 +RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 +TZNAME:EST +TZOFFSETFROM:-0400 +TZOFFSETTO:-0500 +END:STANDARD +END:VTIMEZONE +BEGIN:VEVENT +DESCRIPTION:Daily for 10 occurrences: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=DAILY;COUNT=10 +SUMMARY:RExample01 +UID:RExample01 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Daily until Dec\, 24 1997 +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=DAILY;UNTIL=19971224T000000Z +SUMMARY:RExample02 +UID:RExample02 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every other day - forever: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=DAILY;INTERVAL=2 +SUMMARY:RExample03 +UID:RExample03 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every 10 days\, 5 occurrences: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=DAILY;COUNT=5;INTERVAL=10 +SUMMARY:RExample04 +UID:RExample04 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Everyday in January\, for 3 years: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19980101T090000 +RRULE:FREQ=YEARLY;UNTIL=20000131T090000Z;BYDAY=SU,MO,TU,WE,TH,FR,SA;BYMONT + H=1 +SUMMARY:RExample05a +UID:RExample05a +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Everyday in January\, for 3 years: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19980101T090000 +RRULE:FREQ=DAILY;UNTIL=20000131T090000Z;BYMONTH=1 +SUMMARY:RExample05b +UID:RExample05b +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Weekly for 10 occurrences +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=WEEKLY;COUNT=10 +SUMMARY:RExample06 +UID:RExample06 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Weekly until December 24\, 1997 +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=WEEKLY;UNTIL=19971224T000000Z +SUMMARY:RExample07 +UID:RExample07 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every other week - forever: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=WEEKLY;INTERVAL=2;WKST=SU +SUMMARY:RExample08 +UID:RExample08 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Weekly on Tuesday and Thursday for 5 weeks: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=WEEKLY;UNTIL=19971007T000000Z;BYDAY=TU,TH;WKST=SU +SUMMARY:RExample09a +UID:RExample09a +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Weekly on Tuesday and Thursday for 5 weeks: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=WEEKLY;COUNT=10;BYDAY=TU,TH;WKST=SU +SUMMARY:RExample09b +UID:RExample09b +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every other week on Monday\, Wednesday and Friday until Decemb + er 24\,1997\, but starting on Tuesday\, September 2\, 1997: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=WEEKLY;UNTIL=19971224T000000Z;INTERVAL=2;BYDAY=MO,WE,FR;WKST=SU +SUMMARY:RExample10 +UID:RExample10 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every other week on Tuesday and Thursday\, for 8 occurrences: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=WEEKLY;COUNT=8;INTERVAL=2;BYDAY=TU,TH;WKST=SU +SUMMARY:RExample11 +UID:RExample11 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Monthly on the 1st Friday for ten occurrences: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970905T090000 +RRULE:FREQ=MONTHLY;COUNT=10;BYDAY=1FR +SUMMARY:RExample12 +UID:RExample12 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Monthly on the 1st Friday until December 24\, 1997: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970905T090000 +RRULE:FREQ=MONTHLY;UNTIL=19971224T000000Z;BYDAY=1FR +SUMMARY:RExample13 +UID:RExample13 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every other month on the 1st and last Sunday of the month for + 10occurrences: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970907T090000 +RRULE:FREQ=MONTHLY;COUNT=10;INTERVAL=2;BYDAY=1SU,-1SU +SUMMARY:RExample14 +UID:RExample14 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Monthly on the second to last Monday of the month for 6 months + : +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970922T090000 +RRULE:FREQ=MONTHLY;COUNT=6;BYDAY=-2MO +SUMMARY:RExample15 +UID:RExample15 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Monthly on the third to the last day of the month\, forever: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970928T090000 +RRULE:FREQ=MONTHLY;BYMONTHDAY=-3 +SUMMARY:RExample16 +UID:RExample16 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Monthly on the 2nd and 15th of the month for 10 occurrences: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=MONTHLY;COUNT=10;BYMONTHDAY=2,15 +SUMMARY:RExample17 +UID:RExample17 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Monthly on the first and last day of the month for 10 occurren + ces: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970930T090000 +RRULE:FREQ=MONTHLY;COUNT=10;BYMONTHDAY=1,-1 +SUMMARY:RExample18 +UID:RExample18 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every 18 months on the 10th thru 15th of the month for 10 occu + rrences: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970910T090000 +RRULE:FREQ=MONTHLY;COUNT=10;INTERVAL=18;BYMONTHDAY=10,11,12,13,14,15 +SUMMARY:RExample19 +UID:RExample19 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every Tuesday\, every other month: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=MONTHLY;INTERVAL=2;BYDAY=TU +SUMMARY:RExample20 +UID:RExample20 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Yearly in June and July for 10 occurrences: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970610T090000 +RRULE:FREQ=YEARLY;COUNT=10;BYMONTH=6,7 +SUMMARY:RExample21 +UID:RExample21 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every other year on January\, February\, and March for 10 occu + rrences: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970310T090000 +RRULE:FREQ=YEARLY;COUNT=10;INTERVAL=2;BYMONTH=1,2,3 +SUMMARY:RExample22 +UID:RExample22 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every 3rd year on the 1st\, 100th and 200th day for 10 occurre + nces: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970101T090000 +RRULE:FREQ=YEARLY;COUNT=10;INTERVAL=3;BYYEARDAY=1,100,200 +SUMMARY:RExample23 +UID:RExample23 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every 20th Monday of the year\, forever: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970519T090000 +RRULE:FREQ=YEARLY;BYDAY=20MO +SUMMARY:RExample24 +UID:RExample24 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Monday of week number 20 (where the default start of the week + isMonday)\, forever: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970512T090000 +RRULE:FREQ=YEARLY;BYDAY=MO;BYWEEKNO=20 +SUMMARY:RExample25 +UID:RExample25 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every Thursday in March\, forever: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970313T090000 +RRULE:FREQ=YEARLY;BYDAY=TH;BYMONTH=3 +SUMMARY:RExample26 +UID:RExample26 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every Thursday\, but only during June\, July\, and August\, fo + rever: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970605T090000 +RRULE:FREQ=YEARLY;BYDAY=TH;BYMONTH=6,7,8 +SUMMARY:RExample27 +UID:RExample27 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every Friday the 13th\, forever: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +EXDATE;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=MONTHLY;BYDAY=FR;BYMONTHDAY=13 +SUMMARY:RExample28 +UID:RExample28 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:The first Saturday that follows the first Sunday of the month\ + , forever: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970913T090000 +RRULE:FREQ=MONTHLY;BYDAY=SA;BYMONTHDAY=7,8,9,10,11,12,13 +SUMMARY:RExample29 +UID:RExample29 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every four years\, the first Tuesday after a Monday in Novembe + r\,forever (U.S. Presidential Election day): +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19961105T090000 +RRULE:FREQ=YEARLY;INTERVAL=4;BYDAY=TU;BYMONTHDAY=2,3,4,5,6,7,8;BYMONTH=11 +SUMMARY:RExample30 +UID:RExample30 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:The 3rd instance into the month of one of Tuesday\, Wednesday + orThursday\, for the next 3 months: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970904T090000 +RRULE:FREQ=MONTHLY;COUNT=3;BYDAY=TU,WE,TH;BYSETPOS=3 +SUMMARY:RExample31 +UID:RExample31 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:The 2nd to last weekday of the month: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970929T090000 +RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-2 +SUMMARY:RExample32 +UID:RExample32 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every 3 hours from 9:00 AM to 5:00 PM on a specific day: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=HOURLY;UNTIL=19970902T170000Z;INTERVAL=3 +SUMMARY:RExample33 +UID:RExample33 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every 15 minutes for 6 occurrences: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=MINUTELY;COUNT=6;INTERVAL=15 +SUMMARY:RExample34 +UID:RExample34 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every hour and a half for 4 occurrences: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=MINUTELY;COUNT=4;INTERVAL=90 +SUMMARY:RExample35 +UID:RExample35 +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every 20 minutes from 9:00 AM to 4:40 PM every day: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=DAILY;BYMINUTE=0,20,40;BYHOUR=9,10,11,12,13,14,15,16 +SUMMARY:RExample36a +UID:RExample36a +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Every 20 minutes from 9:00 AM to 4:40 PM every day: +DTSTAMP:20040102T053656Z +DTSTART;TZID=US-Eastern:19970902T090000 +RRULE:FREQ=MINUTELY;INTERVAL=20;BYHOUR=9,10,11,12,13,14,15,16 +SUMMARY:RExample36b +UID:RExample36b +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:An example where the days generated makes a difference because + of WKST: +DTSTAMP:20040102T053656Z +DTSTART;VALUE=DATE:19970805 +RRULE:FREQ=WEEKLY;COUNT=4;INTERVAL=2;BYDAY=TU,SU +SUMMARY:RExample37a +UID:RExample37a +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:changing only WKST from MO to SU\, yields different results... +DTSTAMP:20040102T053656Z +DTSTART;VALUE=DATE:19970805 +RRULE:FREQ=WEEKLY;COUNT=4;INTERVAL=2;BYDAY=TU,SU;WKST=SU +SUMMARY:RExample37b +UID:RExample37b +END:VEVENT +END:VCALENDAR |