From fb0ebe0b8a4c7bcad942c4ebdeb555b35122ae96 Mon Sep 17 00:00:00 2001 From: Lars Henriksen Date: Sun, 31 May 2020 10:15:46 +0200 Subject: Icalendar templates for recurrence rules To provide a starting point for advanced repeating items. Signed-off-by: Lars Henriksen Signed-off-by: Lukas Fleischer --- contrib/import/DST-et.ical | 11 +++++++++++ contrib/import/DST-eu.ical | 11 +++++++++++ contrib/import/February.ical | 11 +++++++++++ contrib/import/Monday-first-last.ical | 11 +++++++++++ contrib/import/Tuesday-Thursday.ical | 11 +++++++++++ contrib/import/Wednesdays-all.ical | 11 +++++++++++ 6 files changed, 66 insertions(+) create mode 100644 contrib/import/DST-et.ical create mode 100644 contrib/import/DST-eu.ical create mode 100644 contrib/import/February.ical create mode 100644 contrib/import/Monday-first-last.ical create mode 100644 contrib/import/Tuesday-Thursday.ical create mode 100644 contrib/import/Wednesdays-all.ical (limited to 'contrib') diff --git a/contrib/import/DST-et.ical b/contrib/import/DST-et.ical new file mode 100644 index 0000000..116fe95 --- /dev/null +++ b/contrib/import/DST-et.ical @@ -0,0 +1,11 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID: +BEGIN:VEVENT +DTSTAMP: +UID: +DTSTART;VALUE=DATE:20200329 +SUMMARY:Daylight Saving Time begins (EDT) +RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3 +END:VEVENT +END:VCALENDAR diff --git a/contrib/import/DST-eu.ical b/contrib/import/DST-eu.ical new file mode 100644 index 0000000..e536cf0 --- /dev/null +++ b/contrib/import/DST-eu.ical @@ -0,0 +1,11 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID: +BEGIN:VEVENT +DTSTAMP: +UID: +DTSTART;VALUE=DATE:20200329 +SUMMARY:Daylight Saving Time begins (CEST) +RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3 +END:VEVENT +END:VCALENDAR diff --git a/contrib/import/February.ical b/contrib/import/February.ical new file mode 100644 index 0000000..15168d4 --- /dev/null +++ b/contrib/import/February.ical @@ -0,0 +1,11 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID: +BEGIN:VEVENT +DTSTAMP: +UID: +DTSTART:20200228T080000 +SUMMARY:Penultimate day in February +RRULE:FREQ=MONTHLY;BYMONTHDAY=-2;BYMONTH=2 +END:VEVENT +END:VCALENDAR diff --git a/contrib/import/Monday-first-last.ical b/contrib/import/Monday-first-last.ical new file mode 100644 index 0000000..431bebb --- /dev/null +++ b/contrib/import/Monday-first-last.ical @@ -0,0 +1,11 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID: +BEGIN:VEVENT +DTSTAMP: +UID: +DTSTART:20200106T120000 +SUMMARY:First and last Monday of the month +RRULE:FREQ=MONTHLY;BYDAY=1MO,-1MO;COUNT=10 +END:VEVENT +END:VCALENDAR diff --git a/contrib/import/Tuesday-Thursday.ical b/contrib/import/Tuesday-Thursday.ical new file mode 100644 index 0000000..84c5adb --- /dev/null +++ b/contrib/import/Tuesday-Thursday.ical @@ -0,0 +1,11 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID: +BEGIN:VEVENT +DTSTAMP: +UID: +DTSTART:20200102T120000 +SUMMARY:Every Tuesday and Thursday +RRULE:FREQ=WEEKLY;BYDAY=TU,TH;COUNT=10 +END:VEVENT +END:VCALENDAR diff --git a/contrib/import/Wednesdays-all.ical b/contrib/import/Wednesdays-all.ical new file mode 100644 index 0000000..40730b8 --- /dev/null +++ b/contrib/import/Wednesdays-all.ical @@ -0,0 +1,11 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID: +BEGIN:VEVENT +DTSTAMP: +UID: +DTSTART;VALUE=DATE:20200603 +SUMMARY:All Wednesdays in June and July +RRULE:FREQ=MONTHLY;BYDAY=WE;BYMONTH=6,7;UNTIL=20220630 +END:VEVENT +END:VCALENDAR -- cgit v1.2.3-70-g09d2