Projet

Général

Profil

Paste
Télécharger (3,67 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / date / tests / rrule.ics @ ebcc4118

1
BEGIN:VCALENDAR
2
PRODID:-//Test
3
VERSION:2.0
4
X-WR-CALDESC:Test various iCal RRULEs.
5
BEGIN:VEVENT
6
UID:iCalRRuleTest1
7
SUMMARY:Daily for 10 occurrences
8
DTSTART;TZID=US-Eastern:20090702T090000
9
RRULE:FREQ=DAILY;COUNT=10
10
END:VEVENT
11
BEGIN:VEVENT
12
UID:iCalRRuleTest2
13
SUMMARY:Daily until December 24, 2009
14
DTSTART;TZID=US-Eastern:20091202T090000
15
RRULE:FREQ=DAILY;UNTIL=20091224T000000Z
16
END:VEVENT
17
BEGIN:VEVENT
18
UID:iCalRRuleTest3
19
SUMMARY:Every other day
20
DTSTART;TZID=US-Eastern:20090202T090000
21
RRULE:FREQ=DAILY;INTERVAL=2
22
END:VEVENT
23
BEGIN:VEVENT
24
UID:iCalRRuleTest4
25
SUMMARY:Every 10 days, 5 occurrences
26
DTSTART;TZID=US-Eastern:20090302T090000
27
RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
28
END:VEVENT
29
BEGIN:VEVENT
30
UID:iCalRRuleTest5
31
SUMMARY:Everyday in January, for 2 years
32
DTSTART;TZID=US-Eastern:20090101T090000
33
RRULE:FREQ=YEARLY;UNTIL=20110131T090000Z;BYMONTH=1;BYDAY=SU,MO,TU,WE,TH,FR,SA
34
END:VEVENT
35
BEGIN:VEVENT
36
UID:iCalRRuleTest6
37
SUMMARY:Weekly for 10 occurrences
38
DTSTART;TZID=US-Eastern:20090102T090000
39
RRULE:FREQ=WEEKLY;COUNT=10
40
END:VEVENT
41
BEGIN:VEVENT
42
UID:iCalRRuleTest7
43
SUMMARY:Weekly on Tuesday and Thursday for 5 weeks
44
DTSTART;TZID=US-Eastern:20090902T090000
45
RRULE:FREQ=WEEKLY;UNTIL=20091007T000000Z;WKST=SU;BYDAY=TU,TH
46
END:VEVENT
47
BEGIN:VEVENT
48
UID:iCalRRuleTest8
49
SUMMARY:Every other week on Monday, Wednesday and Friday until December 24, 2009:
50
DTSTART;TZID=US-Eastern:20090502T090000
51
RRULE:FREQ=WEEKLY;INTERVAL=2;UNTIL=20091224T000000Z;WKST=SU;BYDAY=MO,WE,FR
52
END:VEVENT
53
BEGIN:VEVENT
54
UID:iCalRRuleTest9
55
SUMMARY:Every other week on Tuesday and Thursday, for 8 occurrences
56
DTSTART;TZID=US-Eastern:20090702T090000
57
RRULE:FREQ=WEEKLY;INTERVAL=2;COUNT=8;WKST=SU;BYDAY=TU,TH
58
END:VEVENT
59
BEGIN:VEVENT
60
UID:iCalRRuleTest10
61
SUMMARY:Monthly on the 1st Friday for ten occurrences
62
DTSTART;TZID=US-Eastern:20090905T090000
63
RRULE:FREQ=MONTHLY;COUNT=10;BYDAY=1FR
64
END:VEVENT
65
BEGIN:VEVENT
66
UID:iCalRRuleTest11
67
SUMMARY:Monthly on the 1st Friday until December 24, 2009
68
DTSTART;TZID=US-Eastern:20090905T090000
69
RRULE:FREQ=MONTHLY;UNTIL=20091224T000000Z;BYDAY=1FR
70
END:VEVENT
71
BEGIN:VEVENT
72
UID:iCalRRuleTest12
73
SUMMARY:Every other month on the 1st and last Sunday of the month for 10 occurrences
74
DTSTART;TZID=US-Eastern:20090907T090000
75
RRULE:FREQ=MONTHLY;INTERVAL=2;COUNT=10;BYDAY=1SU,-1SU
76
END:VEVENT
77
BEGIN:VEVENT
78
UID:iCalRRuleTest13
79
SUMMARY:Monthly on the second to last Monday of the month for 6 months
80
DTSTART;TZID=US-Eastern:20090119T090000
81
RRULE:FREQ=MONTHLY;COUNT=6;BYDAY=-2MO
82
END:VEVENT
83
BEGIN:VEVENT
84
UID:iCalRRuleTest14
85
SUMMARY:Monthly on the third to the last day of the month
86
DTSTART;TZID=US-Eastern:20090928T090000
87
RRULE:FREQ=MONTHLY;BYMONTHDAY=-3
88
END:VEVENT
89
BEGIN:VEVENT
90
UID:iCalRRuleTest15
91
SUMMARY:Monthly on the 2nd and 15th of the month for 10 occurrences
92
DTSTART;TZID=US-Eastern:20090202T090000
93
RRULE:FREQ=MONTHLY;COUNT=10;BYMONTHDAY=2,15
94
END:VEVENT
95
BEGIN:VEVENT
96
UID:iCalRRuleTest16
97
SUMMARY:Monthly on the first and last day of the month for 10 occurrences
98
DTSTART;TZID=US-Eastern:20090130T090000
99
RRULE:FREQ=MONTHLY;COUNT=10;BYMONTHDAY=1,-1
100
END:VEVENT
101
BEGIN:VEVENT
102
UID:iCalRRuleTest17
103
SUMMARY:Every 3 months on the 10th thru 15th of the month for 10 occurrences
104
DTSTART;TZID=US-Eastern:20090410T090000
105
RRULE:FREQ=MONTHLY;INTERVAL=3;COUNT=10;BYMONTHDAY=10,11,12,13,14,15
106
END:VEVENT
107
BEGIN:VEVENT
108
UID:iCalRRuleTest18
109
SUMMARY:Every Tuesday, every other month
110
DTSTART;TZID=US-Eastern:20090602T090000
111
RRULE:FREQ=MONTHLY;INTERVAL=2;BYDAY=TU
112
END:VEVENT
113
BEGIN:VEVENT
114
UID:iCalRRuleTest19
115
SUMMARY:Yearly in June and July for 10 occurrences
116
DTSTART;TZID=US-Eastern:20090610T090000
117
RRULE:FREQ=YEARLY;COUNT=10;BYMONTH=6,7
118
END:VEVENT
119
BEGIN:VEVENT
120
UID:iCalRRuleTest20
121
SUMMARY:Every Thursday in March
122
DTSTART;TZID=US-Eastern:20090305T090000
123
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=TH
124
END:VEVENT
125
END:VCALENDAR