mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Move test data for icalendar tests to separate files.
* test/lisp/calendar/icalendar-tests.el (icalendar-tests--data-dir, icalendar-tests--get-file-contents): New. (icalendar-tests--test-import, icalendar-tests--do-test-import): Read input and expected results from files. (icalendar-import-non-recurring, icalendar-import-rrule) (icalendar-import-duration, icalendar-import-bug-6766) (icalendar-import-bug-24199, icalendar-import-bug-33277) (icalendar-import-multiple-vcalendars, icalendar-import-with-uid) (icalendar-import-with-timezone, icalendar-real-world): Move test data (input and expected result) to separate files. * test/calendar/icalendar/* New files containing test data for icalendar tests.
This commit is contained in:
parent
5d152ed737
commit
6342264ef7
142 changed files with 1296 additions and 1036 deletions
10
test/data/icalendar/import-bug-11473.diary-european
Normal file
10
test/data/icalendar/import-bug-11473.diary-european
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
&15/5/2012 15:00-15:30 Query
|
||||
Desc:
|
||||
Whassup?
|
||||
|
||||
|
||||
Location: phone
|
||||
Organizer: MAILTO:a.luser@foo.com
|
||||
Status: CONFIRMED
|
||||
Class: PUBLIC
|
||||
UID: 040000008200E00074C5B7101A82E0080000000020FFAED0CFEFCC01000000000000000010000000575268034ECDB649A15349B1BF240F15
|
||||
54
test/data/icalendar/import-bug-11473.ics
Normal file
54
test/data/icalendar/import-bug-11473.ics
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
BEGIN:VCALENDAR
|
||||
METHOD:REQUEST
|
||||
PRODID:Microsoft Exchange Server 2007
|
||||
VERSION:2.0
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
|
||||
BEGIN:STANDARD
|
||||
DTSTART:16010101T030000
|
||||
TZOFFSETFROM:+0200
|
||||
TZOFFSETTO:+0100
|
||||
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
|
||||
END:STANDARD
|
||||
BEGIN:DAYLIGHT
|
||||
DTSTART:16010101T020000
|
||||
TZOFFSETFROM:+0100
|
||||
TZOFFSETTO:+0200
|
||||
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
|
||||
END:DAYLIGHT
|
||||
END:VTIMEZONE
|
||||
BEGIN:VEVENT
|
||||
ORGANIZER;CN="A. Luser":MAILTO:a.luser@foo.com
|
||||
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Luser, Oth
|
||||
er":MAILTO:other.luser@foo.com
|
||||
DESCRIPTION;LANGUAGE=en-US:\nWhassup?\n\n
|
||||
SUMMARY;LANGUAGE=en-US:Query
|
||||
DTSTART;TZID="(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna"
|
||||
:20120515T150000
|
||||
DTEND;TZID="(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna":2
|
||||
0120515T153000
|
||||
UID:040000008200E00074C5B7101A82E0080000000020FFAED0CFEFCC01000000000000000
|
||||
010000000575268034ECDB649A15349B1BF240F15
|
||||
RECURRENCE-ID;TZID="(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, V
|
||||
ienna":20120515T170000
|
||||
CLASS:PUBLIC
|
||||
PRIORITY:5
|
||||
DTSTAMP:20120514T153645Z
|
||||
TRANSP:OPAQUE
|
||||
STATUS:CONFIRMED
|
||||
SEQUENCE:15
|
||||
LOCATION;LANGUAGE=en-US:phone
|
||||
X-MICROSOFT-CDO-APPT-SEQUENCE:15
|
||||
X-MICROSOFT-CDO-OWNERAPPTID:1907632092
|
||||
X-MICROSOFT-CDO-BUSYSTATUS:TENTATIVE
|
||||
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
|
||||
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
|
||||
X-MICROSOFT-CDO-IMPORTANCE:1
|
||||
X-MICROSOFT-CDO-INSTTYPE:3
|
||||
BEGIN:VALARM
|
||||
ACTION:DISPLAY
|
||||
DESCRIPTION:REMINDER
|
||||
TRIGGER;RELATED=START:-PT15M
|
||||
END:VALARM
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
6
test/data/icalendar/import-bug-22092.diary-american
Normal file
6
test/data/icalendar/import-bug-22092.diary-american
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
&12/8/2014 18:30-22:55 Norwegian til Tromsoe-Langnes -
|
||||
Desc: Fly med Norwegian, reservasjon. Fra Stavanger til Tromsø 8. des 2014 18:30, DY545Fly med Norwegian, reservasjon . Fra Stavanger til Tromsø 8. des 2014 21:00, DY390
|
||||
Location: Stavanger-Sola
|
||||
Organizer: noreply@norwegian.no
|
||||
Class: PUBLIC
|
||||
UID: RFCALITEM1
|
||||
6
test/data/icalendar/import-bug-22092.diary-european
Normal file
6
test/data/icalendar/import-bug-22092.diary-european
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
&8/12/2014 18:30-22:55 Norwegian til Tromsoe-Langnes -
|
||||
Desc: Fly med Norwegian, reservasjon. Fra Stavanger til Tromsø 8. des 2014 18:30, DY545Fly med Norwegian, reservasjon . Fra Stavanger til Tromsø 8. des 2014 21:00, DY390
|
||||
Location: Stavanger-Sola
|
||||
Organizer: noreply@norwegian.no
|
||||
Class: PUBLIC
|
||||
UID: RFCALITEM1
|
||||
6
test/data/icalendar/import-bug-22092.diary-iso
Normal file
6
test/data/icalendar/import-bug-22092.diary-iso
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
&2014/12/8 18:30-22:55 Norwegian til Tromsoe-Langnes -
|
||||
Desc: Fly med Norwegian, reservasjon. Fra Stavanger til Tromsø 8. des 2014 18:30, DY545Fly med Norwegian, reservasjon . Fra Stavanger til Tromsø 8. des 2014 21:00, DY390
|
||||
Location: Stavanger-Sola
|
||||
Organizer: noreply@norwegian.no
|
||||
Class: PUBLIC
|
||||
UID: RFCALITEM1
|
||||
30
test/data/icalendar/import-bug-22092.ics
Normal file
30
test/data/icalendar/import-bug-22092.ics
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//www.norwegian.no//iCalendar MIMEDIR//EN
|
||||
VERSION:2.0
|
||||
METHOD:REQUEST
|
||||
BEGIN:VEVENT
|
||||
UID:RFCALITEM1
|
||||
SEQUENCE:1512040950
|
||||
DTSTAMP:20141204T095043Z
|
||||
ORGANIZER:noreply@norwegian.no
|
||||
DTSTART:20141208T173000Z
|
||||
|
||||
DTEND:20141208T215500Z
|
||||
|
||||
LOCATION:Stavanger-Sola
|
||||
|
||||
DESCRIPTION:Fly med Norwegian, reservasjon. Fra Stavanger til Tromsø 8. des 2014 18:30, DY545Fly med Norwegian, reservasjon . Fra Stavanger til Tromsø 8. des 2014 21:00, DY390
|
||||
|
||||
X-ALT-DESC;FMTTYPE=text/html:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><html><head><META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000"><title></title></head><body><b><font face="Calibri" size="3">Reisereferanse</p></body></html>
|
||||
SUMMARY:Norwegian til Tromsoe-Langnes -
|
||||
|
||||
CATEGORIES:Appointment
|
||||
|
||||
|
||||
PRIORITY:5
|
||||
|
||||
CLASS:PUBLIC
|
||||
|
||||
TRANSP:OPAQUE
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
5
test/data/icalendar/import-bug-24199.diary-american
Normal file
5
test/data/icalendar/import-bug-24199.diary-american
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
&%%(and (not (diary-date 1 6 2016)) (not (diary-date 2 3 2016)) (not (diary-date 3 2 2016)) (not (diary-date 5 4 2016)) (not (diary-date 6 1 2016)) (diary-float t 3 1) (diary-block 12 2 2015 1 1 9999)) 12:46-16:00 Summary
|
||||
Desc: Desc
|
||||
Location: Loc
|
||||
Class: DEFAULT
|
||||
UID: 9188710a-08a7-4061-bae3-d4cf4972599a
|
||||
5
test/data/icalendar/import-bug-24199.diary-european
Normal file
5
test/data/icalendar/import-bug-24199.diary-european
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
&%%(and (not (diary-date 6 1 2016)) (not (diary-date 3 2 2016)) (not (diary-date 2 3 2016)) (not (diary-date 4 5 2016)) (not (diary-date 1 6 2016)) (diary-float t 3 1) (diary-block 2 12 2015 1 1 9999)) 12:46-16:00 Summary
|
||||
Desc: Desc
|
||||
Location: Loc
|
||||
Class: DEFAULT
|
||||
UID: 9188710a-08a7-4061-bae3-d4cf4972599a
|
||||
5
test/data/icalendar/import-bug-24199.diary-iso
Normal file
5
test/data/icalendar/import-bug-24199.diary-iso
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
&%%(and (not (diary-date 2016 1 6)) (not (diary-date 2016 2 3)) (not (diary-date 2016 3 2)) (not (diary-date 2016 5 4)) (not (diary-date 2016 6 1)) (diary-float t 3 1) (diary-block 2015 12 2 9999 1 1)) 12:46-16:00 Summary
|
||||
Desc: Desc
|
||||
Location: Loc
|
||||
Class: DEFAULT
|
||||
UID: 9188710a-08a7-4061-bae3-d4cf4972599a
|
||||
25
test/data/icalendar/import-bug-24199.ics
Normal file
25
test/data/icalendar/import-bug-24199.ics
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Summary
|
||||
DESCRIPTION:Desc
|
||||
LOCATION:Loc
|
||||
DTSTART:20151202T124600
|
||||
DTEND:20151202T160000
|
||||
RRULE:FREQ=MONTHLY;BYDAY=1WE;INTERVAL=1
|
||||
EXDATE:20160106T114600Z
|
||||
EXDATE:20160203T114600Z
|
||||
EXDATE:20160302T114600Z
|
||||
EXDATE:20160504T104600Z
|
||||
EXDATE:20160601T104600Z
|
||||
CLASS:DEFAULT
|
||||
TRANSP:OPAQUE
|
||||
BEGIN:VALARM
|
||||
ACTION:DISPLAY
|
||||
TRIGGER;VALUE=DURATION:-PT3H
|
||||
END:VALARM
|
||||
LAST-MODIFIED:20160805T191040Z
|
||||
UID:9188710a-08a7-4061-bae3-d4cf4972599a
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
1
test/data/icalendar/import-bug-33277.diary-american
Normal file
1
test/data/icalendar/import-bug-33277.diary-american
Normal file
|
|
@ -0,0 +1 @@
|
|||
&11/5/2018 21:00 event with same start/end time
|
||||
1
test/data/icalendar/import-bug-33277.diary-european
Normal file
1
test/data/icalendar/import-bug-33277.diary-european
Normal file
|
|
@ -0,0 +1 @@
|
|||
&5/11/2018 21:00 event with same start/end time
|
||||
1
test/data/icalendar/import-bug-33277.diary-iso
Normal file
1
test/data/icalendar/import-bug-33277.diary-iso
Normal file
|
|
@ -0,0 +1 @@
|
|||
&2018/11/5 21:00 event with same start/end time
|
||||
15
test/data/icalendar/import-bug-33277.ics
Normal file
15
test/data/icalendar/import-bug-33277.ics
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
DTSTART:20181105T200000Z
|
||||
DTSTAMP:20181105T181652Z
|
||||
DESCRIPTION:
|
||||
LAST-MODIFIED:20181105T181646Z
|
||||
LOCATION:
|
||||
SEQUENCE:0
|
||||
SUMMARY:event with same start/end time
|
||||
TRANSP:OPAQUE
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
7
test/data/icalendar/import-bug-6766.diary-american
Normal file
7
test/data/icalendar/import-bug-6766.diary-american
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
&%%(and (memq (calendar-day-of-week date) '(1 3 4 5)) (diary-cyclic 1 4 21 2010)) 11:30-12:00 Scrum
|
||||
Status: CONFIRMED
|
||||
Class: PUBLIC
|
||||
UID: 8814e3f9-7482-408f-996c-3bfe486a1262
|
||||
&%%(and (memq (calendar-day-of-week date) '(2 4)) (diary-cyclic 1 4 22 2010)) Tues + Thurs thinking
|
||||
Class: PUBLIC
|
||||
UID: 8814e3f9-7482-408f-996c-3bfe486a1263
|
||||
7
test/data/icalendar/import-bug-6766.diary-european
Normal file
7
test/data/icalendar/import-bug-6766.diary-european
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
&%%(and (memq (calendar-day-of-week date) '(1 3 4 5)) (diary-cyclic 1 21 4 2010)) 11:30-12:00 Scrum
|
||||
Status: CONFIRMED
|
||||
Class: PUBLIC
|
||||
UID: 8814e3f9-7482-408f-996c-3bfe486a1262
|
||||
&%%(and (memq (calendar-day-of-week date) '(2 4)) (diary-cyclic 1 22 4 2010)) Tues + Thurs thinking
|
||||
Class: PUBLIC
|
||||
UID: 8814e3f9-7482-408f-996c-3bfe486a1263
|
||||
7
test/data/icalendar/import-bug-6766.diary-iso
Normal file
7
test/data/icalendar/import-bug-6766.diary-iso
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
&%%(and (memq (calendar-day-of-week date) '(1 3 4 5)) (diary-cyclic 1 2010 4 21)) 11:30-12:00 Scrum
|
||||
Status: CONFIRMED
|
||||
Class: PUBLIC
|
||||
UID: 8814e3f9-7482-408f-996c-3bfe486a1262
|
||||
&%%(and (memq (calendar-day-of-week date) '(2 4)) (diary-cyclic 1 2010 4 22)) Tues + Thurs thinking
|
||||
Class: PUBLIC
|
||||
UID: 8814e3f9-7482-408f-996c-3bfe486a1263
|
||||
28
test/data/icalendar/import-bug-6766.ics
Normal file
28
test/data/icalendar/import-bug-6766.ics
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
CLASS:PUBLIC
|
||||
DTEND;TZID=America/New_York:20100421T120000
|
||||
DTSTAMP:20100525T141214Z
|
||||
DTSTART;TZID=America/New_York:20100421T113000
|
||||
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,WE,TH,FR
|
||||
SEQUENCE:1
|
||||
STATUS:CONFIRMED
|
||||
SUMMARY:Scrum
|
||||
TRANSP:OPAQUE
|
||||
UID:8814e3f9-7482-408f-996c-3bfe486a1262
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
CLASS:PUBLIC
|
||||
DTSTAMP:20100525T141214Z
|
||||
DTSTART;VALUE=DATE:20100422
|
||||
DTEND;VALUE=DATE:20100423
|
||||
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=TU,TH
|
||||
SEQUENCE:1
|
||||
SUMMARY:Tues + Thurs thinking
|
||||
TRANSP:OPAQUE
|
||||
UID:8814e3f9-7482-408f-996c-3bfe486a1263
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
3
test/data/icalendar/import-duration-2.diary-american
Normal file
3
test/data/icalendar/import-duration-2.diary-american
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
&%%(and (diary-cyclic 1 12 21 2001) (diary-block 12 21 2001 12 29 2001)) Urlaub
|
||||
Class: PUBLIC
|
||||
UID: 20041127T183329Z-18215-1001-4536-49109@andromeda
|
||||
3
test/data/icalendar/import-duration-2.diary-european
Normal file
3
test/data/icalendar/import-duration-2.diary-european
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
&%%(and (diary-cyclic 1 21 12 2001) (diary-block 21 12 2001 29 12 2001)) Urlaub
|
||||
Class: PUBLIC
|
||||
UID: 20041127T183329Z-18215-1001-4536-49109@andromeda
|
||||
3
test/data/icalendar/import-duration-2.diary-iso
Normal file
3
test/data/icalendar/import-duration-2.diary-iso
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
&%%(and (diary-cyclic 1 2001 12 21) (diary-block 2001 12 21 2001 12 29)) Urlaub
|
||||
Class: PUBLIC
|
||||
UID: 20041127T183329Z-18215-1001-4536-49109@andromeda
|
||||
17
test/data/icalendar/import-duration-2.ics
Normal file
17
test/data/icalendar/import-duration-2.ics
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
UID:20041127T183329Z-18215-1001-4536-49109@andromeda
|
||||
DTSTAMP:20041127T183315Z
|
||||
LAST-MODIFIED:20041127T183329
|
||||
SUMMARY:Urlaub
|
||||
DTSTART;VALUE=DATE:20011221
|
||||
DTEND;VALUE=DATE:20011221
|
||||
RRULE:FREQ=DAILY;UNTIL=20011229;INTERVAL=1;WKST=SU
|
||||
CLASS:PUBLIC
|
||||
SEQUENCE:1
|
||||
CREATED:20041127T183329
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
1
test/data/icalendar/import-duration.diary-american
Normal file
1
test/data/icalendar/import-duration.diary-american
Normal file
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-block 2 17 2005 2 23 2005)) duration
|
||||
1
test/data/icalendar/import-duration.diary-european
Normal file
1
test/data/icalendar/import-duration.diary-european
Normal file
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-block 17 2 2005 23 2 2005)) duration
|
||||
1
test/data/icalendar/import-duration.diary-iso
Normal file
1
test/data/icalendar/import-duration.diary-iso
Normal file
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-block 2005 2 17 2005 2 23)) duration
|
||||
10
test/data/icalendar/import-duration.ics
Normal file
10
test/data/icalendar/import-duration.ics
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20050217
|
||||
SUMMARY:duration
|
||||
DURATION:P7D
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
&7/23/2011 event-1
|
||||
&7/24/2011 event-2
|
||||
&7/25/2011 event-3a
|
||||
&7/25/2011 event-3b
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
&23/7/2011 event-1
|
||||
&24/7/2011 event-2
|
||||
&25/7/2011 event-3a
|
||||
&25/7/2011 event-3b
|
||||
4
test/data/icalendar/import-multiple-vcalendars.diary-iso
Normal file
4
test/data/icalendar/import-multiple-vcalendars.diary-iso
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
&2011/7/23 event-1
|
||||
&2011/7/24 event-2
|
||||
&2011/7/25 event-3a
|
||||
&2011/7/25 event-3b
|
||||
21
test/data/icalendar/import-multiple-vcalendars.ics
Normal file
21
test/data/icalendar/import-multiple-vcalendars.ics
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20110723
|
||||
SUMMARY:event-1
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20110724
|
||||
SUMMARY:event-2
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20110725
|
||||
SUMMARY:event-3a
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20110725
|
||||
SUMMARY:event-3b
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
&9/19/2003 09:00-11:30 non-recurring
|
||||
|
|
@ -0,0 +1 @@
|
|||
&19/9/2003 09:00-11:30 non-recurring
|
||||
1
test/data/icalendar/import-non-recurring-1.diary-iso
Normal file
1
test/data/icalendar/import-non-recurring-1.diary-iso
Normal file
|
|
@ -0,0 +1 @@
|
|||
&2003/9/19 09:00-11:30 non-recurring
|
||||
10
test/data/icalendar/import-non-recurring-1.ics
Normal file
10
test/data/icalendar/import-non-recurring-1.ics
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:non-recurring
|
||||
DTSTART;VALUE=DATE-TIME:20030919T090000
|
||||
DTEND;VALUE=DATE-TIME:20030919T113000
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
&9/19/2003 non-recurring allday
|
||||
|
|
@ -0,0 +1 @@
|
|||
&19/9/2003 non-recurring allday
|
||||
|
|
@ -0,0 +1 @@
|
|||
&2003/9/19 non-recurring allday
|
||||
9
test/data/icalendar/import-non-recurring-all-day.ics
Normal file
9
test/data/icalendar/import-non-recurring-all-day.ics
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:non-recurring allday
|
||||
DTSTART;VALUE=DATE-TIME:20030919
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
&11/23/2004 14:45-15:45 another example
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
UID: 6161a312-3902-11d9-b512-f764153bb28b
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
&23/11/2004 14:45-15:45 another example
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
UID: 6161a312-3902-11d9-b512-f764153bb28b
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
&2004/11/23 14:45-15:45 another example
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
UID: 6161a312-3902-11d9-b512-f764153bb28b
|
||||
23
test/data/icalendar/import-non-recurring-another-example.ics
Normal file
23
test/data/icalendar/import-non-recurring-another-example.ics
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
UID
|
||||
:6161a312-3902-11d9-b512-f764153bb28b
|
||||
SUMMARY
|
||||
:another example
|
||||
STATUS
|
||||
:TENTATIVE
|
||||
CLASS
|
||||
:PRIVATE
|
||||
X-MOZILLA-ALARM-DEFAULT-LENGTH
|
||||
:0
|
||||
DTSTART
|
||||
:20041123T144500
|
||||
DTEND
|
||||
:20041123T154500
|
||||
DTSTAMP
|
||||
:20041118T013641Z
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
&%%(and (diary-block 7 19 2004 8 27 2004)) Sommerferien
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
UID: 748f2da0-0d9b-11d8-97af-b4ec8686ea61
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
&%%(and (diary-block 19 7 2004 27 8 2004)) Sommerferien
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
UID: 748f2da0-0d9b-11d8-97af-b4ec8686ea61
|
||||
4
test/data/icalendar/import-non-recurring-block.diary-iso
Normal file
4
test/data/icalendar/import-non-recurring-block.diary-iso
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
&%%(and (diary-block 2004 7 19 2004 8 27)) Sommerferien
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
UID: 748f2da0-0d9b-11d8-97af-b4ec8686ea61
|
||||
16
test/data/icalendar/import-non-recurring-block.ics
Normal file
16
test/data/icalendar/import-non-recurring-block.ics
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
UID:748f2da0-0d9b-11d8-97af-b4ec8686ea61
|
||||
SUMMARY:Sommerferien
|
||||
STATUS:TENTATIVE
|
||||
CLASS:PRIVATE
|
||||
X-MOZILLA-ALARM-DEFAULT-UNITS:Minuten
|
||||
X-MOZILLA-RECUR-DEFAULT-INTERVAL:0
|
||||
DTSTART;VALUE=DATE:20040719
|
||||
DTEND;VALUE=DATE:20040828
|
||||
DTSTAMP:20031103T011641Z
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
&11/23/2004 14:00-14:30 folded summary
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
UID: 04979712-3902-11d9-93dd-8f9f4afe08da
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
&23/11/2004 14:00-14:30 folded summary
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
UID: 04979712-3902-11d9-93dd-8f9f4afe08da
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
&2004/11/23 14:00-14:30 folded summary
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
UID: 04979712-3902-11d9-93dd-8f9f4afe08da
|
||||
25
test/data/icalendar/import-non-recurring-folded-summary.ics
Normal file
25
test/data/icalendar/import-non-recurring-folded-summary.ics
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
UID
|
||||
:04979712-3902-11d9-93dd-8f9f4afe08da
|
||||
SUMMARY
|
||||
:folded summary
|
||||
STATUS
|
||||
:TENTATIVE
|
||||
CLASS
|
||||
:PRIVATE
|
||||
X-MOZILLA-ALARM-DEFAULT-LENGTH
|
||||
:0
|
||||
DTSTART
|
||||
:20041123T140000
|
||||
DTEND
|
||||
:20041123T143000
|
||||
DTSTAMP
|
||||
:20041118T013430Z
|
||||
LAST-MODIFIED
|
||||
:20041118T013640Z
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
&9/19/2003 long summary
|
||||
|
|
@ -0,0 +1 @@
|
|||
&19/9/2003 long summary
|
||||
|
|
@ -0,0 +1 @@
|
|||
&2003/9/19 long summary
|
||||
10
test/data/icalendar/import-non-recurring-long-summary.ics
Normal file
10
test/data/icalendar/import-non-recurring-long-summary.ics
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:long
|
||||
summary
|
||||
DTSTART;VALUE=DATE:20030919
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
&5/9/2003 07:00-12:00 On-Site Interview
|
||||
Desc: 10:30am - Blah
|
||||
Location: Cccc
|
||||
Organizer: MAILTO:aaaaaaa@aaaaaaa.com
|
||||
Status: CONFIRMED
|
||||
UID: 040000008200E00074C5B7101A82E0080000000080B6DE661216C301000000000000000010000000DB823520692542408ED02D7023F9DFF9
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
&9/5/2003 07:00-12:00 On-Site Interview
|
||||
Desc: 10:30am - Blah
|
||||
Location: Cccc
|
||||
Organizer: MAILTO:aaaaaaa@aaaaaaa.com
|
||||
Status: CONFIRMED
|
||||
UID: 040000008200E00074C5B7101A82E0080000000080B6DE661216C301000000000000000010000000DB823520692542408ED02D7023F9DFF9
|
||||
54
test/data/icalendar/import-real-world-2003-05-29.ics
Normal file
54
test/data/icalendar/import-real-world-2003-05-29.ics
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
BEGIN:VCALENDAR
|
||||
METHOD:REQUEST
|
||||
PRODID:Microsoft CDO for Microsoft Exchange
|
||||
VERSION:2.0
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Kolkata, Chennai, Mumbai, New Delhi
|
||||
X-MICROSOFT-CDO-TZID:23
|
||||
BEGIN:STANDARD
|
||||
DTSTART:16010101T000000
|
||||
TZOFFSETFROM:+0530
|
||||
TZOFFSETTO:+0530
|
||||
END:STANDARD
|
||||
BEGIN:DAYLIGHT
|
||||
DTSTART:16010101T000000
|
||||
TZOFFSETFROM:+0530
|
||||
TZOFFSETTO:+0530
|
||||
END:DAYLIGHT
|
||||
END:VTIMEZONE
|
||||
BEGIN:VEVENT
|
||||
DTSTAMP:20030509T043439Z
|
||||
DTSTART;TZID="Kolkata, Chennai, Mumbai, New Delhi":20030509T103000
|
||||
SUMMARY:On-Site Interview
|
||||
UID:040000008200E00074C5B7101A82E0080000000080B6DE661216C301000000000000000
|
||||
010000000DB823520692542408ED02D7023F9DFF9
|
||||
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Xxxxx
|
||||
xxx Xxxxxxxxxxxx":MAILTO:xxxxxxxx@xxxxxxx.com
|
||||
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Yyyyyyy Y
|
||||
yyyy":MAILTO:yyyyyyy@yyyyyyy.com
|
||||
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Zzzz Zzzz
|
||||
zz":MAILTO:zzzzzz@zzzzzzz.com
|
||||
ORGANIZER;CN="Aaaaaa Aaaaa":MAILTO:aaaaaaa@aaaaaaa.com
|
||||
LOCATION:Cccc
|
||||
DTEND;TZID="Kolkata, Chennai, Mumbai, New Delhi":20030509T153000
|
||||
DESCRIPTION:10:30am - Blah
|
||||
SEQUENCE:0
|
||||
PRIORITY:5
|
||||
CLASS:
|
||||
CREATED:20030509T043439Z
|
||||
LAST-MODIFIED:20030509T043459Z
|
||||
STATUS:CONFIRMED
|
||||
TRANSP:OPAQUE
|
||||
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
|
||||
X-MICROSOFT-CDO-INSTTYPE:0
|
||||
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
|
||||
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
|
||||
X-MICROSOFT-CDO-IMPORTANCE:1
|
||||
X-MICROSOFT-CDO-OWNERAPPTID:126441427
|
||||
BEGIN:VALARM
|
||||
ACTION:DISPLAY
|
||||
DESCRIPTION:REMINDER
|
||||
TRIGGER;RELATED=START:-PT00H15M00S
|
||||
END:VALARM
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
&6/23/2003 11:00-12:00 Dress Rehearsal for XXXX-XXXX
|
||||
Desc: 753 Zeichen hier radiert
|
||||
Location: 555 or TN 555-5555 ID 5555 & NochWas (see below)
|
||||
Organizer: MAILTO:xxx@xxxxx.com
|
||||
Status: CONFIRMED
|
||||
UID: 040000008200E00074C5B7101A82E00800000000608AA7DA9835C3010000000000000000100000007C3A6D65EE726E40B7F3D69A23BD567E
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
&23/6/2003 11:00-12:00 Dress Rehearsal for XXXX-XXXX
|
||||
Desc: 753 Zeichen hier radiert
|
||||
Location: 555 or TN 555-5555 ID 5555 & NochWas (see below)
|
||||
Organizer: MAILTO:xxx@xxxxx.com
|
||||
Status: CONFIRMED
|
||||
UID: 040000008200E00074C5B7101A82E00800000000608AA7DA9835C3010000000000000000100000007C3A6D65EE726E40B7F3D69A23BD567E
|
||||
36
test/data/icalendar/import-real-world-2003-06-18a.ics
Normal file
36
test/data/icalendar/import-real-world-2003-06-18a.ics
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
DTSTAMP:20030618T195512Z
|
||||
DTSTART;TZID="Mountain Time (US & Canada)":20030623T110000
|
||||
SUMMARY:Dress Rehearsal for XXXX-XXXX
|
||||
UID:040000008200E00074C5B7101A82E00800000000608AA7DA9835C301000000000000000
|
||||
0100000007C3A6D65EE726E40B7F3D69A23BD567E
|
||||
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="AAAAA,AAA
|
||||
AA (A-AAAAAAA,ex1)":MAILTO:aaaaa_aaaaa@aaaaa.com
|
||||
ORGANIZER;CN="ABCD,TECHTRAINING
|
||||
(A-Americas,exgen1)":MAILTO:xxx@xxxxx.com
|
||||
LOCATION:555 or TN 555-5555 ID 5555 & NochWas (see below)
|
||||
DTEND;TZID="Mountain Time (US & Canada)":20030623T120000
|
||||
DESCRIPTION:753 Zeichen hier radiert
|
||||
SEQUENCE:0
|
||||
PRIORITY:5
|
||||
CLASS:
|
||||
CREATED:20030618T195518Z
|
||||
LAST-MODIFIED:20030618T195527Z
|
||||
STATUS:CONFIRMED
|
||||
TRANSP:OPAQUE
|
||||
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
|
||||
X-MICROSOFT-CDO-INSTTYPE:0
|
||||
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
|
||||
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
|
||||
X-MICROSOFT-CDO-IMPORTANCE:1
|
||||
X-MICROSOFT-CDO-OWNERAPPTID:1022519251
|
||||
BEGIN:VALARM
|
||||
ACTION:DISPLAY
|
||||
DESCRIPTION:REMINDER
|
||||
TRIGGER;RELATED=START:-PT00H15M00S
|
||||
END:VALARM
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
&6/23/2003 17:00-18:00 Updated: Dress Rehearsal for ABC01-15
|
||||
Desc: Viele Zeichen standen hier früher
|
||||
Location: 123 or TN 123-1234 ID abcd & SonstWo (see below)
|
||||
Organizer: MAILTO:bbb@bbbbb.com
|
||||
Status: CONFIRMED
|
||||
UID: 040000008200E00074C5B7101A82E00800000000608AA7DA9835C3010000000000000000100000007C3A6D65EE726E40B7F3D69A23BD567E
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
&23/6/2003 17:00-18:00 Updated: Dress Rehearsal for ABC01-15
|
||||
Desc: Viele Zeichen standen hier früher
|
||||
Location: 123 or TN 123-1234 ID abcd & SonstWo (see below)
|
||||
Organizer: MAILTO:bbb@bbbbb.com
|
||||
Status: CONFIRMED
|
||||
UID: 040000008200E00074C5B7101A82E00800000000608AA7DA9835C3010000000000000000100000007C3A6D65EE726E40B7F3D69A23BD567E
|
||||
55
test/data/icalendar/import-real-world-2003-06-18b.ics
Normal file
55
test/data/icalendar/import-real-world-2003-06-18b.ics
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
BEGIN:VCALENDAR
|
||||
METHOD:REQUEST
|
||||
PRODID:Microsoft CDO for Microsoft Exchange
|
||||
VERSION:2.0
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Mountain Time (US & Canada)
|
||||
X-MICROSOFT-CDO-TZID:12
|
||||
BEGIN:STANDARD
|
||||
DTSTART:16010101T020000
|
||||
TZOFFSETFROM:-0600
|
||||
TZOFFSETTO:-0700
|
||||
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
|
||||
END:STANDARD
|
||||
BEGIN:DAYLIGHT
|
||||
DTSTART:16010101T020000
|
||||
TZOFFSETFROM:-0700
|
||||
TZOFFSETTO:-0600
|
||||
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=4;BYDAY=1SU
|
||||
END:DAYLIGHT
|
||||
END:VTIMEZONE
|
||||
BEGIN:VEVENT
|
||||
DTSTAMP:20030618T230323Z
|
||||
DTSTART;TZID="Mountain Time (US & Canada)":20030623T090000
|
||||
SUMMARY:Updated: Dress Rehearsal for ABC01-15
|
||||
UID:040000008200E00074C5B7101A82E00800000000608AA7DA9835C301000000000000000
|
||||
0100000007C3A6D65EE726E40B7F3D69A23BD567E
|
||||
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=20030618T20
|
||||
0700Z;RSVP=TRUE;CN="AAAAA,AAAAAA
|
||||
\(A-AAAAAAA,ex1)":MAILTO:aaaaaa_aaaaa@aaaaa
|
||||
.com
|
||||
ORGANIZER;CN="ABCD,TECHTRAINING
|
||||
\(A-Americas,exgen1)":MAILTO:bbb@bbbbb.com
|
||||
LOCATION:123 or TN 123-1234 ID abcd & SonstWo (see below)
|
||||
DTEND;TZID="Mountain Time (US & Canada)":20030623T100000
|
||||
DESCRIPTION:Viele Zeichen standen hier früher
|
||||
SEQUENCE:0
|
||||
PRIORITY:5
|
||||
CLASS:
|
||||
CREATED:20030618T230326Z
|
||||
LAST-MODIFIED:20030618T230335Z
|
||||
STATUS:CONFIRMED
|
||||
TRANSP:OPAQUE
|
||||
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
|
||||
X-MICROSOFT-CDO-INSTTYPE:0
|
||||
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
|
||||
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
|
||||
X-MICROSOFT-CDO-IMPORTANCE:1
|
||||
X-MICROSOFT-CDO-OWNERAPPTID:1022519251
|
||||
BEGIN:VALARM
|
||||
ACTION:DISPLAY
|
||||
DESCRIPTION:REMINDER
|
||||
TRIGGER;RELATED=START:-PT00H15M00S
|
||||
END:VALARM
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
&11/23/2004 14:00-14:30 Jjjjj & Wwwww
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
&11/23/2004 14:45-15:45 BB Aaaaaaaa Bbbbb
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
&11/23/2004 11:00-12:00 Hhhhhhhh
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
&%%(and (diary-cyclic 14 11 12 2004)) 14:00-18:30 MMM Aaaaaaaaa
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
&%%(and (diary-block 11 19 2004 11 19 2004)) Rrrr/Cccccc ii Aaaaaaaa
|
||||
Desc: Vvvvv Rrrr aaa Cccccc
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
&%%(and (diary-cyclic 7 11 1 2004)) Wwww aa hhhh
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
&23/11/2004 14:00-14:30 Jjjjj & Wwwww
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
&23/11/2004 14:45-15:45 BB Aaaaaaaa Bbbbb
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
&23/11/2004 11:00-12:00 Hhhhhhhh
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
&%%(and (diary-cyclic 14 12 11 2004)) 14:00-18:30 MMM Aaaaaaaaa
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
&%%(and (diary-block 19 11 2004 19 11 2004)) Rrrr/Cccccc ii Aaaaaaaa
|
||||
Desc: Vvvvv Rrrr aaa Cccccc
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
&%%(and (diary-cyclic 7 1 11 2004)) Wwww aa hhhh
|
||||
Status: TENTATIVE
|
||||
Class: PRIVATE
|
||||
120
test/data/icalendar/import-real-world-2004-11-19.ics
Normal file
120
test/data/icalendar/import-real-world-2004-11-19.ics
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
BEGIN:VCALENDAR
|
||||
VERSION
|
||||
:2.0
|
||||
PRODID
|
||||
:-//Mozilla.org/NONSGML Mozilla Calendar V1.0//EN
|
||||
BEGIN:VEVENT
|
||||
SUMMARY
|
||||
:Jjjjj & Wwwww
|
||||
STATUS
|
||||
:TENTATIVE
|
||||
CLASS
|
||||
:PRIVATE
|
||||
X-MOZILLA-ALARM-DEFAULT-LENGTH
|
||||
:0
|
||||
DTSTART
|
||||
:20041123T140000
|
||||
DTEND
|
||||
:20041123T143000
|
||||
DTSTAMP
|
||||
:20041118T013430Z
|
||||
LAST-MODIFIED
|
||||
:20041118T013640Z
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY
|
||||
:BB Aaaaaaaa Bbbbb
|
||||
STATUS
|
||||
:TENTATIVE
|
||||
CLASS
|
||||
:PRIVATE
|
||||
X-MOZILLA-ALARM-DEFAULT-LENGTH
|
||||
:0
|
||||
DTSTART
|
||||
:20041123T144500
|
||||
DTEND
|
||||
:20041123T154500
|
||||
DTSTAMP
|
||||
:20041118T013641Z
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY
|
||||
:Hhhhhhhh
|
||||
STATUS
|
||||
:TENTATIVE
|
||||
CLASS
|
||||
:PRIVATE
|
||||
X-MOZILLA-ALARM-DEFAULT-LENGTH
|
||||
:0
|
||||
DTSTART
|
||||
:20041123T110000
|
||||
DTEND
|
||||
:20041123T120000
|
||||
DTSTAMP
|
||||
:20041118T013831Z
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY
|
||||
:MMM Aaaaaaaaa
|
||||
STATUS
|
||||
:TENTATIVE
|
||||
CLASS
|
||||
:PRIVATE
|
||||
X-MOZILLA-ALARM-DEFAULT-LENGTH
|
||||
:0
|
||||
X-MOZILLA-RECUR-DEFAULT-INTERVAL
|
||||
:2
|
||||
RRULE
|
||||
:FREQ=WEEKLY;INTERVAL=2;BYDAY=FR
|
||||
DTSTART
|
||||
:20041112T140000
|
||||
DTEND
|
||||
:20041112T183000
|
||||
DTSTAMP
|
||||
:20041118T014117Z
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY
|
||||
:Rrrr/Cccccc ii Aaaaaaaa
|
||||
DESCRIPTION
|
||||
:Vvvvv Rrrr aaa Cccccc
|
||||
STATUS
|
||||
:TENTATIVE
|
||||
CLASS
|
||||
:PRIVATE
|
||||
X-MOZILLA-ALARM-DEFAULT-LENGTH
|
||||
:0
|
||||
DTSTART
|
||||
;VALUE=DATE
|
||||
:20041119
|
||||
DTEND
|
||||
;VALUE=DATE
|
||||
:20041120
|
||||
DTSTAMP
|
||||
:20041118T013107Z
|
||||
LAST-MODIFIED
|
||||
:20041118T014203Z
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY
|
||||
:Wwww aa hhhh
|
||||
STATUS
|
||||
:TENTATIVE
|
||||
CLASS
|
||||
:PRIVATE
|
||||
X-MOZILLA-ALARM-DEFAULT-LENGTH
|
||||
:0
|
||||
RRULE
|
||||
:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO
|
||||
DTSTART
|
||||
;VALUE=DATE
|
||||
:20041101
|
||||
DTEND
|
||||
;VALUE=DATE
|
||||
:20041102
|
||||
DTSTAMP
|
||||
:20041118T014045Z
|
||||
LAST-MODIFIED
|
||||
:20041118T023846Z
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
&%%(and (diary-block 2 6 2005 2 6 2005)) Waitangi Day
|
||||
Desc: abcdef
|
||||
Status: CONFIRMED
|
||||
Class: PRIVATE
|
||||
UID: b60d398e-1dd1-11b2-a159-cf8cb05139f4
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
&%%(and (diary-block 6 2 2005 6 2 2005)) Waitangi Day
|
||||
Desc: abcdef
|
||||
Status: CONFIRMED
|
||||
Class: PRIVATE
|
||||
UID: b60d398e-1dd1-11b2-a159-cf8cb05139f4
|
||||
26
test/data/icalendar/import-real-world-2005-02-07.ics
Normal file
26
test/data/icalendar/import-real-world-2005-02-07.ics
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
UID
|
||||
:b60d398e-1dd1-11b2-a159-cf8cb05139f4
|
||||
SUMMARY
|
||||
:Waitangi Day
|
||||
DESCRIPTION
|
||||
:abcdef
|
||||
CATEGORIES
|
||||
:Public Holiday
|
||||
STATUS
|
||||
:CONFIRMED
|
||||
CLASS
|
||||
:PRIVATE
|
||||
DTSTART
|
||||
;VALUE=DATE
|
||||
:20050206
|
||||
DTEND
|
||||
;VALUE=DATE
|
||||
:20050207
|
||||
DTSTAMP
|
||||
:20050128T011209Z
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
&%%(and (diary-block 2 17 2005 2 23 2005)) Hhhhhh Aaaaa ii Aaaaaaaa
|
||||
UID: 6AFA7558-6994-11D9-8A3A-000A95A0E830-RID
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
&%%(and (diary-block 17 2 2005 23 2 2005)) Hhhhhh Aaaaa ii Aaaaaaaa
|
||||
UID: 6AFA7558-6994-11D9-8A3A-000A95A0E830-RID
|
||||
11
test/data/icalendar/import-real-world-2005-03-01.ics
Normal file
11
test/data/icalendar/import-real-world-2005-03-01.ics
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20050217
|
||||
SUMMARY:Hhhhhh Aaaaa ii Aaaaaaaa
|
||||
UID:6AFA7558-6994-11D9-8A3A-000A95A0E830-RID
|
||||
DTSTAMP:20050118T210335Z
|
||||
DURATION:P7D
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
&11/16/2014 04:30-05:30 NoDST
|
||||
Desc: Test event from timezone without DST
|
||||
Location: Everywhere
|
||||
UID: 20141116T171439Z-678877132@marudot.com
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
&16/11/2014 04:30-05:30 NoDST
|
||||
Desc: Test event from timezone without DST
|
||||
Location: Everywhere
|
||||
UID: 20141116T171439Z-678877132@marudot.com
|
||||
26
test/data/icalendar/import-real-world-no-dst.ics
Normal file
26
test/data/icalendar/import-real-world-no-dst.ics
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
BEGIN:VCALENDAR
|
||||
VERSION:2.0
|
||||
PRODID:-//www.marudot.com//iCal Event Maker
|
||||
X-WR-CALNAME:Test
|
||||
CALSCALE:GREGORIAN
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Asia/Tehran
|
||||
TZURL:http://tzurl.org/zoneinfo-outlook/Asia/Tehran
|
||||
X-LIC-LOCATION:Asia/Tehran
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+0330
|
||||
TZOFFSETTO:+0330
|
||||
TZNAME:IRST
|
||||
DTSTART:19700101T000000
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
BEGIN:VEVENT
|
||||
DTSTAMP:20141116T171439Z
|
||||
UID:20141116T171439Z-678877132@marudot.com
|
||||
DTSTART;TZID="Asia/Tehran":20141116T070000
|
||||
DTEND;TZID="Asia/Tehran":20141116T080000
|
||||
SUMMARY:NoDST
|
||||
DESCRIPTION:Test event from timezone without DST
|
||||
LOCATION:Everywhere
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-anniversary 8 15 2004)) Maria Himmelfahrt
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-anniversary 15 8 2004)) Maria Himmelfahrt
|
||||
1
test/data/icalendar/import-rrule-anniversary.diary-iso
Normal file
1
test/data/icalendar/import-rrule-anniversary.diary-iso
Normal file
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-anniversary 2004 8 15)) Maria Himmelfahrt
|
||||
11
test/data/icalendar/import-rrule-anniversary.ics
Normal file
11
test/data/icalendar/import-rrule-anniversary.ics
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20040815
|
||||
DTEND;VALUE=DATE:20040816
|
||||
SUMMARY:Maria Himmelfahrt
|
||||
RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=8
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-cyclic 14 9 19 2003) (diary-block 9 19 2003 10 31 2003)) 09:00-11:30 rrule count bi-weekly 3 times
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-cyclic 14 19 9 2003) (diary-block 19 9 2003 31 10 2003)) 09:00-11:30 rrule count bi-weekly 3 times
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-cyclic 14 2003 9 19) (diary-block 2003 9 19 2003 10 31)) 09:00-11:30 rrule count bi-weekly 3 times
|
||||
11
test/data/icalendar/import-rrule-count-bi-weekly.ics
Normal file
11
test/data/icalendar/import-rrule-count-bi-weekly.ics
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:rrule count bi-weekly 3 times
|
||||
DTSTART;VALUE=DATE-TIME:20030919T090000
|
||||
DTEND;VALUE=DATE-TIME:20030919T113000
|
||||
RRULE:FREQ=WEEKLY;COUNT=3;INTERVAL=2
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-cyclic 1 9 19 2003) (diary-block 9 19 2003 10 2 2003)) 09:00-11:30 rrule count daily long
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-cyclic 1 19 9 2003) (diary-block 19 9 2003 2 10 2003)) 09:00-11:30 rrule count daily long
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-cyclic 1 2003 9 19) (diary-block 2003 9 19 2003 10 2)) 09:00-11:30 rrule count daily long
|
||||
11
test/data/icalendar/import-rrule-count-daily-long.ics
Normal file
11
test/data/icalendar/import-rrule-count-daily-long.ics
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:rrule count daily long
|
||||
DTSTART;VALUE=DATE-TIME:20030919T090000
|
||||
DTEND;VALUE=DATE-TIME:20030919T113000
|
||||
RRULE:FREQ=DAILY;COUNT=14;INTERVAL=1
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-cyclic 1 9 19 2003) (diary-block 9 19 2003 9 19 2003)) 09:00-11:30 rrule count daily short
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-cyclic 1 19 9 2003) (diary-block 19 9 2003 19 9 2003)) 09:00-11:30 rrule count daily short
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-cyclic 1 2003 9 19) (diary-block 2003 9 19 2003 9 19)) 09:00-11:30 rrule count daily short
|
||||
11
test/data/icalendar/import-rrule-count-daily-short.ics
Normal file
11
test/data/icalendar/import-rrule-count-daily-short.ics
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:rrule count daily short
|
||||
DTSTART;VALUE=DATE-TIME:20030919T090000
|
||||
DTEND;VALUE=DATE-TIME:20030919T113000
|
||||
RRULE:FREQ=DAILY;COUNT=1;INTERVAL=1
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-date t 19 t) (diary-block 9 19 2003 5 19 2004)) 09:00-11:30 rrule count every second month
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-date 19 t t) (diary-block 19 9 2003 19 5 2004)) 09:00-11:30 rrule count every second month
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-date t t 19) (diary-block 2003 9 19 2004 5 19)) 09:00-11:30 rrule count every second month
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:rrule count every second month
|
||||
DTSTART;VALUE=DATE-TIME:20030919T090000
|
||||
DTEND;VALUE=DATE-TIME:20030919T113000
|
||||
RRULE:FREQ=MONTHLY;INTERVAL=2;COUNT=5
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-date 9 19 t) (diary-block 9 19 2003 9 19 2011)) 09:00-11:30 rrule count every second year
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-date 19 9 t) (diary-block 19 9 2003 19 9 2011)) 09:00-11:30 rrule count every second year
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-date t 9 19) (diary-block 2003 9 19 2011 9 19)) 09:00-11:30 rrule count every second year
|
||||
10
test/data/icalendar/import-rrule-count-every-second-year.ics
Normal file
10
test/data/icalendar/import-rrule-count-every-second-year.ics
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//Emacs//NONSGML icalendar.el//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:rrule count every second year
|
||||
DTSTART;VALUE=DATE-TIME:20030919T090000
|
||||
DTEND;VALUE=DATE-TIME:20030919T113000
|
||||
RRULE:FREQ=YEARLY;INTERVAL=2;COUNT=5
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
|
@ -0,0 +1 @@
|
|||
&%%(and (diary-date t 19 t) (diary-block 9 19 2003 1 19 2004)) 09:00-11:30 rrule count monthly
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue