Warning, /frameworks/kcalendarcore/autotests/data/RecurrenceRule/LibICal/recur.ics.saved is written in an unsupported language. File is not indexed.

0001 BEGIN:VEVENT 
0002 DESCRIPTION:Repeat every tuesday and wednesday starting Tue 2nd April 2002
0003 RRULE:FREQ=WEEKLY;INTERVAL=1;COUNT=6;BYDAY=TU,WE
0004 DTSTART:20020402T114500
0005 DTEND:20020402T124500
0006 X-EXPECT-NUMEVENTS: 6
0007 END:VEVENT
0008 
0009 BEGIN:VEVENT
0010 DESCRIPTION:Repeat every thursday starting Tue 2nd April 2002 
0011 RRULE:FREQ=WEEKLY;INTERVAL=1;COUNT=6;BYDAY=TH 
0012 DTSTART:20020402T114500 
0013 DTEND:20020402T124500 
0014 X-EXPECT-NUMEVENTS: 6 
0015 END:VEVENT 
0016 
0017 
0018 BEGIN:VEVENT
0019 DESCRIPTION:Every year on the same day\, forever
0020 RRULE:FREQ=YEARLY;INTERVAL=1
0021 DTSTART:19990201T172000
0022 DTEND:19990201T182000
0023 X-EXPECT-NUMEVENTS: 39
0024 END:VEVENT
0025 
0026 BEGIN:VEVENT
0027 DESCRIPTION:Monday of week number 20 (where the default start of the week is Monday)\, 
0028  forever:
0029 DTSTART;TZID=America/Los_Angeles:19970512T090000
0030 RRULE:FREQ=YEARLY;INTERVAL=1;COUNT=10;BYDAY=MO;BYWEEKNO=20
0031 X-EXPECT-NUMEVENTS: 10
0032 END:VEVENT
0033 
0034 
0035 BEGIN:VEVENT
0036 DESCRIPTION: Once a Year
0037 DTSTART;TZID=America/Los_Angeles:20010205T090000
0038 RRULE:FREQ=YEARLY;INTERVAL=1
0039 X-EXPECT-NUMEVENTS: 37
0040 END:VEVENT
0041 
0042 BEGIN:VEVENT
0043 DESCRIPTION:Recur every sunday and tuesday
0044 RRULE:FREQ=WEEKLY;COUNT=10;INTERVAL=1;BYDAY=SU,TU
0045 DTSTART:20011216T192500
0046 DTEND:20011216T202500
0047 X-EXPECT-NUMEVENTS: 10
0048 END:VEVENT
0049 
0050 BEGIN:VEVENT
0051 DESCRIPTION:Every first tuesday of the month
0052 RRULE:FREQ=MONTHLY;INTERVAL=1;COUNT=3;BYDAY=1TU
0053 DTSTART:20011204T153500
0054 DTEND:20011204T163500
0055 X-EXPECT-NUMEVENTS: 3
0056 END:VEVENT
0057 
0058 BEGIN:VEVENT
0059 DESCRIPTION:Daily for 10 occurrences:
0060 DTSTART;TZID=America/Los_Angeles:19970902T090000
0061 RRULE:FREQ=DAILY;COUNT=10;INTERVAL=1
0062 X-EXPECT-NUMEVENTS: 10
0063 END:VEVENT
0064 
0065 BEGIN:VEVENT
0066 DESCRIPTION:Daily until December 24\, 1997:
0067 DTSTART;TZID=America/Los_Angeles:19971215T090000
0068 RRULE:FREQ=DAILY;UNTIL=19971224T000000Z;INTERVAL=1
0069 X-EXPECT-NUMEVENTS: 9
0070 END:VEVENT
0071 
0072 BEGIN:VEVENT
0073 DESCRIPTION:Every other day - forever:
0074 DTSTART;TZID=America/Los_Angeles:19970902T090000
0075 RRULE:FREQ=DAILY;COUNT=10;INTERVAL=2
0076 X-EXPECT-NUMEVENTS: 10
0077 END:VEVENT
0078 
0079 BEGIN:VEVENT
0080 DESCRIPTION:Every 10 days\, 5 occurrences:
0081 DTSTART;TZID=America/Los_Angeles:19970902T090000
0082 RRULE:FREQ=DAILY;COUNT=5;INTERVAL=10
0083 X-EXPECT-NUMEVENTS: 5
0084 END:VEVENT
0085 
0086 BEGIN:VEVENT
0087 DESCRIPTION:Daily for 10 occurrences:
0088 DTSTART;TZID=America/Los_Angeles:19970902T090000
0089 RRULE:FREQ=DAILY;COUNT=10;INTERVAL=1
0090 X-EXPECT-NUMEVENTS: 10
0091 END:VEVENT
0092 
0093 BEGIN:VEVENT
0094 DESCRIPTION:Every day in January\, for 3 years
0095 DTSTART;TZID=America/Los_Angeles:19980101T090000
0096 RRULE:FREQ=YEARLY;UNTIL=20000131T090000Z;INTERVAL=1;BYDAY=SU,MO,TU,WE,TH,FR,SA;BYMONTH=1
0097 X-EXPECT-NUMEVENTS: 93
0098 END:VEVENT
0099 
0100 BEGIN:VEVENT
0101 DESCRIPTION:Everyday in January\, for 3 years:
0102 DTSTART;TZID=America/Los_Angeles:19980101T090000
0103 RRULE:FREQ=DAILY;UNTIL=20000131T090000Z;INTERVAL=1;BYMONTH=1
0104 X-EXPECT-NUMEVENTS: 93
0105 END:VEVENT
0106 
0107 BEGIN:VEVENT
0108 DESCRIPTION:Repeat every tuesday and wednesday starting Tue 2nd April 2002
0109 RRULE:FREQ=WEEKLY;INTERVAL=1;COUNT=6;BYDAY=TU,WE
0110 DTSTART:20020402T114500
0111 DTEND:20020402T124500
0112 X-EXPECT-NUMEVENTS: 6
0113 END:VEVENT
0114 
0115 BEGIN:VEVENT
0116 DESCRIPTION:Every Day start the first day in  January\, except saturday and sunday. This should be up to March.
0117 RRULE:FREQ=DAILY;COUNT=50;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR
0118 DTSTART:20020101T090000Z
0119 X-EXPECT-NUMEVENTS: 50 
0120 END:VEVENT
0121 
0122 BEGIN:VEVENT
0123 DESCRIPTION:Every Day in January\, but only in Tuesday\, Wednesday and Thursday 
0124 RRULE:FREQ=DAILY;UNTIL=20020120T090000Z;INTERVAL=1;BYDAY=TU,WE,TH
0125 DTSTART:20020101T090000Z
0126 X-EXPECT-NUMEVENTS: 9
0127 END:VEVENT
0128 
0129 BEGIN:VEVENT
0130 DESCRIPTION:Every Day in January\, except saturday and sunday. This is MS Outlook every weekday case.
0131 RRULE:FREQ=DAILY;UNTIL=20020120T090000Z;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR;WKST=SU
0132 DTSTART:20020101T090000Z
0133 X-EXPECT-NUMEVENTS: 14
0134 END:VEVENT
0135 
0136 
0137 BEGIN:VEVENT
0138 DESCRIPTION:Weekly for 10 occurrences
0139 DTSTART;TZID=America/Los_Angeles:19970902T090000
0140 RRULE:FREQ=WEEKLY;COUNT=10;INTERVAL=1
0141 X-EXPECT-NUMEVENTS: 10
0142 END:VEVENT
0143 
0144 BEGIN:VEVENT
0145 DESCRIPTION:Weekly until December 24\, 1997
0146 DTSTART;TZID=America/Los_Angeles:19970902T090000
0147 RRULE:FREQ=WEEKLY;UNTIL=19971224T000000Z;INTERVAL=1
0148 X-EXPECT-NUMEVENTS: 17
0149 END:VEVENT
0150 
0151 BEGIN:VEVENT
0152 DESCRIPTION:Every other week - 10 times:
0153 DTSTART;TZID=America/Los_Angeles:19970902T090000
0154 RRULE:FREQ=WEEKLY;INTERVAL=2;COUNT=10
0155 X-EXPECT-NUMEVENTS: 10
0156 END:VEVENT
0157 
0158 BEGIN:VEVENT
0159 DESCRIPTION:Weekly on Tuesday and Thursday for 5 weeks:
0160 DTSTART;TZID=America/Los_Angeles:19970902T090000
0161 RRULE:FREQ=WEEKLY;UNTIL=19971007T000000Z;INTERVAL=1;BYDAY=TU,TH
0162 X-EXPECT-NUMEVENTS: 10
0163 END:VEVENT
0164 
0165 BEGIN:VEVENT
0166 DESCRIPTION:Weekly on Tuesday and Thursday for 5 weeks:
0167 DTSTART;TZID=America/Los_Angeles:19970902T090000
0168 RRULE:FREQ=WEEKLY;COUNT=10;INTERVAL=1;BYDAY=TU,TH
0169 X-EXPECT-NUMEVENTS: 10
0170 END:VEVENT
0171 
0172 BEGIN:VEVENT
0173 DESCRIPTION:Every other week on Monday\, Wednesday and Friday until December 
0174  24\,1997\, but starting on Tuesday\, September 2\, 1997:
0175 DTSTART;TZID=America/Los_Angeles:19970902T090000
0176 RRULE:FREQ=WEEKLY;INTERVAL=2;UNTIL=19971224T000000Z;BYDAY=MO,WE,FR;WKST=SU
0177 X-EXPECT-NUMEVENTS: 24
0178 END:VEVENT
0179 
0180 BEGIN:VEVENT
0181 DESCRIPTION:Every other week on Tuesday and Thursday\, for 8 occurrences:
0182 DTSTART;TZID=America/Los_Angeles:19970902T090000
0183 RRULE:FREQ=WEEKLY;COUNT=8;INTERVAL=2;BYDAY=TU,TH
0184 X-EXPECT-NUMEVENTS: 8
0185 END:VEVENT
0186 
0187 
0188 BEGIN:VEVENT
0189 DESCRIPTION:Monthly on the 1st Friday for ten occurrences:
0190 DTSTART;TZID=America/Los_Angeles:19970905T090000
0191 RRULE:FREQ=MONTHLY;COUNT=10;INTERVAL=1;BYDAY=FR
0192 X-EXPECT-NUMEVENTS: 10
0193 END:VEVENT
0194 
0195 BEGIN:VEVENT
0196 DESCRIPTION:Monthly on the 1st Friday until December 24\, 1997:
0197 DTSTART;TZID=America/Los_Angeles:19970905T090000
0198 RRULE:FREQ=MONTHLY;UNTIL=19971224T000000Z;INTERVAL=1;BYDAY=1FR
0199 X-EXPECT-NUMEVENTS: 4
0200 END:VEVENT
0201 
0202 BEGIN:VEVENT
0203 DESCRIPTION:Every other month on the 1st and last Sunday of the month for 10 occurrences:
0204 DTSTART;TZID=America/Los_Angeles:19970907T090000
0205 RRULE:FREQ=MONTHLY;INTERVAL=2;COUNT=10;BYDAY=1SU,-1SU
0206 X-EXPECT-NUMEVENTS: 10
0207 END:VEVENT
0208 
0209 BEGIN:VEVENT
0210 DESCRIPTION:Monthly on the second to last Monday of the month for 6 months:
0211 DTSTART;TZID=America/Los_Angeles:19970922T090000
0212 RRULE:FREQ=MONTHLY;COUNT=6;INTERVAL=1;BYDAY=-2MO
0213 X-EXPECT-NUMEVENTS: 6
0214 END:VEVENT
0215 
0216 BEGIN:VEVENT
0217 DESCRIPTION:Monthly on the third to the last day of the month\, forever:
0218 DTSTART;TZID=America/Los_Angeles:19970928T090000
0219 RRULE:FREQ=MONTHLY;INTERVAL=1;COUNT=10;BYMONTHDAY=-3
0220 X-EXPECT-NUMEVENTS: 10
0221 END:VEVENT
0222 
0223 BEGIN:VEVENT
0224 DESCRIPTION:Monthly on the 2nd and 15th of the month for 10 occurrences:
0225 DTSTART;TZID=America/Los_Angeles:19970902T090000
0226 RRULE:FREQ=MONTHLY;COUNT=10;INTERVAL=1;BYMONTHDAY=2,15
0227 X-EXPECT-NUMEVENTS: 10
0228 END:VEVENT
0229 
0230 BEGIN:VEVENT
0231 DESCRIPTION:Monthly on the first and last day of the month for 10 occurrences:\n
0232 DTSTART;TZID=America/Los_Angeles:19970930T090000
0233 RRULE:FREQ=MONTHLY;COUNT=10;INTERVAL=1;BYMONTHDAY=1,-1
0234 X-EXPECT-NUMEVENTS: 10
0235 END:VEVENT
0236 
0237 BEGIN:VEVENT
0238 DESCRIPTION:Every 18 months on the 10th thru 15th of the month for 10 occurrences:
0239 DTSTART;TZID=America/Los_Angeles:19970910T090000
0240 RRULE:FREQ=MONTHLY;COUNT=10;INTERVAL=18;BYMONTHDAY=10,11,12,13,14,15
0241 X-EXPECT-NUMEVENTS: 10
0242 END:VEVENT
0243 
0244 BEGIN:VEVENT
0245 DESCRIPTION:Every Tuesday\, every other month:
0246 DTSTART;TZID=America/Los_Angeles:19970902T090000
0247 RRULE:FREQ=MONTHLY;INTERVAL=2;COUNT=10;BYDAY=TU
0248 X-EXPECT-NUMEVENTS: 10
0249 END:VEVENT
0250 
0251 BEGIN:VEVENT
0252 DESCRIPTION:Yearly in June and July for 10 occurrences:
0253 DTSTART;TZID=America/Los_Angeles:19970610T090000
0254 RRULE:FREQ=YEARLY;COUNT=10;INTERVAL=1;BYMONTH=6,7
0255 X-EXPECT-NUMEVENTS: 10
0256 END:VEVENT
0257 
0258 BEGIN:VEVENT
0259 DESCRIPTION:Every other year on January\, February\, and March for 10 occurrences:
0260 DTSTART;TZID=America/Los_Angeles:19970310T090000
0261 RRULE:FREQ=YEARLY;COUNT=10;INTERVAL=2;BYMONTH=1,2,3
0262 X-EXPECT-NUMEVENTS: 10
0263 END:VEVENT
0264 
0265 BEGIN:VEVENT
0266 DESCRIPTION:Every 3rd year on the 1st\, 100th and 200th day for 10 occurrences:
0267 DTSTART;TZID=America/Los_Angeles:19970101T090000
0268 RRULE:FREQ=YEARLY;COUNT=10;INTERVAL=3;BYYEARDAY=1,100,200
0269 X-EXPECT-NUMEVENTS: 10
0270 END:VEVENT
0271 
0272 BEGIN:VEVENT
0273 DESCRIPTION:Every 20th Monday of the year\, forever:
0274 DTSTART;TZID=America/Los_Angeles:19970519T090000
0275 RRULE:FREQ=YEARLY;INTERVAL=1;COUNT=10;BYDAY=20MO
0276 X-EXPECT-NUMEVENTS: 10
0277 END:VEVENT
0278 
0279 BEGIN:VEVENT
0280 DESCRIPTION:Monday of week number 20 (where the default start of the week is Monday)\, 
0281  forever:
0282 DTSTART;TZID=America/Los_Angeles:19970512T090000
0283 RRULE:FREQ=YEARLY;INTERVAL=1;COUNT=10;BYDAY=MO;BYWEEKNO=20
0284 X-EXPECT-NUMEVENTS: 10
0285 END:VEVENT
0286 
0287 
0288 BEGIN:VEVENT
0289 DESCRIPTION:Every Thursday in March\, forever:
0290 DTSTART;TZID=America/Los_Angeles:19970313T090000
0291 RRULE:FREQ=YEARLY;INTERVAL=1;COUNT=10;BYDAY=TH;BYMONTH=3
0292 X-EXPECT-NUMEVENTS: 10
0293 END:VEVENT
0294 
0295 BEGIN:VEVENT
0296 DESCRIPTION:Every Thursday\, but only during June\, July\, and August\, forever:
0297 DTSTART;TZID=America/Los_Angeles:19970605T090000
0298 RRULE:FREQ=YEARLY;INTERVAL=1;COUNT=10;BYDAY=TH;BYMONTH=6,7,8
0299 X-EXPECT-NUMEVENTS: 10
0300 END:VEVENT
0301 
0302 BEGIN:VEVENT
0303 DESCRIPTION:Every Friday the 13th\, forever:
0304 DTSTART;TZID=America/Los_Angeles:19970902T090000
0305 RRULE:FREQ=MONTHLY;INTERVAL=1;COUNT=10;BYDAY=FR;BYMONTHDAY=13
0306 X-EXPECT-NUMEVENTS: 10
0307 END:VEVENT
0308 
0309 BEGIN:VEVENT
0310 DESCRIPTION:The first Saturday that follows the first Sunday of the month\,
0311 DTSTART;TZID=America/Los_Angeles:19970913T090000
0312 RRULE:FREQ=MONTHLY;INTERVAL=1;COUNT=10;BYDAY=SA;BYMONTHDAY=7,8,9,10,11,12,13
0313 X-EXPECT-NUMEVENTS: 10
0314 END:VEVENT
0315 
0316 BEGIN:VEVENT
0317 DESCRIPTION:Every four years\, the first Tuesday after a Monday in November\, 
0318  forever (U.S. Presidential Election day):
0319 DTSTART;TZID=America/Los_Angeles:19961105T090000
0320 RRULE:FREQ=YEARLY;INTERVAL=4;COUNT=10;BYDAY=TU;BYMONTHDAY=2,3,4,5,6,7,8;BYMONTH=11
0321 X-EXPECT-NUMEVENTS: 10
0322 END:VEVENT
0323 
0324 BEGIN:VEVENT
0325 DESCRIPTION:The 3rd instance into the month of one of Tuesday\, Wednesday or 
0326  Thursday\, for the next 3 months:
0327 DTSTART;TZID=America/Los_Angeles:19970904T090000
0328 RRULE:FREQ=MONTHLY;COUNT=3;INTERVAL=1;BYDAY=TU,WE,TH;BYSETPOS=3
0329 X-EXPECT-NUMEVENTS: 3
0330 END:VEVENT
0331 
0332 BEGIN:VEVENT
0333 DESCRIPTION:The 2nd to last weekday of the month:
0334 DTSTART;TZID=America/Los_Angeles:19970929T090000
0335 RRULE:FREQ=MONTHLY;INTERVAL=1;COUNT=10;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-2
0336 X-EXPECT-NUMEVENTS: 10
0337 END:VEVENT
0338 
0339 BEGIN:VEVENT
0340 DESCRIPTION:Every 3 hours from 9:00 AM to 5:00 PM on a specific day:
0341 DTSTART;TZID=America/Los_Angeles:19970902T090000
0342 RRULE:FREQ=HOURLY;UNTIL=19970902T170000Z;INTERVAL=3
0343 X-EXPECT-NUMEVENTS: 3
0344 END:VEVENT
0345 
0346 BEGIN:VEVENT
0347 DESCRIPTION:Every 15 minutes for 6 occurrences:
0348 DTSTART;TZID=America/Los_Angeles:19970902T090000
0349 RRULE:FREQ=MINUTELY;COUNT=6;INTERVAL=15
0350 X-EXPECT-NUMEVENTS: 6
0351 END:VEVENT
0352 
0353 BEGIN:VEVENT
0354 DESCRIPTION:Every hour and a half for 4 occurrences:
0355 DTSTART;TZID=America/Los_Angeles:19970902T090000
0356 RRULE:FREQ=MINUTELY;COUNT=4;INTERVAL=90
0357 X-EXPECT-NUMEVENTS: 4
0358 END:VEVENT
0359 
0360 BEGIN:VEVENT
0361 DESCRIPTION:Every 20 minutes from 9:00 AM to 4:40 PM every day:
0362 DTSTART;TZID=America/Los_Angeles:19970902T090000
0363 RRULE:FREQ=DAILY;COUNT=20;INTERVAL=1;BYMINUTE=0,20,40;BYHOUR=9,10,11,12,13,14,15,16
0364 X-EXPECT-NUMEVENTS: 20
0365 END:VEVENT
0366 
0367 BEGIN:VEVENT
0368 DESCRIPTION:Every 20 minutes from 9:00 AM to 4:40 PM every day:
0369 DTSTART;TZID=America/Los_Angeles:19970902T090000
0370 RRULE:FREQ=MINUTELY;COUNT=20;INTERVAL=20;BYHOUR=9,10,11,12,13,14,15,16
0371 X-EXPECT-NUMEVENTS: 20
0372 END:VEVENT
0373 
0374 BEGIN:VEVENT
0375 DESCRIPTION:An example where the days generated makes a difference because of 
0376  WKST:
0377 DTSTART;TZID=America/Los_Angeles:19970805T090000
0378 RRULE:FREQ=WEEKLY;COUNT=4;INTERVAL=2;BYDAY=TU,SU
0379 X-EXPECT-NUMEVENTS: 4
0380 END:VEVENT
0381 
0382 BEGIN:VEVENT
0383 DESCRIPTION:An example where the days generated makes a difference because of 
0384  WKST. Changing only WKST from MO to SU yields different results...  
0385 DTSTART;TZID=America/Los_Angeles:19970805T090000
0386 RRULE:FREQ=WEEKLY;COUNT=4;INTERVAL=2;BYDAY=TU,SU
0387 X-EXPECT-NUMEVENTS: 4
0388 END:VEVENT
0389 
0390 BEGIN:VEVENT
0391 DESCRIPTION:Repeat every tuesday and wednesday starting 2 April 2002
0392 RRULE:FREQ=WEEKLY;INTERVAL=1;COUNT=6;BYDAY=TU,WE
0393 DTSTART:20020402T114500
0394 X-EXPECT-NUMEVENTS: 6
0395 END:VEVENT
0396 
0397 BEGIN:VEVENT
0398 DESCRIPTION:Use count=1 to repeat zero times.
0399 RRULE:FREQ=DAILY;COUNT=1
0400 DTSTART:20020402T114500
0401 X-EXPECT-NUMEVENTS: 1
0402 END:VEVENT
0403 
0404 BEGIN:VEVENT
0405 DESCRIPTION:Use EXDATE to eliminate the base event
0406 RRULE:FREQ=DAILY;COUNT=1
0407 DTSTART:20020402T114500Z
0408 EXDATE:20020402T114500Z
0409 X-EXPECT-NUMEVENTS: 0
0410 END:VEVENT
0411 
0412 BEGIN:VEVENT
0413 DESCRIPTION:Every Day in January\, except saturday and sunday\, using 2 EXRULEs. (NOT IMPLEMENTED)
0414 RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20020201T000000Z
0415 EXRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20020201T000000Z;BYDAY=SU
0416 EXRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20020201T000000Z;BYDAY=SA
0417 DTSTART:20020101T090000Z
0418 X-EXPECT-NUMEVENTS: 23
0419 END:VEVENT
0420