annotate test/icalendar-testsuite.el @ 108263:9ca2a7762d32

src/Makefile.in: Convert comment in cpp section to the right format.
author Glenn Morris <rgm@gnu.org>
date Wed, 05 May 2010 22:50:26 -0700
parents 8ce4f8460ed4
children 111f90199914 376148b31b5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 ;; icalendar-testsuite.el --- Test suite for icalendar.el
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 106617
diff changeset
3 ;; Copyright (C) 2005, 2008, 2009, 2010 Free Software Foundation, Inc.
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
4
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5 ;; Author: Ulf Jasper <ulf.jasper@web.de>
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6 ;; Created: March 2005
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7 ;; Keywords: calendar
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8 ;; Human-Keywords: calendar, diary, iCalendar, vCalendar
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
10 ;; This file is part of GNU Emacs.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
11
94718
4b6931e21501 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 92340
diff changeset
12 ;; GNU Emacs is free software: you can redistribute it and/or modify
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13 ;; it under the terms of the GNU General Public License as published by
94718
4b6931e21501 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 92340
diff changeset
14 ;; the Free Software Foundation, either version 3 of the License, or
4b6931e21501 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 92340
diff changeset
15 ;; (at your option) any later version.
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17 ;; GNU Emacs is distributed in the hope that it will be useful,
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
20 ;; GNU General Public License for more details.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22 ;; You should have received a copy of the GNU General Public License
94718
4b6931e21501 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 92340
diff changeset
23 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25 ;;; Commentary:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
26
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27 ;; TODO:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28 ;; - Add more unit tests for functions, timezone etc.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
30 ;; Note: Watch the trailing blank that is added on import.
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
31
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 ;;; Code:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 (defun icalendar-testsuite-run ()
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34 "Run icalendar test suite."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 (interactive)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36 (icalendar-testsuite--run-function-tests)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37 (icalendar-testsuite--run-import-tests)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38 (icalendar-testsuite--run-export-tests)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 (icalendar-testsuite--run-cycle-tests)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40 (icalendar-testsuite--run-real-world-tests)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41 (message "All icalendar tests finished successfully."))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44 ;; Test methods for functions
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 (defun icalendar-testsuite--run-function-tests ()
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 "Perform tests for single icalendar functions."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 (icalendar-testsuite--test-parse-summary-and-rest)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 (icalendar-testsuite--test-format-ical-event)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 (icalendar-testsuite--test-import-format-sample)
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
51 (icalendar-testsuite--test-first-weekday-of-year)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
52 (icalendar-testsuite--test-datestring-to-isodate)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
53 (icalendar-testsuite--test-datetime-to-diary-date)
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
54 (icalendar-testsuite--test-diarytime-to-isotime)
107199
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
55 (icalendar-testsuite--test-convert-ordinary-to-ical)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
56 (icalendar-testsuite--test-convert-weekly-to-ical)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
57 (icalendar-testsuite--test-convert-yearly-to-ical)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
58 (icalendar-testsuite--test-convert-block-to-ical)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
59 (icalendar-testsuite--test-convert-cyclic-to-ical)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
60 (icalendar-testsuite--test-convert-anniversary-to-ical)
99286
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
61 (icalendar-testsuite--test-calendar-style)
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
62 (icalendar-testsuite--test-create-uid)
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
63 (icalendar-testsuite--test-parse-vtimezone))
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 (defun icalendar-testsuite--test-format-ical-event ()
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
66 "Test `icalendar--format-ical-event'."
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 (let ((icalendar-import-format "%s%d%l%o%t%u%c")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 (icalendar-import-format-summary "SUM %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 (icalendar-import-format-location " LOC %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 (icalendar-import-format-description " DES %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 (icalendar-import-format-organizer " ORG %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 (icalendar-import-format-status " STA %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 (icalendar-import-format-url " URL %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 (icalendar-import-format-class " CLA %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 (event (icalendar-testsuite--get-ical-event "BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 DTSTAMP:20030509T043439Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 DTSTART:20030509T103000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 SUMMARY:sum
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 ORGANIZER:org
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 LOCATION:loc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 DTEND:20030509T153000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 DESCRIPTION:des
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84 ")))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
85 (assert (string= (icalendar--format-ical-event event)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86 "SUM sum DES des LOC loc ORG org") t)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
87 (setq icalendar-import-format (lambda (&rest ignore)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 "helloworld"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89 (assert (string= (icalendar--format-ical-event event)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 "helloworld") t)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91 (setq icalendar-import-format
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 (lambda (e)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 (format "-%s-%s-%s-%s-%s-%s-%s-"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94 (icalendar--get-event-property event 'SUMMARY)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 (icalendar--get-event-property event 'DESCRIPTION)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96 (icalendar--get-event-property event 'LOCATION)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97 (icalendar--get-event-property event 'ORGANIZER)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98 (icalendar--get-event-property event 'STATUS)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99 (icalendar--get-event-property event 'URL)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100 (icalendar--get-event-property event 'CLASS))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 (assert (string= (icalendar--format-ical-event event)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
102 "-sum-des-loc-org-nil-nil-nil-") t)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
103
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
104 (defun icalendar-testsuite--test-parse-summary-and-rest ()
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
105 "Test `icalendar--parse-summary-and-rest'."
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106 (let ((icalendar-import-format "%s%d%l%o%t%u%c")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
107 (icalendar-import-format-summary "SUM %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
108 (icalendar-import-format-location " LOC %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
109 (icalendar-import-format-description " DES %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
110 (icalendar-import-format-organizer " ORG %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111 (icalendar-import-format-status " STA %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
112 (icalendar-import-format-url " URL %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
113 (icalendar-import-format-class " CLA %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
114 (result))
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
115 (setq result (icalendar--parse-summary-and-rest "SUM sum ORG org"))
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
116 (assert (string= (cdr (assoc 'org result)) "org"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
117
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
118 (setq result (icalendar--parse-summary-and-rest
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
119 "SUM sum DES des LOC loc ORG org STA sta URL url CLA cla"))
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
120 (assert (string= (cdr (assoc 'des result)) "des"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
121 (assert (string= (cdr (assoc 'loc result)) "loc"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122 (assert (string= (cdr (assoc 'org result)) "org"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 (assert (string= (cdr (assoc 'sta result)) "sta"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
124 (assert (string= (cdr (assoc 'cla result)) "cla"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
125
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
126 (setq icalendar-import-format (lambda () "Hello world"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
127 (setq result (icalendar--parse-summary-and-rest
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
128 "blah blah "))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
129 (assert (not result))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
130 ))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
131
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
132 (defun icalendar-testsuite--get-ical-event (ical-string)
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
133 "Helper function for testing `icalendar-testsuite--test-format-ical-event'.
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
134 Return icalendar event for ICAL-STRING."
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
135 (save-excursion
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
136 (with-temp-buffer
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
137 (insert ical-string)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
138 (goto-char (point-min))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
139 (car (icalendar--read-element nil nil)))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
140
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
141 (defun icalendar-testsuite--test-import-format-sample ()
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
142 "Test method for `icalendar-import-format-sample'."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
143 (assert (string= (icalendar-import-format-sample
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
144 (icalendar-testsuite--get-ical-event "BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
145 DTSTAMP:20030509T043439Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
146 DTSTART:20030509T103000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
147 SUMMARY:a
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
148 ORGANIZER:d
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
149 LOCATION:c
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
150 DTEND:20030509T153000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
151 DESCRIPTION:b
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
152 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
153 "))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
154 (concat "SUMMARY=`a' DESCRIPTION=`b' LOCATION=`c' "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
155 "ORGANIZER=`d' STATUS=`' URL=`' CLASS=`'"))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
156
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
157 (defun icalendar-testsuite--test-first-weekday-of-year ()
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
158 "Test method for `icalendar-first-weekday-of-year'."
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
159 (assert (eq 1 (icalendar-first-weekday-of-year "TU" 2008)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
160 (assert (eq 3 (icalendar-first-weekday-of-year "WE" 2007)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
161 (assert (eq 5 (icalendar-first-weekday-of-year "TH" 2006)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
162 (assert (eq 7 (icalendar-first-weekday-of-year "FR" 2005)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
163 (assert (eq 3 (icalendar-first-weekday-of-year "SA" 2004)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
164 (assert (eq 5 (icalendar-first-weekday-of-year "SU" 2003)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
165 (assert (eq 7 (icalendar-first-weekday-of-year "MO" 2002)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
166 (assert (eq 3 (icalendar-first-weekday-of-year "MO" 2000)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
167 (assert (eq 1 (icalendar-first-weekday-of-year "TH" 1970))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
168
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
169 (defun icalendar-testsuite--test-datestring-to-isodate ()
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
170 "Test method for `icalendar--datestring-to-isodate'."
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
171 (let ((calendar-date-style 'iso))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
172 ;; numeric iso
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
173 (assert (string= (icalendar--datestring-to-isodate "2008 05 11")
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
174 "20080511"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
175 (assert (string= (icalendar--datestring-to-isodate "2008 05 31")
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
176 "20080531"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
177 (assert (string= (icalendar--datestring-to-isodate "2008 05 31" 2)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
178 "20080602"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
179
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
180 ;; numeric european
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
181 (setq calendar-date-style 'european)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
182 (assert (string= (icalendar--datestring-to-isodate "11 05 2008")
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
183 "20080511"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
184 (assert (string= (icalendar--datestring-to-isodate "31 05 2008")
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
185 "20080531"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
186 (assert (string= (icalendar--datestring-to-isodate "31 05 2008" 2)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
187 "20080602"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
188
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
189 ;; numeric american
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
190 (setq calendar-date-style 'american)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
191 (assert (string= (icalendar--datestring-to-isodate "11 05 2008")
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
192 "20081105"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
193 (assert (string= (icalendar--datestring-to-isodate "12 30 2008")
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
194 "20081230"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
195 (assert (string= (icalendar--datestring-to-isodate "12 30 2008" 2)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
196 "20090101"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
197
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
198 ;; non-numeric
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
199 (setq calendar-date-style nil) ;not necessary for conversion
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
200 (assert (string= (icalendar--datestring-to-isodate "Nov 05 2008")
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
201 "20081105"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
202 (assert (string= (icalendar--datestring-to-isodate "05 Nov 2008")
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
203 "20081105"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
204 (assert (string= (icalendar--datestring-to-isodate "2008 Nov 05")
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
205 "20081105"))))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
206
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
207 (defun icalendar-testsuite--test-datetime-to-diary-date ()
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
208 "Test method for `icalendar--datetime-to-diary-date'."
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
209 (let* ((datetime '(59 59 23 31 12 2008))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
210 (calendar-date-style 'iso))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
211 (assert (string= (icalendar--datetime-to-diary-date datetime)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
212 "2008 12 31"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
213 (setq calendar-date-style 'european)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
214 (assert (string= (icalendar--datetime-to-diary-date datetime)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
215 "31 12 2008"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
216 (setq calendar-date-style 'american)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
217 (assert (string= (icalendar--datetime-to-diary-date datetime)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
218 "12 31 2008"))))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
219
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
220 (defun icalendar-testsuite--test-diarytime-to-isotime ()
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
221 "Test method for `icalendar--diarytime-to-isotime'."
107199
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
222 (assert (string= (icalendar--diarytime-to-isotime "01:15" "")
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
223 "T011500"))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
224 (assert (string= (icalendar--diarytime-to-isotime "1:15" "")
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
225 "T011500"))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
226 (assert (string= (icalendar--diarytime-to-isotime "0:01" "")
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
227 "T000100"))
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
228 (assert (string= (icalendar--diarytime-to-isotime "0100" "")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
229 "T010000"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
230 (assert (string= (icalendar--diarytime-to-isotime "0100" "am")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
231 "T010000"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
232 (assert (string= (icalendar--diarytime-to-isotime "0100" "pm")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
233 "T130000"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
234 (assert (string= (icalendar--diarytime-to-isotime "1200" "")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
235 "T120000"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
236 (assert (string= (icalendar--diarytime-to-isotime "17:17" "")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
237 "T171700"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
238 (assert (string= (icalendar--diarytime-to-isotime "1200" "am")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
239 "T000000"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
240 (assert (string= (icalendar--diarytime-to-isotime "1201" "am")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
241 "T000100"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
242 (assert (string= (icalendar--diarytime-to-isotime "1259" "am")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
243 "T005900"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
244 (assert (string= (icalendar--diarytime-to-isotime "1200" "pm")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
245 "T120000"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
246 (assert (string= (icalendar--diarytime-to-isotime "1201" "pm")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
247 "T120100"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
248 (assert (string= (icalendar--diarytime-to-isotime "1259" "pm")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
249 "T125900")))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
250
107199
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
251 (defun icalendar-testsuite--test-convert-ordinary-to-ical ()
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
252 "Test method for `icalendar--convert-ordinary-to-ical'."
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
253 (let* ((calendar-date-style 'iso)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
254 result)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
255 ;; without time
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
256 (setq result (icalendar--convert-ordinary-to-ical "&?" "2010 2 15 subject"))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
257 (assert (= 2 (length result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
258 (assert (string= "\nDTSTART;VALUE=DATE:20100215\nDTEND;VALUE=DATE:20100216"
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
259 (car result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
260 (assert (string= "subject" (cadr result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
261
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
262 ;; with time
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
263 (setq result (icalendar--convert-ordinary-to-ical
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
264 "&?" "&2010 2 15 12:34-23:45 s"))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
265 (assert (= 2 (length result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
266 (assert (string= (concat "\nDTSTART;VALUE=DATE-TIME:20100215T123400"
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
267 "\nDTEND;VALUE=DATE-TIME:20100215T234500")
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
268 (car result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
269 (assert (string= "s" (cadr result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
270
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
271 ;; with time, again -- test bug#5549
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
272 (setq result (icalendar--convert-ordinary-to-ical
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
273 "x?" "x2010 2 15 0:34-1:45 s"))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
274 (assert (= 2 (length result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
275 (assert (string= (concat "\nDTSTART;VALUE=DATE-TIME:20100215T003400"
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
276 "\nDTEND;VALUE=DATE-TIME:20100215T014500")
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
277 (car result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
278 (assert (string= "s" (cadr result)))))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
279
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
280 (defun icalendar-testsuite--test-convert-weekly-to-ical ()
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
281 "Test method for `icalendar--convert-weekly-to-ical'."
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
282 (let* ((calendar-date-style 'iso)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
283 result
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
284 (calendar-day-name-array
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
285 ["Sunday" "Monday" "Tuesday" "Wednesday" "Thursday" "Friday"
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
286 "Saturday"]))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
287 (setq result (icalendar--convert-weekly-to-ical "" "Monday 8:30 subject"))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
288 (assert (= 2 (length result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
289 (assert (string= (concat "\nDTSTART;VALUE=DATE-TIME:20050103T083000"
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
290 "\nDTEND;VALUE=DATE-TIME:20050103T093000"
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
291 "\nRRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO")
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
292 (car result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
293 (assert (string= "subject" (cadr result)))))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
294
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
295 (defun icalendar-testsuite--test-convert-yearly-to-ical ()
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
296 "Test method for `icalendar--convert-yearly-to-ical'."
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
297 (let* ((calendar-date-style 'iso)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
298 result
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
299 (calendar-month-name-array
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
300 ["January" "February" "March" "April" "May" "June" "July" "August"
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
301 "September" "October" "November" "December"]))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
302 (setq result (icalendar--convert-yearly-to-ical "" "May 1 Tag der Arbeit"))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
303 (assert (= 2 (length result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
304 (assert (string= (concat
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
305 "\nDTSTART;VALUE=DATE:19000501"
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
306 "\nDTEND;VALUE=DATE:19000502"
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
307 "\nRRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=5;BYMONTHDAY=1")
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
308 (car result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
309 (assert (string= "Tag der Arbeit" (cadr result)))))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
310
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
311 (defun icalendar-testsuite--test-convert-block-to-ical ()
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
312 "Test method for `icalendar--convert-block-to-ical'."
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
313 (let* ((calendar-date-style 'iso)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
314 result)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
315 (setq result (icalendar--convert-block-to-ical
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
316 "" "%%(diary-block 2004 7 19 2004 8 27) Sommerferien"))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
317 (assert (= 2 (length result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
318 (assert (string= (concat
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
319 "\nDTSTART;VALUE=DATE:20040719"
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
320 "\nDTEND;VALUE=DATE:20040828")
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
321 (car result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
322 (assert (string= "Sommerferien" (cadr result)))))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
323
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
324 (defun icalendar-testsuite--test-convert-cyclic-to-ical ()
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
325 "Test method for `icalendar--convert-cyclic-to-ical'."
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
326 (let* ((calendar-date-style 'iso)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
327 result)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
328 (setq result (icalendar--convert-block-to-ical
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
329 "" "%%(diary-block 2004 7 19 2004 8 27) Sommerferien"))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
330 (assert (= 2 (length result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
331 (assert (string= (concat
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
332 "\nDTSTART;VALUE=DATE:20040719"
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
333 "\nDTEND;VALUE=DATE:20040828")
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
334 (car result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
335 (assert (string= "Sommerferien" (cadr result)))))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
336
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
337 (defun icalendar-testsuite--test-convert-anniversary-to-ical ()
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
338 "Test method for `icalendar--convert-anniversary-to-ical'."
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
339 (let* ((calendar-date-style 'iso)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
340 result)
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
341 (setq result (icalendar--convert-anniversary-to-ical
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
342 "" "%%(diary-anniversary 1964 6 30) g"))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
343 (assert (= 2 (length result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
344 (assert (string= (concat
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
345 "\nDTSTART;VALUE=DATE:19640630"
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
346 "\nDTEND;VALUE=DATE:19640701"
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
347 "\nRRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=06;BYMONTHDAY=30")
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
348 (car result)))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
349 (assert (string= "g" (cadr result)))))
8ce4f8460ed4 Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents: 106815
diff changeset
350
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
351 (defun icalendar-testsuite--test-calendar-style ()
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
352 "Test method for `icalendar--date-style'."
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
353 (dolist (calendar-date-style '(iso american european))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
354 (assert (eq (icalendar--date-style) calendar-date-style)))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
355 (let ((cds calendar-date-style)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
356 (european-calendar-style t))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
357 (makunbound 'calendar-date-style)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
358 (assert (eq (icalendar--date-style) 'european))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
359 (with-no-warnings (setq european-calendar-style nil)) ;still get warning!?! FIXME
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
360 (assert (eq (icalendar--date-style) 'american))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
361 (setq calendar-date-style cds)))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
362
99286
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
363 (defun icalendar-testsuite--test-create-uid ()
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
364 "Test method for `icalendar--create-uid'."
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
365 (let* ((icalendar-uid-format "xxx-%t-%c-%h-%u-%s")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
366 t-ct
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
367 (icalendar--uid-count 77)
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
368 (entry-full "30.06.1964 07:01 blahblah")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
369 (hash (format "%d" (abs (sxhash entry-full))))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
370 (contents "DTSTART:19640630T070100\nblahblah")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
371 (username (or user-login-name "UNKNOWN_USER"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
372 )
99286
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
373 ;; FIXME! If a test fails 'current-time is screwed. FIXME!
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
374 (fset 't-ct (symbol-function 'current-time))
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
375 (fset 'current-time (lambda () '(1 2 3)))
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
376 (assert (= 77 icalendar--uid-count))
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
377 (assert (string= (concat "xxx-123-77-" hash "-" username "-19640630")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
378 (icalendar--create-uid entry-full contents)))
99286
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
379 (assert (= 78 icalendar--uid-count))
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
380 (fset 'current-time (symbol-function 't-ct))
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
381
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
382 (setq contents "blahblah")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
383 (setq icalendar-uid-format "yyy%syyy")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
384 (assert (string= (concat "yyyDTSTARTyyy")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
385 (icalendar--create-uid entry-full contents)))
99286
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
386 ))
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
387
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
388 (defun icalendar-testsuite--test-parse-vtimezone ()
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
389 (let (vtimezone result)
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
390 (setq vtimezone (icalendar-testsuite--get-ical-event "BEGIN:VTIMEZONE
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
391 TZID:thename
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
392 BEGIN:STANDARD
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
393 DTSTART:16010101T040000
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
394 TZOFFSETFROM:+0300
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
395 TZOFFSETTO:+0200
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
396 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
397 END:STANDARD
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
398 BEGIN:DAYLIGHT
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
399 DTSTART:16010101T030000
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
400 TZOFFSETFROM:+0200
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
401 TZOFFSETTO:+0300
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
402 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
403 END:DAYLIGHT
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
404 END:VTIMEZONE
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
405 "))
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
406 (setq result (icalendar--parse-vtimezone vtimezone))
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
407 (assert (string= "thename" (car result)))
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
408 (message (cdr result))
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
409 (assert (string= "STD-02:00DST-03:00,M3.5.0/03:00:00,M10.5.0/04:00:00" (cdr result)))
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
410 (setq vtimezone (icalendar-testsuite--get-ical-event "BEGIN:VTIMEZONE
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
411 TZID:anothername
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
412 BEGIN:STANDARD
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
413 DTSTART:16010101T040000
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
414 TZOFFSETFROM:+0300
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
415 TZOFFSETTO:+0200
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
416 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=2MO;BYMONTH=10
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
417 END:STANDARD
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
418 BEGIN:DAYLIGHT
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
419 DTSTART:16010101T030000
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
420 TZOFFSETFROM:+0200
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
421 TZOFFSETTO:+0300
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
422 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=2MO;BYMONTH=3
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
423 END:DAYLIGHT
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
424 END:VTIMEZONE
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
425 "))
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
426 (setq result (icalendar--parse-vtimezone vtimezone))
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
427 (assert (string= "anothername" (car result)))
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
428 (message (cdr result))
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
429 (assert (string= "STD-02:00DST-03:00,M3.2.1/03:00:00,M10.2.1/04:00:00" (cdr result)))))
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
430
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
431 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
432 ;; Test methods for exporting from diary to icalendar
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
433 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
434
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
435 (defun icalendar-testsuite--test-export (input-iso input-european input-american
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
436 expected-output)
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
437 "Perform an export test.
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
438 Argument INPUT-ISO iso style diary string.
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
439 Argument INPUT-EUROPEAN european style diary string.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
440 Argument INPUT-AMERICAN american style diary string.
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
441 Argument EXPECTED-OUTPUT expected icalendar result string.
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
442
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
443 European style input data must use german month names. American
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
444 and ISO style input data must use english month names."
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
445 (message "--- icalendar-testsuite--test-export ---")
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
446 (let ((calendar-date-style 'iso)
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
447 (icalendar-recurring-start-year 2000))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
448 (set-time-zone-rule "CET") ;;FIXME: reset timezone!
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
449 (when input-iso
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
450 (let ((calendar-month-name-array
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
451 ["January" "February" "March" "April" "May" "June" "July" "August"
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
452 "September" "October" "November" "December"])
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
453 (calendar-day-name-array
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
454 ["Sunday" "Monday" "Tuesday" "Wednesday" "Thursday" "Friday"
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
455 "Saturday"]))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
456 (setq calendar-date-style 'iso)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
457 (icalendar-testsuite--do-test-export input-iso expected-output)))
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
458 (when input-european
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
459 (let ((calendar-month-name-array
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
460 ["Januar" "Februar" "März" "April" "Mai" "Juni" "Juli" "August"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
461 "September" "Oktober" "November" "Dezember"])
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
462 (calendar-day-name-array
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
463 ["Sonntag" "Montag" "Dienstag" "Mittwoch" "Donnerstag" "Freitag"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
464 "Samstag"]))
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
465 (setq calendar-date-style 'european)
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
466 (icalendar-testsuite--do-test-export input-european expected-output)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
467 (when input-american
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
468 (let ((calendar-month-name-array
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
469 ["January" "February" "March" "April" "May" "June" "July" "August"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
470 "September" "October" "November" "December"])
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
471 (calendar-day-name-array
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
472 ["Sunday" "Monday" "Tuesday" "Wednesday" "Thursday" "Friday"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
473 "Saturday"]))
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
474 (setq calendar-date-style 'american)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
475 (icalendar-testsuite--do-test-export input-american expected-output)))))
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
476
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
477 (defun icalendar-testsuite--do-test-export (input expected-output)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
478 "Actually perform export test.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
479 Argument INPUT input diary string.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
480 Argument EXPECTED-OUTPUT expected icalendar result string."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
481 (let ((temp-file (make-temp-file "icalendar-testsuite-ics")))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
482 (with-temp-buffer
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
483 (insert input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
484 (icalendar-export-region (point-min) (point-max) temp-file))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
485 (save-excursion
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
486 (find-file temp-file)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
487 (goto-char (point-min))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
488 (unless
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
489 (cond (expected-output
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
490 (and (re-search-forward "^\\s-*BEGIN:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
491 PRODID:-//Emacs//NONSGML icalendar.el//EN
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
492 VERSION:2.0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
493 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
494 UID:emacs[0-9]+
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
495 \\(\\(.\\|\n\\)+\\)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
496 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
497 END:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
498 \\s-*$"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
499 nil t)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
500 (string-match
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
501 (concat "^\\s-*"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
502 (regexp-quote (buffer-substring-no-properties
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
503 (match-beginning 1) (match-end 1)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
504 "\\s-*$")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
505 expected-output)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
506 (t
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
507 (re-search-forward "^\\s-*BEGIN:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
508 PRODID:-//Emacs//NONSGML icalendar.el//EN
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
509 VERSION:2.0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
510 END:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
511 \\s-*$"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
512 nil t)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
513 (error
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
514 "Export test failed! Input: `%s'\nFound:\n\n%s\n\nbut expected\n\n%s"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
515 input
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
516 (or (and (match-beginning 1)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
517 (buffer-substring-no-properties (match-beginning 1) (match-end 1)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
518 "<nil>")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
519 (or expected-output "<nil>"))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
520 (kill-buffer (find-buffer-visiting temp-file))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
521 (delete-file temp-file)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
522
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
523 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
524 ;; Test methods for importing from icalendar to diary
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
525 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
526
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
527 (defun icalendar-testsuite--test-import (input expected-iso expected-european
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
528 expected-american)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
529 "Perform import test.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
530 Argument INPUT icalendar event string.
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
531 Argument EXPECTED-ISO expected iso style diary string.
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
532 Argument EXPECTED-EUROPEAN expected european style diary string.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
533 Argument EXPECTED-AMERICAN expected american style diary string."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
534 (message "--- icalendar-testsuite--test-import ---")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
535 (let ((timezone (cadr (current-time-zone))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
536 (set-time-zone-rule "CET")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
537 (with-temp-buffer
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
538 (if (string-match "^BEGIN:VCALENDAR" input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
539 (insert input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
540 (insert "BEGIN:VCALENDAR\nPRODID:-//Emacs//NONSGML icalendar.el//EN\n")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
541 (insert "VERSION:2.0\nBEGIN:VEVENT\n")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
542 (insert input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
543 (unless (eq (char-before) ?\n)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
544 (insert "\n"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
545 (insert "END:VEVENT\nEND:VCALENDAR\n"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
546 (let ((icalendar-import-format "%s%d%l%o%t%u%c")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
547 (icalendar-import-format-summary "%s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
548 (icalendar-import-format-location "\n Location: %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
549 (icalendar-import-format-description "\n Desc: %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
550 (icalendar-import-format-organizer "\n Organizer: %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
551 (icalendar-import-format-status "\n Status: %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
552 (icalendar-import-format-url "\n URL: %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
553 (icalendar-import-format-class "\n Class: %s")
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
554 calendar-date-style)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
555 (when expected-iso
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
556 (setq calendar-date-style 'iso)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
557 (icalendar-testsuite--do-test-import input expected-iso))
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
558 (when expected-european
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
559 (setq calendar-date-style 'european)
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
560 (icalendar-testsuite--do-test-import input expected-european))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
561 (when expected-american
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
562 (setq calendar-date-style 'american)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
563 (icalendar-testsuite--do-test-import input expected-american))))
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
564 (set-time-zone-rule timezone)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
565
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
566 (defun icalendar-testsuite--do-test-import (input expected-output)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
567 "Actually perform import test.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
568 Argument INPUT input icalendar string.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
569 Argument EXPECTED-OUTPUT expected diary string."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
570 (let ((temp-file (make-temp-file "icalendar-test-diary")))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
571 (icalendar-import-buffer temp-file t t)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
572 (save-excursion
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
573 (find-file temp-file)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
574 (let ((result (buffer-substring-no-properties (point-min) (point-max))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
575 (unless (string-match (concat "^\\s-*" expected-output "\\s-*$")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
576 result)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
577 (error "Import test failed! Found `%s'\nbut expected `%s'" result
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
578 expected-output)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
579 (kill-buffer (find-buffer-visiting temp-file))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
580 (delete-file temp-file))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
581
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
582 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
583 ;; Test methods for cycle...
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
584 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
585 (defun icalendar-testsuite--test-cycle (input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
586 "Perform cycle test.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
587 Argument INPUT icalendar event string."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
588 (with-temp-buffer
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
589 (if (string-match "^BEGIN:VCALENDAR" input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
590 (insert input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
591 (insert "BEGIN:VCALENDAR\nPRODID:-//Emacs//NONSGML icalendar.el//EN\n")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
592 (insert "VERSION:2.0\nBEGIN:VEVENT\n")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
593 (insert input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
594 (unless (eq (char-before) ?\n)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
595 (insert "\n"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
596 (insert "END:VEVENT\nEND:VCALENDAR\n"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
597 (let ((icalendar-import-format "%s%d%l%o%t%u%c")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
598 (icalendar-import-format-summary "%s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
599 (icalendar-import-format-location "\n Location: %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
600 (icalendar-import-format-description "\n Desc: %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
601 (icalendar-import-format-organizer "\n Organizer: %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
602 (icalendar-import-format-status "\n Status: %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
603 (icalendar-import-format-url "\n URL: %s")
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
604 (icalendar-import-format-class "\n Class: %s"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
605 (dolist (calendar-date-style '(iso european american))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
606 (icalendar-testsuite--do-test-cycle)))))
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
607
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
608 (defun icalendar-testsuite--do-test-cycle ()
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
609 "Actually perform import/export cycle test."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
610 (let ((temp-diary (make-temp-file "icalendar-test-diary"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
611 (temp-ics (make-temp-file "icalendar-test-ics"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
612 (org-input (buffer-substring-no-properties (point-min) (point-max))))
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
613
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
614 ;; step 1: import
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
615 (icalendar-import-buffer temp-diary t t)
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
616
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
617 ;; step 2: export what was just imported
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
618 (save-excursion
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
619 (find-file temp-diary)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
620 (icalendar-export-region (point-min) (point-max) temp-ics))
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
621
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
622 ;; compare the output of step 2 with the input of step 1
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
623 (save-excursion
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
624 (find-file temp-ics)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
625 (goto-char (point-min))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
626 (when (re-search-forward "\nUID:.*\n" nil t)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
627 (replace-match "\n"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
628 (let ((cycled (buffer-substring-no-properties (point-min) (point-max))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
629 (unless (string-equal org-input cycled)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
630 (error "Import test failed! Found `%s'\nbut expected `%s'" cycled
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
631 org-input))))
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
632
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
633 ;; clean up -- Note this is done only if test is passed
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
634 (kill-buffer (find-buffer-visiting temp-diary))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
635 (save-excursion
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
636 (set-buffer (find-buffer-visiting temp-ics))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
637 (set-buffer-modified-p nil)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
638 (kill-buffer (current-buffer)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
639 (delete-file temp-diary)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
640 (delete-file temp-ics)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
641
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
642 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
643 ;; Import tests
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
644 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
645 (defun icalendar-testsuite--run-import-tests ()
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
646 "Perform standard import tests."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
647 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
648 "SUMMARY:non-recurring
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
649 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
650 DTEND;VALUE=DATE-TIME:20030919T113000"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
651 "&2003/9/19 09:00-11:30 non-recurring"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
652 "&19/9/2003 09:00-11:30 non-recurring"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
653 "&9/19/2003 09:00-11:30 non-recurring")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
654
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
655 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
656 "SUMMARY:non-recurring allday
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
657 DTSTART;VALUE=DATE-TIME:20030919"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
658 "&2003/9/19 non-recurring allday"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
659 "&19/9/2003 non-recurring allday"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
660 "&9/19/2003 non-recurring allday")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
661
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
662 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
663 "SUMMARY:long
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
664 summary
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
665 DTSTART;VALUE=DATE:20030919"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
666 "&2003/9/19 long summary"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
667 "&19/9/2003 long summary"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
668 "&9/19/2003 long summary")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
669
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
670 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
671 "UID:748f2da0-0d9b-11d8-97af-b4ec8686ea61
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
672 SUMMARY:Sommerferien
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
673 STATUS:TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
674 CLASS:PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
675 X-MOZILLA-ALARM-DEFAULT-UNITS:Minuten
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
676 X-MOZILLA-RECUR-DEFAULT-INTERVAL:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
677 DTSTART;VALUE=DATE:20040719
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
678 DTEND;VALUE=DATE:20040828
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
679 DTSTAMP:20031103T011641Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
680 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
681 "&%%(and (diary-block 2004 7 19 2004 8 27)) Sommerferien"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
682 "&%%(and (diary-block 19 7 2004 27 8 2004)) Sommerferien"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
683 "&%%(and (diary-block 7 19 2004 8 27 2004)) Sommerferien")
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
684
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
685 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
686 "UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
687 :04979712-3902-11d9-93dd-8f9f4afe08da
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
688 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
689 :folded summary
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
690 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
691 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
692 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
693 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
694 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
695 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
696 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
697 :20041123T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
698 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
699 :20041123T143000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
700 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
701 :20041118T013430Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
702 LAST-MODIFIED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
703 :20041118T013640Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
704 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
705 "&2004/11/23 14:00-14:30 folded summary"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
706 "&23/11/2004 14:00-14:30 folded summary"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
707 "&11/23/2004 14:00-14:30 folded summary")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
708 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
709 "UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
710 :6161a312-3902-11d9-b512-f764153bb28b
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
711 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
712 :another example
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
713 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
714 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
715 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
716 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
717 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
718 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
719 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
720 :20041123T144500
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
721 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
722 :20041123T154500
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
723 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
724 :20041118T013641Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
725 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
726 "&2004/11/23 14:45-15:45 another example"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
727 "&23/11/2004 14:45-15:45 another example"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
728 "&11/23/2004 14:45-15:45 another example")
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
729
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
730 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
731 "SUMMARY:rrule daily
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
732 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
733 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
734 RRULE:FREQ=DAILY;
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
735 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
736 "&%%(and (diary-cyclic 1 2003 9 19)) 09:00-11:30 rrule daily"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
737 "&%%(and (diary-cyclic 1 19 9 2003)) 09:00-11:30 rrule daily"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
738 "&%%(and (diary-cyclic 1 9 19 2003)) 09:00-11:30 rrule daily")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
739
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
740 ;; RRULE examples
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
741 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
742 "SUMMARY:rrule daily
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
743 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
744 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
745 RRULE:FREQ=DAILY;INTERVAL=2
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
746 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
747 "&%%(and (diary-cyclic 2 2003 9 19)) 09:00-11:30 rrule daily"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
748 "&%%(and (diary-cyclic 2 19 9 2003)) 09:00-11:30 rrule daily"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
749 "&%%(and (diary-cyclic 2 9 19 2003)) 09:00-11:30 rrule daily")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
750 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
751 "SUMMARY:rrule daily with exceptions
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
752 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
753 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
754 RRULE:FREQ=DAILY;INTERVAL=2
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
755 EXDATE:20030921,20030925
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
756 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
757 "&%%(and (not (diary-date 2003 9 25)) (not (diary-date 2003 9 21)) (diary-cyclic 2 2003 9 19)) 09:00-11:30 rrule daily with exceptions"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
758 "&%%(and (not (diary-date 25 9 2003)) (not (diary-date 21 9 2003)) (diary-cyclic 2 19 9 2003)) 09:00-11:30 rrule daily with exceptions"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
759 "&%%(and (not (diary-date 9 25 2003)) (not (diary-date 9 21 2003)) (diary-cyclic 2 9 19 2003)) 09:00-11:30 rrule daily with exceptions")
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
760
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
761 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
762 "SUMMARY:rrule weekly
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
763 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
764 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
765 RRULE:FREQ=WEEKLY;
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
766 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
767 "&%%(and (diary-cyclic 7 2003 9 19)) 09:00-11:30 rrule weekly"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
768 "&%%(and (diary-cyclic 7 19 9 2003)) 09:00-11:30 rrule weekly"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
769 "&%%(and (diary-cyclic 7 9 19 2003)) 09:00-11:30 rrule weekly")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
770 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
771 "SUMMARY:rrule monthly no end
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
772 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
773 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
774 RRULE:FREQ=MONTHLY;
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
775 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
776 "&%%(and (diary-date t t 19) (diary-block 2003 9 19 9999 1 1)) 09:00-11:30 rrule monthly no end"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
777 "&%%(and (diary-date 19 t t) (diary-block 19 9 2003 1 1 9999)) 09:00-11:30 rrule monthly no end"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
778 "&%%(and (diary-date t 19 t) (diary-block 9 19 2003 1 1 9999)) 09:00-11:30 rrule monthly no end")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
779 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
780 "SUMMARY:rrule monthly with end
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
781 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
782 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
783 RRULE:FREQ=MONTHLY;UNTIL=20050819;
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
784 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
785 "&%%(and (diary-date t t 19) (diary-block 2003 9 19 2005 8 19)) 09:00-11:30 rrule monthly with end"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
786 "&%%(and (diary-date 19 t t) (diary-block 19 9 2003 19 8 2005)) 09:00-11:30 rrule monthly with end"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
787 "&%%(and (diary-date t 19 t) (diary-block 9 19 2003 8 19 2005)) 09:00-11:30 rrule monthly with end")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
788 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
789 "DTSTART;VALUE=DATE:20040815
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
790 DTEND;VALUE=DATE:20040816
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
791 SUMMARY:Maria Himmelfahrt
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
792 UID:CC56BEA6-49D2-11D8-8833-00039386D1C2-RID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
793 RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=8
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
794 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
795 "&%%(and (diary-anniversary 2004 8 15)) Maria Himmelfahrt"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
796 "&%%(and (diary-anniversary 15 8 2004)) Maria Himmelfahrt"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
797 "&%%(and (diary-anniversary 8 15 2004)) Maria Himmelfahrt")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
798 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
799 "SUMMARY:rrule yearly
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
800 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
801 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
802 RRULE:FREQ=YEARLY;INTERVAL=2
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
803 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
804 "&%%(and (diary-anniversary 2003 9 19)) 09:00-11:30 rrule yearly" ;FIXME
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
805 "&%%(and (diary-anniversary 19 9 2003)) 09:00-11:30 rrule yearly" ;FIXME
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
806 "&%%(and (diary-anniversary 9 19 2003)) 09:00-11:30 rrule yearly") ;FIXME
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
807 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
808 "SUMMARY:rrule count daily short
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
809 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
810 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
811 RRULE:FREQ=DAILY;COUNT=1;INTERVAL=1
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
812 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
813 "&%%(and (diary-cyclic 1 2003 9 19) (diary-block 2003 9 19 2003 9 19)) 09:00-11:30 rrule count daily short"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
814 "&%%(and (diary-cyclic 1 19 9 2003) (diary-block 19 9 2003 19 9 2003)) 09:00-11:30 rrule count daily short"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
815 "&%%(and (diary-cyclic 1 9 19 2003) (diary-block 9 19 2003 9 19 2003)) 09:00-11:30 rrule count daily short")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
816 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
817 "SUMMARY:rrule count daily long
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
818 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
819 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
820 RRULE:FREQ=DAILY;COUNT=14;INTERVAL=1
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
821 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
822 "&%%(and (diary-cyclic 1 2003 9 19) (diary-block 2003 9 19 2003 10 2)) 09:00-11:30 rrule count daily long"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
823 "&%%(and (diary-cyclic 1 19 9 2003) (diary-block 19 9 2003 2 10 2003)) 09:00-11:30 rrule count daily long"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
824 "&%%(and (diary-cyclic 1 9 19 2003) (diary-block 9 19 2003 10 2 2003)) 09:00-11:30 rrule count daily long")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
825 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
826 "SUMMARY:rrule count bi-weekly 3 times
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
827 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
828 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
829 RRULE:FREQ=WEEKLY;COUNT=3;INTERVAL=2
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
830 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
831 "&%%(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"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
832 "&%%(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"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
833 "&%%(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")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
834 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
835 "SUMMARY:rrule count monthly
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
836 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
837 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
838 RRULE:FREQ=MONTHLY;INTERVAL=1;COUNT=5
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
839 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
840 "&%%(and (diary-date t t 19) (diary-block 2003 9 19 2004 1 19)) 09:00-11:30 rrule count monthly"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
841 "&%%(and (diary-date 19 t t) (diary-block 19 9 2003 19 1 2004)) 09:00-11:30 rrule count monthly"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
842 "&%%(and (diary-date t 19 t) (diary-block 9 19 2003 1 19 2004)) 09:00-11:30 rrule count monthly")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
843 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
844 "SUMMARY:rrule count every second month
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
845 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
846 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
847 RRULE:FREQ=MONTHLY;INTERVAL=2;COUNT=5
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
848 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
849 "&%%(and (diary-date t t 19) (diary-block 2003 9 19 2004 5 19)) 09:00-11:30 rrule count every second month" ;FIXME
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
850 "&%%(and (diary-date 19 t t) (diary-block 19 9 2003 19 5 2004)) 09:00-11:30 rrule count every second month" ;FIXME
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
851 "&%%(and (diary-date t 19 t) (diary-block 9 19 2003 5 19 2004)) 09:00-11:30 rrule count every second month") ;FIXME
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
852 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
853 "SUMMARY:rrule count yearly
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
854 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
855 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
856 RRULE:FREQ=YEARLY;INTERVAL=1;COUNT=5
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
857 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
858 "&%%(and (diary-date t 9 19) (diary-block 2003 9 19 2007 9 19)) 09:00-11:30 rrule count yearly"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
859 "&%%(and (diary-date 19 9 t) (diary-block 19 9 2003 19 9 2007)) 09:00-11:30 rrule count yearly"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
860 "&%%(and (diary-date 9 19 t) (diary-block 9 19 2003 9 19 2007)) 09:00-11:30 rrule count yearly")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
861 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
862 "SUMMARY:rrule count every second year
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
863 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
864 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
865 RRULE:FREQ=YEARLY;INTERVAL=2;COUNT=5
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
866 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
867 "&%%(and (diary-date t 9 19) (diary-block 2003 9 19 2011 9 19)) 09:00-11:30 rrule count every second year" ;FIXME!!!
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
868 "&%%(and (diary-date 19 9 t) (diary-block 19 9 2003 19 9 2011)) 09:00-11:30 rrule count every second year" ;FIXME!!!
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
869 "&%%(and (diary-date 9 19 t) (diary-block 9 19 2003 9 19 2011)) 09:00-11:30 rrule count every second year") ;FIXME!!!
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
870
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
871 ;; duration
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
872 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
873 "DTSTART;VALUE=DATE:20050217
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
874 SUMMARY:duration
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
875 DURATION:P7D
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
876 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
877 "&%%(and (diary-block 2005 2 17 2005 2 23)) duration"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
878 "&%%(and (diary-block 17 2 2005 23 2 2005)) duration"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
879 "&%%(and (diary-block 2 17 2005 2 23 2005)) duration")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
880
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
881 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
882 "UID:20041127T183329Z-18215-1001-4536-49109@andromeda
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
883 DTSTAMP:20041127T183315Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
884 LAST-MODIFIED:20041127T183329
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
885 SUMMARY:Urlaub
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
886 DTSTART;VALUE=DATE:20011221
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
887 DTEND;VALUE=DATE:20011221
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
888 RRULE:FREQ=DAILY;UNTIL=20011229;INTERVAL=1;WKST=SU
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
889 CLASS:PUBLIC
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
890 SEQUENCE:1
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
891 CREATED:20041127T183329
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
892 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
893 "&%%(and (diary-cyclic 1 2001 12 21) (diary-block 2001 12 21 2001 12 29)) Urlaub"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
894 "&%%(and (diary-cyclic 1 21 12 2001) (diary-block 21 12 2001 29 12 2001)) Urlaub"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
895 "&%%(and (diary-cyclic 1 12 21 2001) (diary-block 12 21 2001 12 29 2001)) Urlaub")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
896 )
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
897
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
898 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
899 ;; Export tests
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
900 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
901 (defun icalendar-testsuite--run-export-tests ()
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
902 "Perform standard export tests."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
903
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
904 (let ((icalendar-export-hidden-diary-entries nil))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
905 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
906 "&2000 Oct 3 ordinary no time "
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
907 "&3 Okt 2000 ordinary no time "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
908 "&Oct 3 2000 ordinary no time "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
909 nil))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
910
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
911 ;; "ordinary" events
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
912 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
913 "2000 Oct 3 ordinary no time "
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
914 "3 Okt 2000 ordinary no time "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
915 "Oct 3 2000 ordinary no time "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
916 "DTSTART;VALUE=DATE:20001003
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
917 DTEND;VALUE=DATE:20001004
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
918 SUMMARY:ordinary no time
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
919 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
920 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
921 "2000 Oct 3 16:30 ordinary with time"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
922 "3 Okt 2000 16:30 ordinary with time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
923 "Oct 3 2000 16:30 ordinary with time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
924 "DTSTART;VALUE=DATE-TIME:20001003T163000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
925 DTEND;VALUE=DATE-TIME:20001003T173000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
926 SUMMARY:ordinary with time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
927 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
928 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
929 "2000 10 3 16:30 ordinary with time 2"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
930 "3 10 2000 16:30 ordinary with time 2"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
931 "10 3 2000 16:30 ordinary with time 2"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
932 "DTSTART;VALUE=DATE-TIME:20001003T163000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
933 DTEND;VALUE=DATE-TIME:20001003T173000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
934 SUMMARY:ordinary with time 2
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
935 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
936
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
937 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
938 "2000/10/3 16:30 ordinary with time 3"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
939 "3/10/2000 16:30 ordinary with time 3"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
940 "10/3/2000 16:30 ordinary with time 3"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
941 "DTSTART;VALUE=DATE-TIME:20001003T163000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
942 DTEND;VALUE=DATE-TIME:20001003T173000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
943 SUMMARY:ordinary with time 3
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
944 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
945
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
946 ;; multiline -- FIXME!!!
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
947 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
948 "2000 October 3 16:30 multiline
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
949 17:30 multiline continued FIXME"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
950 "3 Oktober 2000 16:30 multiline
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
951 17:30 multiline continued FIXME"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
952 "October 3 2000 16:30 multiline
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
953 17:30 multiline continued FIXME"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
954 "DTSTART;VALUE=DATE-TIME:20001003T163000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
955 DTEND;VALUE=DATE-TIME:20001003T173000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
956 SUMMARY:multiline
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
957 DESCRIPTION:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
958 17:30 multiline continued FIXME
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
959 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
960
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
961 ;; weekly by day
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
962 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
963 "Monday 1:30pm weekly by day with start time"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
964 "Montag 13:30 weekly by day with start time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
965 "Monday 1:30pm weekly by day with start time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
966 "DTSTART;VALUE=DATE-TIME:20000103T133000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
967 DTEND;VALUE=DATE-TIME:20000103T143000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
968 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
969 SUMMARY:weekly by day with start time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
970 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
971
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
972 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
973 "Monday 13:30-15:00 weekly by day with start and end time"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
974 "Montag 13:30-15:00 weekly by day with start and end time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
975 "Monday 01:30pm-03:00pm weekly by day with start and end time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
976 "DTSTART;VALUE=DATE-TIME:20000103T133000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
977 DTEND;VALUE=DATE-TIME:20000103T150000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
978 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
979 SUMMARY:weekly by day with start and end time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
980 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
981
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
982 ;; yearly
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
983 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
984 "may 1 yearly no time"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
985 "1 Mai yearly no time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
986 "may 1 yearly no time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
987 "DTSTART;VALUE=DATE:19000501
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
988 DTEND;VALUE=DATE:19000502
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
989 RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=5;BYMONTHDAY=1
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
990 SUMMARY:yearly no time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
991 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
992
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
993 ;; anniversaries
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
994 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
995 "%%(diary-anniversary 1989 10 3) anniversary no time"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
996 "%%(diary-anniversary 3 10 1989) anniversary no time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
997 "%%(diary-anniversary 10 3 1989) anniversary no time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
998 "DTSTART;VALUE=DATE:19891003
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
999 DTEND;VALUE=DATE:19891004
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1000 RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=10;BYMONTHDAY=03
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1001 SUMMARY:anniversary no time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1002 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1003 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1004 "%%(diary-anniversary 1989 10 3) 19:00-20:00 anniversary with time"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1005 "%%(diary-anniversary 3 10 1989) 19:00-20:00 anniversary with time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1006 "%%(diary-anniversary 10 3 1989) 19:00-20:00 anniversary with time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1007 "DTSTART;VALUE=DATE-TIME:19891003T190000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1008 DTEND;VALUE=DATE-TIME:19891004T200000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1009 RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=10;BYMONTHDAY=03
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1010 SUMMARY:anniversary with time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1011 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1012
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1013 ;; block
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1014 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1015 "%%(diary-block 2001 6 18 2001 7 6) block no time"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1016 "%%(diary-block 18 6 2001 6 7 2001) block no time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1017 "%%(diary-block 6 18 2001 7 6 2001) block no time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1018 "DTSTART;VALUE=DATE:20010618
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1019 DTEND;VALUE=DATE:20010707
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1020 SUMMARY:block no time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1021 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1022 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1023 "%%(diary-block 2001 6 18 2001 7 6) 13:00-17:00 block with time"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1024 "%%(diary-block 18 6 2001 6 7 2001) 13:00-17:00 block with time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1025 "%%(diary-block 6 18 2001 7 6 2001) 13:00-17:00 block with time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1026 "DTSTART;VALUE=DATE-TIME:20010618T130000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1027 DTEND;VALUE=DATE-TIME:20010618T170000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1028 RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20010706
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1029 SUMMARY:block with time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1030 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1031 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1032 "%%(diary-block 2001 6 18 2001 7 6) 13:00 block no end time"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1033 "%%(diary-block 18 6 2001 6 7 2001) 13:00 block no end time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1034 "%%(diary-block 6 18 2001 7 6 2001) 13:00 block no end time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1035 "DTSTART;VALUE=DATE-TIME:20010618T130000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1036 DTEND;VALUE=DATE-TIME:20010618T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1037 RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20010706
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1038 SUMMARY:block no end time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1039 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1040 )
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1041
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1042 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1043 ;; Real world
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1044 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1045 (defun icalendar-testsuite--run-real-world-tests ()
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1046 "Perform real-world tests, as gathered from problem reports."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1047 ;; 2003-05-29
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1048 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1049 "BEGIN:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1050 METHOD:REQUEST
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1051 PRODID:Microsoft CDO for Microsoft Exchange
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1052 VERSION:2.0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1053 BEGIN:VTIMEZONE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1054 TZID:Kolkata\, Chennai\, Mumbai\, New Delhi
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1055 X-MICROSOFT-CDO-TZID:23
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1056 BEGIN:STANDARD
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1057 DTSTART:16010101T000000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1058 TZOFFSETFROM:+0530
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1059 TZOFFSETTO:+0530
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1060 END:STANDARD
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1061 BEGIN:DAYLIGHT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1062 DTSTART:16010101T000000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1063 TZOFFSETFROM:+0530
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1064 TZOFFSETTO:+0530
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1065 END:DAYLIGHT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1066 END:VTIMEZONE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1067 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1068 DTSTAMP:20030509T043439Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1069 DTSTART;TZID=\"Kolkata, Chennai, Mumbai, New Delhi\":20030509T103000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1070 SUMMARY:On-Site Interview
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1071 UID:040000008200E00074C5B7101A82E0080000000080B6DE661216C301000000000000000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1072 010000000DB823520692542408ED02D7023F9DFF9
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1073 ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=\"Xxxxx
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1074 xxx Xxxxxxxxxxxx\":MAILTO:xxxxxxxx@xxxxxxx.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1075 ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=\"Yyyyyyy Y
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1076 yyyy\":MAILTO:yyyyyyy@yyyyyyy.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1077 ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=\"Zzzz Zzzz
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1078 zz\":MAILTO:zzzzzz@zzzzzzz.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1079 ORGANIZER;CN=\"Aaaaaa Aaaaa\":MAILTO:aaaaaaa@aaaaaaa.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1080 LOCATION:Cccc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1081 DTEND;TZID=\"Kolkata, Chennai, Mumbai, New Delhi\":20030509T153000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1082 DESCRIPTION:10:30am - Blah
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1083 SEQUENCE:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1084 PRIORITY:5
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1085 CLASS:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1086 CREATED:20030509T043439Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1087 LAST-MODIFIED:20030509T043459Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1088 STATUS:CONFIRMED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1089 TRANSP:OPAQUE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1090 X-MICROSOFT-CDO-BUSYSTATUS:BUSY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1091 X-MICROSOFT-CDO-INSTTYPE:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1092 X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1093 X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1094 X-MICROSOFT-CDO-IMPORTANCE:1
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1095 X-MICROSOFT-CDO-OWNERAPPTID:126441427
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1096 BEGIN:VALARM
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1097 ACTION:DISPLAY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1098 DESCRIPTION:REMINDER
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1099 TRIGGER;RELATED=START:-PT00H15M00S
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1100 END:VALARM
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1101 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1102 END:VCALENDAR"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1103 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1104 "&9/5/2003 10:30-15:30 On-Site Interview
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1105 Desc: 10:30am - Blah
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1106 Location: Cccc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1107 Organizer: MAILTO:aaaaaaa@aaaaaaa.com"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1108 "&5/9/2003 10:30-15:30 On-Site Interview
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1109 Desc: 10:30am - Blah
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1110 Location: Cccc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1111 Organizer: MAILTO:aaaaaaa@aaaaaaa.com")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1112
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1113 ;; 2003-06-18 a
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1114 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1115 "DTSTAMP:20030618T195512Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1116 DTSTART;TZID=\"Mountain Time (US & Canada)\":20030623T110000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1117 SUMMARY:Dress Rehearsal for XXXX-XXXX
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1118 UID:040000008200E00074C5B7101A82E00800000000608AA7DA9835C301000000000000000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1119 0100000007C3A6D65EE726E40B7F3D69A23BD567E
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1120 ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=\"AAAAA,AAA
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1121 AA (A-AAAAAAA,ex1)\":MAILTO:aaaaa_aaaaa@aaaaa.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1122 ORGANIZER;CN=\"ABCD,TECHTRAINING
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1123 (A-Americas,exgen1)\":MAILTO:xxx@xxxxx.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1124 LOCATION:555 or TN 555-5555 ID 5555 & NochWas (see below)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1125 DTEND;TZID=\"Mountain Time (US & Canada)\":20030623T120000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1126 DESCRIPTION:753 Zeichen hier radiert
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1127 SEQUENCE:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1128 PRIORITY:5
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1129 CLASS:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1130 CREATED:20030618T195518Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1131 LAST-MODIFIED:20030618T195527Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1132 STATUS:CONFIRMED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1133 TRANSP:OPAQUE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1134 X-MICROSOFT-CDO-BUSYSTATUS:BUSY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1135 X-MICROSOFT-CDO-INSTTYPE:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1136 X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1137 X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1138 X-MICROSOFT-CDO-IMPORTANCE:1
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1139 X-MICROSOFT-CDO-OWNERAPPTID:1022519251
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1140 BEGIN:VALARM
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1141 ACTION:DISPLAY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1142 DESCRIPTION:REMINDER
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1143 TRIGGER;RELATED=START:-PT00H15M00S
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1144 END:VALARM"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1145 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1146 "&23/6/2003 11:00-12:00 Dress Rehearsal for XXXX-XXXX
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1147 Desc: 753 Zeichen hier radiert
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1148 Location: 555 or TN 555-5555 ID 5555 & NochWas (see below)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1149 Organizer: MAILTO:xxx@xxxxx.com"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1150 "&6/23/2003 11:00-12:00 Dress Rehearsal for XXXX-XXXX
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1151 Desc: 753 Zeichen hier radiert
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1152 Location: 555 or TN 555-5555 ID 5555 & NochWas (see below)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1153 Organizer: MAILTO:xxx@xxxxx.com")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1154
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1155 ;; 2003-06-18 b -- uses timezone
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1156 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1157 "BEGIN:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1158 METHOD:REQUEST
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1159 PRODID:Microsoft CDO for Microsoft Exchange
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1160 VERSION:2.0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1161 BEGIN:VTIMEZONE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1162 TZID:Mountain Time (US & Canada)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1163 X-MICROSOFT-CDO-TZID:12
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1164 BEGIN:STANDARD
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1165 DTSTART:16010101T020000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1166 TZOFFSETFROM:-0600
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1167 TZOFFSETTO:-0700
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1168 RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1169 END:STANDARD
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1170 BEGIN:DAYLIGHT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1171 DTSTART:16010101T020000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1172 TZOFFSETFROM:-0700
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1173 TZOFFSETTO:-0600
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1174 RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=4;BYDAY=1SU
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1175 END:DAYLIGHT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1176 END:VTIMEZONE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1177 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1178 DTSTAMP:20030618T230323Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1179 DTSTART;TZID=\"Mountain Time (US & Canada)\":20030623T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1180 SUMMARY:Updated: Dress Rehearsal for ABC01-15
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1181 UID:040000008200E00074C5B7101A82E00800000000608AA7DA9835C301000000000000000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1182 0100000007C3A6D65EE726E40B7F3D69A23BD567E
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1183 ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;X-REPLYTIME=20030618T20
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1184 0700Z;RSVP=TRUE;CN=\"AAAAA,AAAAAA
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1185 \(A-AAAAAAA,ex1)\":MAILTO:aaaaaa_aaaaa@aaaaa
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1186 .com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1187 ORGANIZER;CN=\"ABCD,TECHTRAINING
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1188 \(A-Americas,exgen1)\":MAILTO:bbb@bbbbb.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1189 LOCATION:123 or TN 123-1234 ID abcd & SonstWo (see below)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1190 DTEND;TZID=\"Mountain Time (US & Canada)\":20030623T100000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1191 DESCRIPTION:Viele Zeichen standen hier früher
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1192 SEQUENCE:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1193 PRIORITY:5
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1194 CLASS:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1195 CREATED:20030618T230326Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1196 LAST-MODIFIED:20030618T230335Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1197 STATUS:CONFIRMED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1198 TRANSP:OPAQUE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1199 X-MICROSOFT-CDO-BUSYSTATUS:BUSY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1200 X-MICROSOFT-CDO-INSTTYPE:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1201 X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1202 X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1203 X-MICROSOFT-CDO-IMPORTANCE:1
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1204 X-MICROSOFT-CDO-OWNERAPPTID:1022519251
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1205 BEGIN:VALARM
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1206 ACTION:DISPLAY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1207 DESCRIPTION:REMINDER
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1208 TRIGGER;RELATED=START:-PT00H15M00S
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1209 END:VALARM
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1210 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1211 END:VCALENDAR"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1212 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1213 "&23/6/2003 17:00-18:00 Updated: Dress Rehearsal for ABC01-15
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1214 Desc: Viele Zeichen standen hier früher
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1215 Location: 123 or TN 123-1234 ID abcd & SonstWo (see below)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1216 Organizer: MAILTO:bbb@bbbbb.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1217 Status: CONFIRMED"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1218 "&6/23/2003 17:00-18:00 Updated: Dress Rehearsal for ABC01-15
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1219 Desc: Viele Zeichen standen hier früher
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1220 Location: 123 or TN 123-1234 ID abcd & SonstWo (see below)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1221 Organizer: MAILTO:bbb@bbbbb.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1222 Status: CONFIRMED")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1223
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1224 ;; export 2004-10-28 block entries
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1225 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1226 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1227 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1228 "-*- mode: text; fill-column: 256;-*-
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1229
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1230 >>> block entries:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1231
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1232 %%(diary-block 11 8 2004 11 10 2004) Nov 8-10 aa
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1233 "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1234 "DTSTART;VALUE=DATE:20041108
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1235 DTEND;VALUE=DATE:20041111
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1236 SUMMARY:Nov 8-10 aa")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1237
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1238 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1239 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1240 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1241 "%%(diary-block 12 13 2004 12 17 2004) Dec 13-17 bb"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1242 "DTSTART;VALUE=DATE:20041213
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1243 DTEND;VALUE=DATE:20041218
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1244 SUMMARY:Dec 13-17 bb")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1245
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1246 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1247 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1248 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1249 "%%(diary-block 2 3 2005 2 4 2005) Feb 3-4 cc"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1250 "DTSTART;VALUE=DATE:20050203
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1251 DTEND;VALUE=DATE:20050205
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1252 SUMMARY:Feb 3-4 cc")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1253
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1254 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1255 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1256 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1257 "%%(diary-block 4 24 2005 4 29 2005) April 24-29 dd"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1258 "DTSTART;VALUE=DATE:20050424
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1259 DTEND;VALUE=DATE:20050430
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1260 SUMMARY:April 24-29 dd
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1261 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1262 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1263 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1264 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1265 "%%(diary-block 5 30 2005 6 1 2005) may 30 - June 1: ee"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1266 "DTSTART;VALUE=DATE:20050530
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1267 DTEND;VALUE=DATE:20050602
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1268 SUMMARY:may 30 - June 1: ee")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1269
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1270 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1271 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1272 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1273 "%%(diary-block 6 6 2005 6 8 2005) ff"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1274 "DTSTART;VALUE=DATE:20050606
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1275 DTEND;VALUE=DATE:20050609
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1276 SUMMARY:ff")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1277
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1278 ;; export 2004-10-28 anniversary entries
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1279 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1280 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1281 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1282 "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1283 >>> anniversaries:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1284
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1285 %%(diary-anniversary 3 28 1991) aa birthday (%d years old)"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1286 "DTSTART;VALUE=DATE:19910328
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1287 DTEND;VALUE=DATE:19910329
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1288 RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=03;BYMONTHDAY=28
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1289 SUMMARY:aa birthday (%d years old)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1290 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1291
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1292 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1293 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1294 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1295 "%%(diary-anniversary 5 17 1957) bb birthday (%d years old)"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1296 "DTSTART;VALUE=DATE:19570517
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1297 DTEND;VALUE=DATE:19570518
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1298 RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=05;BYMONTHDAY=17
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1299 SUMMARY:bb birthday (%d years old)")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1300
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1301 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1302 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1303 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1304 "%%(diary-anniversary 6 8 1997) cc birthday (%d years old)"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1305 "DTSTART;VALUE=DATE:19970608
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1306 DTEND;VALUE=DATE:19970609
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1307 RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=06;BYMONTHDAY=08
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1308 SUMMARY:cc birthday (%d years old)")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1309
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1310 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1311 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1312 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1313 "%%(diary-anniversary 7 22 1983) dd (%d years ago...!)"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1314 "DTSTART;VALUE=DATE:19830722
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1315 DTEND;VALUE=DATE:19830723
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1316 RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=07;BYMONTHDAY=22
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1317 SUMMARY:dd (%d years ago...!)")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1318
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1319 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1320 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1321 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1322 "%%(diary-anniversary 8 1 1988) ee birthday (%d years old)"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1323 "DTSTART;VALUE=DATE:19880801
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1324 DTEND;VALUE=DATE:19880802
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1325 RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=08;BYMONTHDAY=01
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1326 SUMMARY:ee birthday (%d years old)")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1327
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1328 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1329 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1330 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1331 "%%(diary-anniversary 9 21 1957) ff birthday (%d years old)"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1332 "DTSTART;VALUE=DATE:19570921
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1333 DTEND;VALUE=DATE:19570922
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1334 RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=09;BYMONTHDAY=21
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1335 SUMMARY:ff birthday (%d years old)")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1336
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1337
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1338 ;; FIXME!
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1339
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1340 ;; export 2004-10-28 monthly, weekly entries
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1341
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1342 ;; (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1343 ;; nil
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1344 ;; "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1345 ;; >>> ------------ monthly:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1346
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1347 ;; */27/* 10:00 blah blah"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1348 ;; "xxx")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1349
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1350 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1351 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1352 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1353 ">>> ------------ my week:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1354
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1355 Monday 13:00 MAC"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1356 "DTSTART;VALUE=DATE-TIME:20000103T130000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1357 DTEND;VALUE=DATE-TIME:20000103T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1358 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1359 SUMMARY:MAC")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1360
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1361 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1362 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1363 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1364 "Monday 15:00 a1"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1365 "DTSTART;VALUE=DATE-TIME:20000103T150000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1366 DTEND;VALUE=DATE-TIME:20000103T160000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1367 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1368 SUMMARY:a1")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1369
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1370
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1371 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1372 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1373 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1374 "Monday 16:00-17:00 a2"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1375 "DTSTART;VALUE=DATE-TIME:20000103T160000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1376 DTEND;VALUE=DATE-TIME:20000103T170000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1377 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1378 SUMMARY:a2")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1379
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1380 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1381 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1382 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1383 "Tuesday 11:30-13:00 a3"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1384 "DTSTART;VALUE=DATE-TIME:20000104T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1385 DTEND;VALUE=DATE-TIME:20000104T130000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1386 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=TU
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1387 SUMMARY:a3")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1388
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1389 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1390 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1391 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1392 "Tuesday 15:00 a4"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1393 "DTSTART;VALUE=DATE-TIME:20000104T150000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1394 DTEND;VALUE=DATE-TIME:20000104T160000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1395 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=TU
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1396 SUMMARY:a4")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1397
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1398 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1399 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1400 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1401 "Wednesday 13:00 a5"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1402 "DTSTART;VALUE=DATE-TIME:20000105T130000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1403 DTEND;VALUE=DATE-TIME:20000105T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1404 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1405 SUMMARY:a5")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1406
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1407 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1408 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1409 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1410 "Wednesday 11:30-13:30 a6"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1411 "DTSTART;VALUE=DATE-TIME:20000105T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1412 DTEND;VALUE=DATE-TIME:20000105T133000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1413 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1414 SUMMARY:a6")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1415
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1416 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1417 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1418 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1419 "Wednesday 15:00 s1"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1420 "DTSTART;VALUE=DATE-TIME:20000105T150000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1421 DTEND;VALUE=DATE-TIME:20000105T160000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1422 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1423 SUMMARY:s1")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1424
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1425
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1426 ;; export 2004-10-28 regular entries
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1427 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1428 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1429 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1430 "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1431 >>> regular diary entries:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1432
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1433 Oct 12 2004, 14:00 Tue: [2004-10-12] q1"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1434 "DTSTART;VALUE=DATE-TIME:20041012T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1435 DTEND;VALUE=DATE-TIME:20041012T150000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1436 SUMMARY:Tue: [2004-10-12] q1")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1437
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1438 ;; 2004-11-19
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1439 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1440 "BEGIN:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1441 VERSION
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1442 :2.0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1443 PRODID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1444 :-//Mozilla.org/NONSGML Mozilla Calendar V1.0//EN
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1445 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1446 UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1447 :04979712-3902-11d9-93dd-8f9f4afe08da
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1448 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1449 :Jjjjj & Wwwww
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1450 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1451 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1452 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1453 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1454 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1455 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1456 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1457 :20041123T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1458 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1459 :20041123T143000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1460 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1461 :20041118T013430Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1462 LAST-MODIFIED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1463 :20041118T013640Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1464 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1465 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1466 UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1467 :6161a312-3902-11d9-b512-f764153bb28b
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1468 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1469 :BB Aaaaaaaa Bbbbb
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1470 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1471 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1472 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1473 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1474 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1475 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1476 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1477 :20041123T144500
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1478 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1479 :20041123T154500
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1480 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1481 :20041118T013641Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1482 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1483 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1484 UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1485 :943a4d7e-3902-11d9-9ce7-c9addeadf928
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1486 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1487 :Hhhhhhhh
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1488 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1489 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1490 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1491 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1492 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1493 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1494 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1495 :20041123T110000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1496 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1497 :20041123T120000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1498 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1499 :20041118T013831Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1500 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1501 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1502 UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1503 :fe53615e-3902-11d9-9dd8-9d38a155bf41
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1504 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1505 :MMM Aaaaaaaaa
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1506 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1507 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1508 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1509 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1510 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1511 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1512 X-MOZILLA-RECUR-DEFAULT-INTERVAL
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1513 :2
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1514 RRULE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1515 :FREQ=WEEKLY;INTERVAL=2;BYDAY=FR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1516 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1517 :20041112T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1518 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1519 :20041112T183000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1520 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1521 :20041118T014117Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1522 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1523 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1524 UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1525 :87c928ee-3901-11d9-b21f-b45042155024
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1526 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1527 :Rrrr/Cccccc ii Aaaaaaaa
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1528 DESCRIPTION
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1529 :Vvvvv Rrrr aaa Cccccc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1530 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1531 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1532 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1533 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1534 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1535 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1536 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1537 ;VALUE=DATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1538 :20041119
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1539 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1540 ;VALUE=DATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1541 :20041120
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1542 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1543 :20041118T013107Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1544 LAST-MODIFIED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1545 :20041118T014203Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1546 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1547 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1548 UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1549 :e8f331ae-3902-11d9-9948-dfdcb66a2872
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1550 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1551 :Wwww aa hhhh
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1552 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1553 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1554 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1555 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1556 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1557 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1558 RRULE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1559 :FREQ=WEEKLY;INTERVAL=1;BYDAY=MO
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1560 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1561 ;VALUE=DATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1562 :20041101
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1563 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1564 ;VALUE=DATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1565 :20041102
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1566 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1567 :20041118T014045Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1568 LAST-MODIFIED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1569 :20041118T023846Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1570 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1571 END:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1572 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1573 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1574 "&23/11/2004 14:00-14:30 Jjjjj & Wwwww
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1575 Status: TENTATIVE
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1576 Class: PRIVATE
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1577 &23/11/2004 14:45-15:45 BB Aaaaaaaa Bbbbb
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1578 Status: TENTATIVE
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1579 Class: PRIVATE
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1580 &23/11/2004 11:00-12:00 Hhhhhhhh
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1581 Status: TENTATIVE
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1582 Class: PRIVATE
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1583 &%%(and (diary-cyclic 14 12 11 2004)) 14:00-18:30 MMM Aaaaaaaaa
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1584 Status: TENTATIVE
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1585 Class: PRIVATE
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1586 &%%(and (diary-block 19 11 2004 19 11 2004)) Rrrr/Cccccc ii Aaaaaaaa
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1587 Desc: Vvvvv Rrrr aaa Cccccc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1588 Status: TENTATIVE
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1589 Class: PRIVATE
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1590 &%%(and (diary-cyclic 7 1 11 2004)) Wwww aa hhhh
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1591 Status: TENTATIVE
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1592 Class: PRIVATE"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1593 "&11/23/2004 14:00-14:30 Jjjjj & Wwwww
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1594 Status: TENTATIVE
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1595 Class: PRIVATE
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1596 &11/23/2004 14:45-15:45 BB Aaaaaaaa Bbbbb
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1597 Status: TENTATIVE
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1598 Class: PRIVATE
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1599 &11/23/2004 11:00-12:00 Hhhhhhhh
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1600 Status: TENTATIVE
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1601 Class: PRIVATE
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1602 &%%(and (diary-cyclic 14 11 12 2004)) 14:00-18:30 MMM Aaaaaaaaa
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1603 Status: TENTATIVE
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1604 Class: PRIVATE
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1605 &%%(and (diary-block 11 19 2004 11 19 2004)) Rrrr/Cccccc ii Aaaaaaaa
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1606 Desc: Vvvvv Rrrr aaa Cccccc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1607 Status: TENTATIVE
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1608 Class: PRIVATE
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1609 &%%(and (diary-cyclic 7 11 1 2004)) Wwww aa hhhh
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1610 Status: TENTATIVE
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1611 Class: PRIVATE")
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1612
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1613 ;; 2004-09-09 pg
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1614 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1615 "%%(diary-block 1 1 2004 4 1 2004) Urlaub"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1616 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1617 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1618 "DTSTART;VALUE=DATE:20040101
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1619 DTEND;VALUE=DATE:20040105
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1620 SUMMARY:Urlaub")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1621
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1622 ;; 2004-10-25 pg
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1623 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1624 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1625 "5 11 2004 Bla Fasel"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1626 nil
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1627 "DTSTART;VALUE=DATE:20041105
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1628 DTEND;VALUE=DATE:20041106
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1629 SUMMARY:Bla Fasel")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1630
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1631 ;; 2004-10-30 pg
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1632 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1633 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1634 "2 Nov 2004 15:00-16:30 Zahnarzt"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1635 nil
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1636 "DTSTART;VALUE=DATE-TIME:20041102T150000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1637 DTEND;VALUE=DATE-TIME:20041102T163000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1638 SUMMARY:Zahnarzt")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1639
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1640 ;; 2005-02-07 lt
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1641 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1642 "UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1643 :b60d398e-1dd1-11b2-a159-cf8cb05139f4
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1644 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1645 :Waitangi Day
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1646 DESCRIPTION
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1647 :abcdef
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1648 CATEGORIES
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1649 :Public Holiday
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1650 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1651 :CONFIRMED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1652 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1653 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1654 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1655 ;VALUE=DATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1656 :20050206
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1657 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1658 ;VALUE=DATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1659 :20050207
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1660 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1661 :20050128T011209Z"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1662 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1663 "&%%(and (diary-block 6 2 2005 6 2 2005)) Waitangi Day
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1664 Desc: abcdef"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1665 "&%%(and (diary-block 2 6 2005 2 6 2005)) Waitangi Day
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1666 Desc: abcdef")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1667
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1668 ;; 2005-03-01 lt
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1669 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1670 "DTSTART;VALUE=DATE:20050217
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1671 SUMMARY:Hhhhhh Aaaaa ii Aaaaaaaa
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1672 UID:6AFA7558-6994-11D9-8A3A-000A95A0E830-RID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1673 DTSTAMP:20050118T210335Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1674 DURATION:P7D"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1675 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1676 "&%%(and (diary-block 17 2 2005 23 2 2005)) Hhhhhh Aaaaa ii Aaaaaaaa"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1677 "&%%(and (diary-block 2 17 2005 2 23 2005)) Hhhhhh Aaaaa ii Aaaaaaaa")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1678
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1679 ;; 2005-03-23 lt
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1680 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1681 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1682 "&%%(diary-cyclic 7 8 2 2005) 16:00-16:45 [WORK] Pppp"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1683 nil
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1684 "DTSTART;VALUE=DATE-TIME:20050208T160000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1685 DTEND;VALUE=DATE-TIME:20050208T164500
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1686 RRULE:FREQ=DAILY;INTERVAL=7
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1687 SUMMARY:[WORK] Pppp
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1688 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1689
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1690 ;; 2005-05-27 eu
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1691 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1692 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1693 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1694 ;; FIXME: colon not allowed!
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1695 ;;"Nov 1: NNN Wwwwwwww Wwwww - Aaaaaa Pppppppp rrrrrr ddd oo Nnnnnnnn 30"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1696 "Nov 1 NNN Wwwwwwww Wwwww - Aaaaaa Pppppppp rrrrrr ddd oo Nnnnnnnn 30"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1697 "DTSTART;VALUE=DATE:19001101
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1698 DTEND;VALUE=DATE:19001102
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1699 RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=11;BYMONTHDAY=1
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1700 SUMMARY:NNN Wwwwwwww Wwwww - Aaaaaa Pppppppp rrrrrr ddd oo Nnnnnnnn 30
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1701 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1702 )
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1703
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1704 (defun icalendar-testsuite--run-cycle-tests ()
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1705 "Perform cycling tests."
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1706 (icalendar-testsuite--test-cycle
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1707 "DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1708 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1709 SUMMARY:Cycletest
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1710 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1711
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1712 (icalendar-testsuite--test-cycle
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1713 "DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1714 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1715 SUMMARY:Cycletest
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1716 DESCRIPTION:beschreibung!
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1717 LOCATION:nowhere
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1718 ORGANIZER:ulf
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1719 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1720
106617
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1721 (icalendar-testsuite--test-cycle
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1722 "DTSTART;VALUE=DATE:19190909
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1723 DTEND;VALUE=DATE:19190910
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1724 RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=09;BYMONTHDAY=09
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1725 SUMMARY:and diary-anniversary
78f92ffeb7ab Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents: 101457
diff changeset
1726 ")
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1727 )
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1728
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1729
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1730 (provide 'icalendar-testsuite)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1731
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1732 ;; arch-tag: 33a98396-90e9-49c8-b0e9-b606386d6e8c
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1733 ;;; icalendar-testsuite.el ends here