aboutsummaryrefslogtreecommitdiff
path: root/aerogramme/tests/common/constants.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-05-27 08:03:21 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-05-27 08:03:21 +0200
commit418adf92be86ea83008a145180837f1e0ad3018a (patch)
tree5e3e9c0efea5c11577ebeaaa9e221b20c43ebb7c /aerogramme/tests/common/constants.rs
parent68e08bed4f8f589d2e45bcd82a99090032a56b95 (diff)
downloadaerogramme-418adf92be86ea83008a145180837f1e0ad3018a.tar.gz
aerogramme-418adf92be86ea83008a145180837f1e0ad3018a.zip
debug support of calendar-data pruning
Diffstat (limited to 'aerogramme/tests/common/constants.rs')
-rw-r--r--aerogramme/tests/common/constants.rs28
1 files changed, 28 insertions, 0 deletions
diff --git a/aerogramme/tests/common/constants.rs b/aerogramme/tests/common/constants.rs
index c04bae0..16daec6 100644
--- a/aerogramme/tests/common/constants.rs
+++ b/aerogramme/tests/common/constants.rs
@@ -125,6 +125,34 @@ END:VEVENT
END:VCALENDAR
";
+pub static ICAL_RFC3_STRIPPED: &[u8] = b"BEGIN:VCALENDAR\r
+VERSION:2.0\r
+BEGIN:VTIMEZONE\r
+LAST-MODIFIED:20040110T032845Z\r
+TZID:US/Eastern\r
+BEGIN:DAYLIGHT\r
+DTSTART:20000404T020000\r
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4\r
+TZNAME:EDT\r
+TZOFFSETFROM:-0500\r
+TZOFFSETTO:-0400\r
+END:DAYLIGHT\r
+BEGIN:STANDARD\r
+DTSTART:20001026T020000\r
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10\r
+TZNAME:EST\r
+TZOFFSETFROM:-0400\r
+TZOFFSETTO:-0500\r
+END:STANDARD\r
+END:VTIMEZONE\r
+BEGIN:VEVENT\r
+DTSTART;TZID=US/Eastern:20060104T100000\r
+DURATION:PT1H\r
+UID:DC6C50A017428C5216A2F1CD@example.com\r
+END:VEVENT\r
+END:VCALENDAR\r
+";
+
pub static ICAL_RFC4: &[u8] = br#"BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Example Corp.//CalDAV Client//EN