2 # Tests taken from the iCalendar standard
5 DTSTART=19970902T090000
6 RRULE=FREQ=DAILY;COUNT=10
8 DTSTART=19970902T090000
9 RRULE=FREQ=DAILY;UNTIL=19971224T000000
11 DTSTART=19970902T090000
13 RRULE=FREQ=DAILY;INTERVAL=2
15 DTSTART=19970902T090000
16 RRULE=FREQ=DAILY;INTERVAL=10;COUNT=5
18 DTSTART=19970902T090000
19 RRULE=FREQ=WEEKLY;COUNT=10
21 DTSTART=19970902T090000
22 RRULE=FREQ=WEEKLY;UNTIL=19971224T000000Z
24 DTSTART=19970902T090000
26 RRULE=FREQ=WEEKLY;INTERVAL=2;WKST=SU
28 DTSTART=19970902T090000
29 RRULE=FREQ=WEEKLY;UNTIL=19971007T000000Z;WKST=SU;BYDAY=TU,TH
31 DTSTART=19970902T090000
32 RRULE=FREQ=WEEKLY;COUNT=10;WKST=SU;BYDAY=TU,TH
34 DTSTART=19970902T090000
35 RRULE=FREQ=WEEKLY;INTERVAL=2;COUNT=8;WKST=SU;BYDAY=TU,TH
37 DTSTART=19970905T090000
38 RRULE=FREQ=MONTHLY;COUNT=10;BYDAY=1FR
40 DTSTART=19970905T090000
41 RRULE=FREQ=MONTHLY;UNTIL=19971224T000000Z;BYDAY=1FR
43 DTSTART=19970907T090000
44 RRULE=FREQ=MONTHLY;INTERVAL=2;COUNT=10;BYDAY=1SU,-1SU
46 DTSTART=19970902T090000
47 RRULE=FREQ=MONTHLY;COUNT=6;BYDAY=-2MO
49 DTSTART=19970902T090000
51 RRULE=FREQ=MONTHLY;BYMONTHDAY=-3
53 DTSTART=19970902T090000
54 RRULE=FREQ=MONTHLY;COUNT=10;BYMONTHDAY=2,15
56 DTSTART=19970930T090000
57 RRULE=FREQ=MONTHLY;COUNT=10;BYMONTHDAY=1,-1
59 DTSTART=19970910T090000
60 RRULE=FREQ=MONTHLY;INTERVAL=18;COUNT=10;BYMONTHDAY=10,11,12,13,14,15
62 DTSTART=19970902T090000
64 RRULE=FREQ=MONTHLY;INTERVAL=2;BYDAY=TU
66 DTSTART=19970313T090000
68 RRULE=FREQ=YEARLY;BYMONTH=3;BYDAY=TH
70 DTSTART=19970605T090000
72 RRULE=FREQ=YEARLY;BYDAY=TH;BYMONTH=6,7,8
74 DTSTART=19970902T090000
76 RRULE=FREQ=MONTHLY;BYDAY=FR;BYMONTHDAY=13
78 DTSTART=19970913T090000
80 RRULE=FREQ=MONTHLY;BYDAY=SA;BYMONTHDAY=7,8,9,10,11,12,13
82 DTSTART=19961105T090000
84 RRULE=FREQ=YEARLY;INTERVAL=4;BYMONTH=11;BYDAY=TU;BYMONTHDAY=2,3,4,5,6,7,8
86 DTSTART=19970904T090000
87 RRULE=FREQ=MONTHLY;COUNT=3;BYDAY=TU,WE,TH;BYSETPOS=3
89 DTSTART=19970929T090000
91 RRULE=FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-2
94 # A number of RRULE we have accumulated in real life from a variety of sources
97 DTSTART=20081020T110000
98 RRULE=FREQ=DAILY;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR
99 DTSTART=20081020T090000
100 RRULE=FREQ=WEEKLY;INTERVAL=1
101 DTSTART=20081024T140000
102 RRULE=FREQ=WEEKLY;INTERVAL=1
103 DTSTART=20061102T100000
104 RRULE=FREQ=WEEKLY;COUNT=26;INTERVAL=1;BYDAY=TH
105 DTSTART=20081025T233000
106 RRULE=FREQ=MONTHLY;INTERVAL=1;BYDAY=1TU,2WE,3TH,4FR;BYMONTH=3,6,9,10,12
107 DTSTART=20081024T184500
108 RRULE=FREQ=MONTHLY;INTERVAL=1;BYDAY=TU,FR
109 DTSTART=20081025T233000
110 RRULE=FREQ=MONTHLY;INTERVAL=1;BYDAY=1TU,2WE,3TH,4FR;BYMONTH=3,6,9,10,12
111 DTSTART=20081024T184500
112 RRULE=FREQ=MONTHLY;INTERVAL=1;BYDAY=TU,FR
113 DTSTART=20021126T203000
114 RRULE=FREQ=DAILY;UNTIL=20021128T230000Z
115 DTSTART=20071126T070000
116 RRULE=FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR;WKST=SU
117 DTSTART=20050202T050000
118 RRULE=FREQ=WEEKLY;UNTIL=20050322T160000Z;BYDAY=TU
119 DTSTART=20040803T000000
120 RRULE=FREQ=DAILY;UNTIL=20040804
121 DTSTART=20071211T074500
122 RRULE=FREQ=WEEKLY;INTERVAL=1;BYDAY=TU,TH
123 DTSTART=20061103T160000
124 RRULE=FREQ=WEEKLY;INTERVAL=2;UNTIL=20071222T235900
125 DTSTART=20061103T073000
127 DTSTART=20071123T120000
128 RRULE=FREQ=MONTHLY;INTERVAL=1;BYDAY=4FR
129 DTSTART=20081114T000000
130 RRULE=FREQ=MONTHLY;INTERVAL=1;BYDAY=2FR
131 DTSTART=20081121T160000
132 RRULE=FREQ=MONTHLY;INTERVAL=1;BYDAY=3FR
133 DTSTART=20020220T053000
134 RRULE=FREQ=DAILY;UNTIL=20020528T153000Z;INTERVAL=14
135 DTSTART=20060921T020000
136 RRULE=FREQ=WEEKLY;UNTIL=20061004T140000Z;BYDAY=WE
137 DTSTART=20060801T090000
138 RRULE=FREQ=YEARLY;INTERVAL=1
139 DTSTART=20030301T050000
140 RRULE=FREQ=DAILY;UNTIL=20030228T230000Z
141 DTSTART=20031013T200000
142 RRULE=FREQ=DAILY;UNTIL=20031016T220000Z
143 DTSTART=20021022T193000
144 RRULE=FREQ=DAILY;UNTIL=20021024T220000Z
145 DTSTART=20050224T220000
146 RRULE=FREQ=DAILY;UNTIL=20050224T230000Z
147 DTSTART=20040916T000000
148 RRULE=FREQ=DAILY;UNTIL=20040917
149 DTSTART=20030530T200000
150 RRULE=FREQ=DAILY;UNTIL=20030530T220000Z
151 DTSTART=20040616T180000
152 RRULE=FREQ=DAILY;UNTIL=20040616T220000Z
153 DTSTART=20021030T203000
154 RRULE=FREQ=WEEKLY;UNTIL=20021204T073000Z;BYDAY=WE
155 DTSTART=20050415T183000
156 RRULE=FREQ=WEEKLY;UNTIL=20050513T063000Z;BYDAY=FR
157 DTSTART=20030711T180000
158 RRULE=FREQ=DAILY;UNTIL=20030712T220000Z
159 DTSTART=20050128T200000
160 RRULE=FREQ=DAILY;UNTIL=20050129T230000Z
161 DTSTART=20030326T193000
162 RRULE=FREQ=WEEKLY;UNTIL=20030507T063000Z;BYDAY=WE
163 DTSTART=20060405T190000
164 RRULE=FREQ=DAILY;UNTIL=20060406T070000Z
165 DTSTART=20051122T200000
166 RRULE=FREQ=DAILY;COUNT=2
167 DTSTART=20030212T203000
168 RRULE=FREQ=WEEKLY;UNTIL=20030319T073000Z;BYDAY=WE
169 DTSTART=20030617T200000
170 RRULE=FREQ=DAILY;UNTIL=20030618T220000Z
171 DTSTART=20050809T183000
172 RRULE=FREQ=DAILY;COUNT=2
173 DTSTART=20051124T200000
174 RRULE=FREQ=DAILY;COUNT=2
175 DTSTART=20020913T183000
176 RRULE=FREQ=WEEKLY;UNTIL=20020920T063000Z;BYDAY=FR
177 DTSTART=20030827T183000
178 RRULE=FREQ=WEEKLY;UNTIL=20031105T073000Z;BYDAY=WE
179 DTSTART=20030825T183000
180 RRULE=FREQ=WEEKLY;UNTIL=20031103T073000Z;BYDAY=MO
181 DTSTART=20020912T183000
182 RRULE=FREQ=WEEKLY;UNTIL=20020919T063000Z;BYDAY=TH
183 DTSTART=20021205T203000
184 RRULE=FREQ=DAILY;UNTIL=20021205T230000Z
185 DTSTART=20031022T040000
186 RRULE=FREQ=WEEKLY;UNTIL=20031216T160000Z;BYDAY=TU
187 DTSTART=20060511T180000
188 RRULE=FREQ=DAILY;UNTIL=20060514T060000Z
189 DTSTART=20021203T203000
190 RRULE=FREQ=DAILY;UNTIL=20021203T230000Z
191 DTSTART=20040602T180000
192 RRULE=FREQ=DAILY;UNTIL=20040602T220000Z
193 DTSTART=20070307T203000
194 RRULE=FREQ=WEEKLY;COUNT=2;BYDAY=WE
195 DTSTART=20030918T180000
196 RRULE=FREQ=DAILY;UNTIL=20030918T220000Z
197 DTSTART=20050831T180000
198 RRULE=FREQ=WEEKLY;UNTIL=20051109T070000Z;BYDAY=WE
199 DTSTART=20021028T203000
200 RRULE=FREQ=WEEKLY;UNTIL=20021202T073000Z;BYDAY=MO
201 DTSTART=20030210T203000
202 RRULE=FREQ=WEEKLY;UNTIL=20030317T073000Z;BYDAY=MO
203 DTSTART=20021212T203000
204 RRULE=FREQ=DAILY;UNTIL=20021212T230000Z
205 DTSTART=20050131T203000
206 RRULE=FREQ=WEEKLY;UNTIL=20050314T073000Z;BYDAY=MO
207 DTSTART=20030324T193000
208 RRULE=FREQ=WEEKLY;UNTIL=20030512T063000Z;BYDAY=MO
209 DTSTART=20030414T180000
210 RRULE=FREQ=DAILY;UNTIL=20030420T220000Z
211 DTSTART=20050105T220000
212 RRULE=FREQ=DAILY;UNTIL=20050106T230000Z
213 DTSTART=20020919T180000
214 RRULE=FREQ=DAILY;UNTIL=20020919T220000Z