annotate test/icalendar-testsuite.el @ 106109:42ca82b4620b

* abbrev.el (abbrev-with-wrapper-hook): (re)move... * simple.el (with-wrapper-hook): ...to here. Add argument `args'. * minibuffer.el (completion-in-region-functions): New hook. (completion-in-region): New function. * emacs-lisp/lisp.el (lisp-complete-symbol): * pcomplete.el (pcomplete-std-complete): Use it.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 19 Nov 2009 03:12:51 +0000
parents feab64c71ad0
children 78f92ffeb7ab
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
100950
f9cf5ec17443 Add 2009 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 99286
diff changeset
3 ;; Copyright (C) 2005, 2008, 2009 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)
99286
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
55 (icalendar-testsuite--test-calendar-style)
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
56 (icalendar-testsuite--test-create-uid))
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 (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
59 "Test `icalendar--format-ical-event'."
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 (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
61 (icalendar-import-format-summary "SUM %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 (icalendar-import-format-location " LOC %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 (icalendar-import-format-description " DES %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 (icalendar-import-format-organizer " ORG %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 (icalendar-import-format-status " STA %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 (icalendar-import-format-url " URL %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 (icalendar-import-format-class " CLA %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 (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
69 DTSTAMP:20030509T043439Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 DTSTART:20030509T103000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 SUMMARY:sum
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 ORGANIZER:org
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 LOCATION:loc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 DTEND:20030509T153000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 DESCRIPTION:des
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 ")))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 (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
79 "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
80 (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
81 "helloworld"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 (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
83 "helloworld") t)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84 (setq icalendar-import-format
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
85 (lambda (e)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86 (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
87 (icalendar--get-event-property event 'SUMMARY)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 (icalendar--get-event-property event 'DESCRIPTION)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89 (icalendar--get-event-property event 'LOCATION)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 (icalendar--get-event-property event 'ORGANIZER)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91 (icalendar--get-event-property event 'STATUS)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 (icalendar--get-event-property event 'URL)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 (icalendar--get-event-property event 'CLASS))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94 (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
95 "-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
96
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97 (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
98 "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
99 (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
100 (icalendar-import-format-summary "SUM %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 (icalendar-import-format-location " LOC %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
102 (icalendar-import-format-description " DES %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
103 (icalendar-import-format-organizer " ORG %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
104 (icalendar-import-format-status " STA %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
105 (icalendar-import-format-url " URL %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106 (icalendar-import-format-class " CLA %s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
107 (result))
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
108 (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
109 (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
110
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111 (setq result (icalendar--parse-summary-and-rest
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
112 "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
113 (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
114 (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
115 (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
116 (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
117 (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
118
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
119 (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
120 (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
121 "blah blah "))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122 (assert (not result))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 ))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
124
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
125 (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
126 "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
127 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
128 (save-excursion
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
129 (with-temp-buffer
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
130 (insert ical-string)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
131 (goto-char (point-min))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
132 (car (icalendar--read-element nil nil)))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
133
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
134 (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
135 "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
136 (assert (string= (icalendar-import-format-sample
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
137 (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
138 DTSTAMP:20030509T043439Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
139 DTSTART:20030509T103000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
140 SUMMARY:a
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
141 ORGANIZER:d
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
142 LOCATION:c
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
143 DTEND:20030509T153000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
144 DESCRIPTION:b
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
145 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
146 "))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
147 (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
148 "ORGANIZER=`d' STATUS=`' URL=`' CLASS=`'"))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
149
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
150 (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
151 "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
152 (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
153 (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
154 (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
155 (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
156 (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
157 (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
158 (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
159 (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
160 (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
161
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
162 (defun icalendar-testsuite--test-datestring-to-isodate ()
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
163 "Test method for `icalendar--datestring-to-isodate'."
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
164 (let ((calendar-date-style 'iso))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
165 ;; numeric iso
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
166 (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
167 "20080511"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
168 (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
169 "20080531"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
170 (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
171 "20080602"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
172
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
173 ;; numeric european
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
174 (setq calendar-date-style 'european)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
175 (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
176 "20080511"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
177 (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
178 "20080531"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
179 (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
180 "20080602"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
181
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
182 ;; numeric american
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
183 (setq calendar-date-style 'american)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
184 (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
185 "20081105"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
186 (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
187 "20081230"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
188 (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
189 "20090101"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
190
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
191 ;; non-numeric
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
192 (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
193 (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
194 "20081105"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
195 (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
196 "20081105"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
197 (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
198 "20081105"))))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
199
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
200 (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
201 "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
202 (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
203 (calendar-date-style 'iso))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
204 (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
205 "2008 12 31"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
206 (setq calendar-date-style 'european)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
207 (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
208 "31 12 2008"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
209 (setq calendar-date-style 'american)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
210 (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
211 "12 31 2008"))))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
212
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
213 (defun icalendar-testsuite--test-diarytime-to-isotime ()
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
214 "Test method for `icalendar--diarytime-to-isotime'."
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
215 (assert (string= (icalendar--diarytime-to-isotime "0100" "")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
216 "T010000"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
217 (assert (string= (icalendar--diarytime-to-isotime "0100" "am")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
218 "T010000"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
219 (assert (string= (icalendar--diarytime-to-isotime "0100" "pm")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
220 "T130000"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
221 (assert (string= (icalendar--diarytime-to-isotime "1200" "")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
222 "T120000"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
223 (assert (string= (icalendar--diarytime-to-isotime "17:17" "")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
224 "T171700"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
225 (assert (string= (icalendar--diarytime-to-isotime "1200" "am")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
226 "T000000"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
227 (assert (string= (icalendar--diarytime-to-isotime "1201" "am")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
228 "T000100"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
229 (assert (string= (icalendar--diarytime-to-isotime "1259" "am")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
230 "T005900"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
231 (assert (string= (icalendar--diarytime-to-isotime "1200" "pm")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
232 "T120000"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
233 (assert (string= (icalendar--diarytime-to-isotime "1201" "pm")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
234 "T120100"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
235 (assert (string= (icalendar--diarytime-to-isotime "1259" "pm")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
236 "T125900")))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
237
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
238 (defun icalendar-testsuite--test-calendar-style ()
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
239 "Test method for `icalendar--date-style'."
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
240 (dolist (calendar-date-style '(iso american european))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
241 (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
242 (let ((cds calendar-date-style)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
243 (european-calendar-style t))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
244 (makunbound 'calendar-date-style)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
245 (assert (eq (icalendar--date-style) 'european))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
246 (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
247 (assert (eq (icalendar--date-style) 'american))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
248 (setq calendar-date-style cds)))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
249
99286
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
250 (defun icalendar-testsuite--test-create-uid ()
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
251 "Test method for `icalendar--create-uid'."
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
252 (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
253 t-ct
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
254 (icalendar--uid-count 77)
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
255 (entry-full "30.06.1964 07:01 blahblah")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
256 (hash (format "%d" (abs (sxhash entry-full))))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
257 (contents "DTSTART:19640630T070100\nblahblah")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
258 (username (or user-login-name "UNKNOWN_USER"))
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
259 )
99286
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
260 ;; 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
261 (fset 't-ct (symbol-function 'current-time))
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
262 (fset 'current-time (lambda () '(1 2 3)))
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
263 (assert (= 77 icalendar--uid-count))
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
264 (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
265 (icalendar--create-uid entry-full contents)))
99286
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
266 (assert (= 78 icalendar--uid-count))
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
267 (fset 'current-time (symbol-function 't-ct))
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
268
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
269 (setq contents "blahblah")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
270 (setq icalendar-uid-format "yyy%syyy")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
271 (assert (string= (concat "yyyDTSTARTyyy")
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
272 (icalendar--create-uid entry-full contents)))
99286
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
273 ))
34d4bb11f58f icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents: 95271
diff changeset
274
101457
feab64c71ad0 icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 100950
diff changeset
275
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
276 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
277 ;; 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
278 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
279
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
280 (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
281 expected-output)
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
282 "Perform an export test.
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
283 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
284 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
285 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
286 Argument EXPECTED-OUTPUT expected icalendar result string.
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
287
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
288 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
289 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
290 (message "--- icalendar-testsuite--test-export ---")
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
291 (let ((calendar-date-style 'iso)
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
292 (icalendar-recurring-start-year 2000))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
293 (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
294 (when input-iso
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
295 (let ((calendar-month-name-array
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
296 ["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
297 "September" "October" "November" "December"])
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
298 (calendar-day-name-array
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
299 ["Sunday" "Monday" "Tuesday" "Wednesday" "Thursday" "Friday"
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
300 "Saturday"]))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
301 (setq calendar-date-style 'iso)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
302 (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
303 (when input-european
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
304 (let ((calendar-month-name-array
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
305 ["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
306 "September" "Oktober" "November" "Dezember"])
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
307 (calendar-day-name-array
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
308 ["Sonntag" "Montag" "Dienstag" "Mittwoch" "Donnerstag" "Freitag"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
309 "Samstag"]))
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
310 (setq calendar-date-style 'european)
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
311 (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
312 (when input-american
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
313 (let ((calendar-month-name-array
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
314 ["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
315 "September" "October" "November" "December"])
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
316 (calendar-day-name-array
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
317 ["Sunday" "Monday" "Tuesday" "Wednesday" "Thursday" "Friday"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
318 "Saturday"]))
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
319 (setq calendar-date-style 'american)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
320 (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
321
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
322 (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
323 "Actually perform export test.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
324 Argument INPUT input diary string.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
325 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
326 (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
327 (with-temp-buffer
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
328 (insert input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
329 (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
330 (save-excursion
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
331 (find-file temp-file)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
332 (goto-char (point-min))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
333 (unless
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
334 (cond (expected-output
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
335 (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
336 PRODID:-//Emacs//NONSGML icalendar.el//EN
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
337 VERSION:2.0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
338 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
339 UID:emacs[0-9]+
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
340 \\(\\(.\\|\n\\)+\\)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
341 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
342 END:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
343 \\s-*$"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
344 nil t)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
345 (string-match
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
346 (concat "^\\s-*"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
347 (regexp-quote (buffer-substring-no-properties
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
348 (match-beginning 1) (match-end 1)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
349 "\\s-*$")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
350 expected-output)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
351 (t
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
352 (re-search-forward "^\\s-*BEGIN:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
353 PRODID:-//Emacs//NONSGML icalendar.el//EN
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
354 VERSION:2.0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
355 END:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
356 \\s-*$"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
357 nil t)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
358 (error
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
359 "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
360 input
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
361 (or (and (match-beginning 1)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
362 (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
363 "<nil>")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
364 (or expected-output "<nil>"))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
365 (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
366 (delete-file temp-file)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
367
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
368 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
369 ;; 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
370 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
371
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
372 (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
373 expected-american)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
374 "Perform import test.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
375 Argument INPUT icalendar event string.
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
376 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
377 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
378 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
379 (message "--- icalendar-testsuite--test-import ---")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
380 (let ((timezone (cadr (current-time-zone))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
381 (set-time-zone-rule "CET")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
382 (with-temp-buffer
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
383 (if (string-match "^BEGIN:VCALENDAR" input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
384 (insert input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
385 (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
386 (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
387 (insert input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
388 (unless (eq (char-before) ?\n)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
389 (insert "\n"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
390 (insert "END:VEVENT\nEND:VCALENDAR\n"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
391 (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
392 (icalendar-import-format-summary "%s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
393 (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
394 (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
395 (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
396 (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
397 (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
398 (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
399 calendar-date-style)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
400 (when expected-iso
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
401 (setq calendar-date-style 'iso)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
402 (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
403 (when expected-european
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
404 (setq calendar-date-style 'european)
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
405 (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
406 (when expected-american
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
407 (setq calendar-date-style 'american)
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
408 (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
409 (set-time-zone-rule timezone)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
410
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
411 (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
412 "Actually perform import test.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
413 Argument INPUT input icalendar string.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
414 Argument EXPECTED-OUTPUT expected diary string."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
415 (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
416 (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
417 (save-excursion
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
418 (find-file temp-file)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
419 (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
420 (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
421 result)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
422 (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
423 expected-output)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
424 (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
425 (delete-file temp-file))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
426
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
427 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
428 ;; Test methods for cycle...
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
429 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
430 (defun icalendar-testsuite--test-cycle (input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
431 "Perform cycle test.
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
432 Argument INPUT icalendar event string."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
433 (with-temp-buffer
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
434 (if (string-match "^BEGIN:VCALENDAR" input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
435 (insert input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
436 (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
437 (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
438 (insert input)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
439 (unless (eq (char-before) ?\n)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
440 (insert "\n"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
441 (insert "END:VEVENT\nEND:VCALENDAR\n"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
442 (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
443 (icalendar-import-format-summary "%s")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
444 (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
445 (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
446 (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
447 (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
448 (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
449 (icalendar-import-format-class "\n Class: %s"))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
450 (dolist (calendar-date-style '(iso european american))
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
451 (icalendar-testsuite--do-test-cycle)))))
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
452
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
453 (defun icalendar-testsuite--do-test-cycle ()
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
454 "Actually perform import/export cycle test."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
455 (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
456 (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
457 (org-input (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
458 (icalendar-import-buffer temp-diary t t)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
459 (save-excursion
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
460 (find-file temp-diary)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
461 (icalendar-export-region (point-min) (point-max) temp-ics))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
462 (save-excursion
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
463 (find-file temp-ics)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
464 (goto-char (point-min))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
465 (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
466 (replace-match "\n"))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
467 (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
468 (unless (string-equal org-input cycled)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
469 (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
470 org-input))))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
471 (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
472 (save-excursion
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
473 (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
474 (set-buffer-modified-p nil)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
475 (kill-buffer (current-buffer)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
476 (delete-file temp-diary)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
477 (delete-file temp-ics)))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
478
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
479 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
480 ;; Import tests
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
481 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
482 (defun icalendar-testsuite--run-import-tests ()
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
483 "Perform standard import tests."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
484 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
485 "SUMMARY:non-recurring
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
486 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
487 DTEND;VALUE=DATE-TIME:20030919T113000"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
488 "&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
489 "&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
490 "&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
491
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
492 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
493 "SUMMARY:non-recurring allday
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
494 DTSTART;VALUE=DATE-TIME:20030919"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
495 "&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
496 "&19/9/2003 non-recurring allday"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
497 "&9/19/2003 non-recurring allday")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
498
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
499 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
500 "SUMMARY:long
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
501 summary
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
502 DTSTART;VALUE=DATE:20030919"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
503 "&2003/9/19 long summary"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
504 "&19/9/2003 long summary"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
505 "&9/19/2003 long summary")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
506
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
507 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
508 "UID:748f2da0-0d9b-11d8-97af-b4ec8686ea61
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
509 SUMMARY:Sommerferien
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
510 STATUS:TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
511 CLASS:PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
512 X-MOZILLA-ALARM-DEFAULT-UNITS:Minuten
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
513 X-MOZILLA-RECUR-DEFAULT-INTERVAL:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
514 DTSTART;VALUE=DATE:20040719
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
515 DTEND;VALUE=DATE:20040828
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
516 DTSTAMP:20031103T011641Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
517 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
518 "&%%(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
519 "&%%(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
520 "&%%(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
521
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
522 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
523 "UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
524 :04979712-3902-11d9-93dd-8f9f4afe08da
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
525 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
526 :folded summary
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
527 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
528 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
529 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
530 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
531 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
532 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
533 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
534 :20041123T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
535 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
536 :20041123T143000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
537 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
538 :20041118T013430Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
539 LAST-MODIFIED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
540 :20041118T013640Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
541 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
542 "&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
543 "&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
544 "&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
545 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
546 "UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
547 :6161a312-3902-11d9-b512-f764153bb28b
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
548 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
549 :another example
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
550 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
551 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
552 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
553 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
554 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
555 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
556 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
557 :20041123T144500
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
558 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
559 :20041123T154500
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
560 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
561 :20041118T013641Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
562 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
563 "&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
564 "&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
565 "&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
566
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
567 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
568 "SUMMARY:rrule daily
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
569 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
570 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
571 RRULE:FREQ=DAILY;
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
572 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
573 "&%%(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
574 "&%%(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
575 "&%%(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
576
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
577 ;; RRULE examples
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
578 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
579 "SUMMARY:rrule daily
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
580 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
581 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
582 RRULE:FREQ=DAILY;INTERVAL=2
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
583 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
584 "&%%(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
585 "&%%(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
586 "&%%(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
587 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
588 "SUMMARY:rrule daily with exceptions
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
589 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
590 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
591 RRULE:FREQ=DAILY;INTERVAL=2
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
592 EXDATE:20030921,20030925
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
593 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
594 "&%%(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
595 "&%%(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
596 "&%%(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
597
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
598 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
599 "SUMMARY:rrule weekly
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
600 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
601 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
602 RRULE:FREQ=WEEKLY;
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
603 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
604 "&%%(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
605 "&%%(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
606 "&%%(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
607 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
608 "SUMMARY:rrule monthly no end
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
609 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
610 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
611 RRULE:FREQ=MONTHLY;
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
612 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
613 "&%%(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
614 "&%%(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
615 "&%%(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
616 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
617 "SUMMARY:rrule monthly with end
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
618 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
619 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
620 RRULE:FREQ=MONTHLY;UNTIL=20050819;
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
621 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
622 "&%%(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
623 "&%%(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
624 "&%%(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
625 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
626 "DTSTART;VALUE=DATE:20040815
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
627 DTEND;VALUE=DATE:20040816
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
628 SUMMARY:Maria Himmelfahrt
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
629 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
630 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
631 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
632 "&%%(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
633 "&%%(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
634 "&%%(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
635 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
636 "SUMMARY:rrule yearly
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
637 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
638 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
639 RRULE:FREQ=YEARLY;INTERVAL=2
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
640 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
641 "&%%(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
642 "&%%(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
643 "&%%(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
644 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
645 "SUMMARY:rrule count daily short
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
646 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
647 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
648 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
649 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
650 "&%%(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
651 "&%%(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
652 "&%%(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
653 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
654 "SUMMARY:rrule count daily long
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
655 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
656 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
657 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
658 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
659 "&%%(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
660 "&%%(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
661 "&%%(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
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:rrule count bi-weekly 3 times
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
664 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
665 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
666 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
667 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
668 "&%%(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
669 "&%%(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
670 "&%%(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
671 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
672 "SUMMARY:rrule count monthly
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
673 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
674 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
675 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
676 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
677 "&%%(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
678 "&%%(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
679 "&%%(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
680 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
681 "SUMMARY:rrule count every second month
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
682 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
683 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
684 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
685 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
686 "&%%(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
687 "&%%(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
688 "&%%(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
689 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
690 "SUMMARY:rrule count yearly
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
691 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
692 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
693 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
694 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
695 "&%%(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
696 "&%%(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
697 "&%%(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
698 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
699 "SUMMARY:rrule count every second year
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
700 DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
701 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
702 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
703 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
704 "&%%(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
705 "&%%(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
706 "&%%(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
707
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
708 ;; duration
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
709 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
710 "DTSTART;VALUE=DATE:20050217
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
711 SUMMARY:duration
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
712 DURATION:P7D
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
713 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
714 "&%%(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
715 "&%%(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
716 "&%%(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
717
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
718 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
719 "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
720 DTSTAMP:20041127T183315Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
721 LAST-MODIFIED:20041127T183329
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
722 SUMMARY:Urlaub
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
723 DTSTART;VALUE=DATE:20011221
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
724 DTEND;VALUE=DATE:20011221
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
725 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
726 CLASS:PUBLIC
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
727 SEQUENCE:1
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
728 CREATED:20041127T183329
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
729 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
730 "&%%(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
731 "&%%(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
732 "&%%(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
733 )
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
734
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
735 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
736 ;; Export tests
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
737 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
738 (defun icalendar-testsuite--run-export-tests ()
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
739 "Perform standard export tests."
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
740
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
741 (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
742 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
743 "&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
744 "&3 Okt 2000 ordinary no time "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
745 "&Oct 3 2000 ordinary no time "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
746 nil))
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
747
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
748 ;; "ordinary" events
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
749 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
750 "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
751 "3 Okt 2000 ordinary no time "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
752 "Oct 3 2000 ordinary no time "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
753 "DTSTART;VALUE=DATE:20001003
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
754 DTEND;VALUE=DATE:20001004
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
755 SUMMARY:ordinary no time
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
756 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
757 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
758 "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
759 "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
760 "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
761 "DTSTART;VALUE=DATE-TIME:20001003T163000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
762 DTEND;VALUE=DATE-TIME:20001003T173000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
763 SUMMARY:ordinary with time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
764 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
765 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
766 "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
767 "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
768 "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
769 "DTSTART;VALUE=DATE-TIME:20001003T163000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
770 DTEND;VALUE=DATE-TIME:20001003T173000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
771 SUMMARY:ordinary with time 2
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
772 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
773
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
774 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
775 "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
776 "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
777 "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
778 "DTSTART;VALUE=DATE-TIME:20001003T163000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
779 DTEND;VALUE=DATE-TIME:20001003T173000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
780 SUMMARY:ordinary with time 3
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
781 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
782
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
783 ;; multiline -- FIXME!!!
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
784 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
785 "2000 October 3 16:30 multiline
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
786 17:30 multiline continued FIXME"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
787 "3 Oktober 2000 16:30 multiline
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
788 17:30 multiline continued FIXME"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
789 "October 3 2000 16:30 multiline
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
790 17:30 multiline continued FIXME"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
791 "DTSTART;VALUE=DATE-TIME:20001003T163000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
792 DTEND;VALUE=DATE-TIME:20001003T173000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
793 SUMMARY:multiline
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
794 DESCRIPTION:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
795 17:30 multiline continued FIXME
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
796 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
797
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
798 ;; weekly by day
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
799 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
800 "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
801 "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
802 "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
803 "DTSTART;VALUE=DATE-TIME:20000103T133000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
804 DTEND;VALUE=DATE-TIME:20000103T143000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
805 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
806 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
807 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
808
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
809 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
810 "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
811 "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
812 "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
813 "DTSTART;VALUE=DATE-TIME:20000103T133000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
814 DTEND;VALUE=DATE-TIME:20000103T150000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
815 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
816 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
817 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
818
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
819 ;; yearly
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
820 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
821 "may 1 yearly no time"
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
822 "1 Mai yearly no time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
823 "may 1 yearly no time"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
824 "DTSTART;VALUE=DATE:19000501
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
825 DTEND;VALUE=DATE:19000502
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
826 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
827 SUMMARY:yearly no time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
828 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
829
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
830 ;; anniversaries
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
831 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
832 "%%(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
833 "%%(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
834 "%%(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
835 "DTSTART;VALUE=DATE:19891003
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
836 DTEND;VALUE=DATE:19891004
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
837 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
838 SUMMARY:anniversary no time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
839 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
840 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
841 "%%(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
842 "%%(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
843 "%%(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
844 "DTSTART;VALUE=DATE-TIME:19891003T190000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
845 DTEND;VALUE=DATE-TIME:19891004T200000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
846 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
847 SUMMARY:anniversary with time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
848 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
849
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
850 ;; block
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
851 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
852 "%%(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
853 "%%(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
854 "%%(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
855 "DTSTART;VALUE=DATE:20010618
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
856 DTEND;VALUE=DATE:20010707
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
857 SUMMARY:block no time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
858 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
859 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
860 "%%(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
861 "%%(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
862 "%%(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
863 "DTSTART;VALUE=DATE-TIME:20010618T130000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
864 DTEND;VALUE=DATE-TIME:20010618T170000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
865 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
866 SUMMARY:block with time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
867 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
868 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
869 "%%(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
870 "%%(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
871 "%%(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
872 "DTSTART;VALUE=DATE-TIME:20010618T130000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
873 DTEND;VALUE=DATE-TIME:20010618T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
874 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
875 SUMMARY:block no end time
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
876 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
877 )
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
878
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
879 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
880 ;; Real world
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
881 ;; ======================================================================
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
882 (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
883 "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
884 ;; 2003-05-29
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
885 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
886 "BEGIN:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
887 METHOD:REQUEST
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
888 PRODID:Microsoft CDO for Microsoft Exchange
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
889 VERSION:2.0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
890 BEGIN:VTIMEZONE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
891 TZID:Kolkata\, Chennai\, Mumbai\, New Delhi
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
892 X-MICROSOFT-CDO-TZID:23
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
893 BEGIN:STANDARD
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
894 DTSTART:16010101T000000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
895 TZOFFSETFROM:+0530
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
896 TZOFFSETTO:+0530
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
897 END:STANDARD
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
898 BEGIN:DAYLIGHT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
899 DTSTART:16010101T000000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
900 TZOFFSETFROM:+0530
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
901 TZOFFSETTO:+0530
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
902 END:DAYLIGHT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
903 END:VTIMEZONE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
904 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
905 DTSTAMP:20030509T043439Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
906 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
907 SUMMARY:On-Site Interview
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
908 UID:040000008200E00074C5B7101A82E0080000000080B6DE661216C301000000000000000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
909 010000000DB823520692542408ED02D7023F9DFF9
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
910 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
911 xxx Xxxxxxxxxxxx\":MAILTO:xxxxxxxx@xxxxxxx.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
912 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
913 yyyy\":MAILTO:yyyyyyy@yyyyyyy.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
914 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
915 zz\":MAILTO:zzzzzz@zzzzzzz.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
916 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
917 LOCATION:Cccc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
918 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
919 DESCRIPTION:10:30am - Blah
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
920 SEQUENCE:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
921 PRIORITY:5
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
922 CLASS:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
923 CREATED:20030509T043439Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
924 LAST-MODIFIED:20030509T043459Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
925 STATUS:CONFIRMED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
926 TRANSP:OPAQUE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
927 X-MICROSOFT-CDO-BUSYSTATUS:BUSY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
928 X-MICROSOFT-CDO-INSTTYPE:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
929 X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
930 X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
931 X-MICROSOFT-CDO-IMPORTANCE:1
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
932 X-MICROSOFT-CDO-OWNERAPPTID:126441427
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
933 BEGIN:VALARM
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
934 ACTION:DISPLAY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
935 DESCRIPTION:REMINDER
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
936 TRIGGER;RELATED=START:-PT00H15M00S
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
937 END:VALARM
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
938 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
939 END:VCALENDAR"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
940 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
941 "&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
942 Desc: 10:30am - Blah
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
943 Location: Cccc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
944 Organizer: MAILTO:aaaaaaa@aaaaaaa.com"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
945 "&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
946 Desc: 10:30am - Blah
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
947 Location: Cccc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
948 Organizer: MAILTO:aaaaaaa@aaaaaaa.com")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
949
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
950 ;; 2003-06-18 a
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
951 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
952 "DTSTAMP:20030618T195512Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
953 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
954 SUMMARY:Dress Rehearsal for XXXX-XXXX
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
955 UID:040000008200E00074C5B7101A82E00800000000608AA7DA9835C301000000000000000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
956 0100000007C3A6D65EE726E40B7F3D69A23BD567E
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
957 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
958 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
959 ORGANIZER;CN=\"ABCD,TECHTRAINING
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
960 (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
961 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
962 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
963 DESCRIPTION:753 Zeichen hier radiert
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
964 SEQUENCE:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
965 PRIORITY:5
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
966 CLASS:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
967 CREATED:20030618T195518Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
968 LAST-MODIFIED:20030618T195527Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
969 STATUS:CONFIRMED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
970 TRANSP:OPAQUE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
971 X-MICROSOFT-CDO-BUSYSTATUS:BUSY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
972 X-MICROSOFT-CDO-INSTTYPE:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
973 X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
974 X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
975 X-MICROSOFT-CDO-IMPORTANCE:1
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
976 X-MICROSOFT-CDO-OWNERAPPTID:1022519251
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
977 BEGIN:VALARM
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
978 ACTION:DISPLAY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
979 DESCRIPTION:REMINDER
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
980 TRIGGER;RELATED=START:-PT00H15M00S
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
981 END:VALARM"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
982 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
983 "&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
984 Desc: 753 Zeichen hier radiert
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
985 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
986 Organizer: MAILTO:xxx@xxxxx.com"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
987 "&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
988 Desc: 753 Zeichen hier radiert
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
989 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
990 Organizer: MAILTO:xxx@xxxxx.com")
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 ;; 2003-06-18 b -- uses timezone
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
993 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
994 "BEGIN:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
995 METHOD:REQUEST
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
996 PRODID:Microsoft CDO for Microsoft Exchange
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
997 VERSION:2.0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
998 BEGIN:VTIMEZONE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
999 TZID:Mountain Time (US & Canada)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1000 X-MICROSOFT-CDO-TZID:12
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1001 BEGIN:STANDARD
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1002 DTSTART:16010101T020000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1003 TZOFFSETFROM:-0600
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1004 TZOFFSETTO:-0700
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1005 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
1006 END:STANDARD
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1007 BEGIN:DAYLIGHT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1008 DTSTART:16010101T020000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1009 TZOFFSETFROM:-0700
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1010 TZOFFSETTO:-0600
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1011 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
1012 END:DAYLIGHT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1013 END:VTIMEZONE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1014 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1015 DTSTAMP:20030618T230323Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1016 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
1017 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
1018 UID:040000008200E00074C5B7101A82E00800000000608AA7DA9835C301000000000000000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1019 0100000007C3A6D65EE726E40B7F3D69A23BD567E
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1020 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
1021 0700Z;RSVP=TRUE;CN=\"AAAAA,AAAAAA
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1022 \(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
1023 .com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1024 ORGANIZER;CN=\"ABCD,TECHTRAINING
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1025 \(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
1026 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
1027 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
1028 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
1029 SEQUENCE:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1030 PRIORITY:5
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1031 CLASS:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1032 CREATED:20030618T230326Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1033 LAST-MODIFIED:20030618T230335Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1034 STATUS:CONFIRMED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1035 TRANSP:OPAQUE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1036 X-MICROSOFT-CDO-BUSYSTATUS:BUSY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1037 X-MICROSOFT-CDO-INSTTYPE:0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1038 X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1039 X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1040 X-MICROSOFT-CDO-IMPORTANCE:1
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1041 X-MICROSOFT-CDO-OWNERAPPTID:1022519251
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1042 BEGIN:VALARM
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1043 ACTION:DISPLAY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1044 DESCRIPTION:REMINDER
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1045 TRIGGER;RELATED=START:-PT00H15M00S
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1046 END:VALARM
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1047 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1048 END:VCALENDAR"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1049 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1050 "&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
1051 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
1052 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
1053 Organizer: MAILTO:bbb@bbbbb.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1054 Status: CONFIRMED"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1055 "&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
1056 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
1057 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
1058 Organizer: MAILTO:bbb@bbbbb.com
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1059 Status: CONFIRMED")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1060
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1061 ;; export 2004-10-28 block entries
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1062 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1063 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1064 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1065 "-*- mode: text; fill-column: 256;-*-
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1066
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1067 >>> block entries:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1068
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1069 %%(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
1070 "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1071 "DTSTART;VALUE=DATE:20041108
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1072 DTEND;VALUE=DATE:20041111
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1073 SUMMARY:Nov 8-10 aa")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1074
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1075 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1076 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1077 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1078 "%%(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
1079 "DTSTART;VALUE=DATE:20041213
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1080 DTEND;VALUE=DATE:20041218
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1081 SUMMARY:Dec 13-17 bb")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1082
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1083 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1084 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1085 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1086 "%%(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
1087 "DTSTART;VALUE=DATE:20050203
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1088 DTEND;VALUE=DATE:20050205
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1089 SUMMARY:Feb 3-4 cc")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1090
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1091 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1092 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1093 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1094 "%%(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
1095 "DTSTART;VALUE=DATE:20050424
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1096 DTEND;VALUE=DATE:20050430
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1097 SUMMARY:April 24-29 dd
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1098 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1099 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1100 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1101 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1102 "%%(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
1103 "DTSTART;VALUE=DATE:20050530
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1104 DTEND;VALUE=DATE:20050602
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1105 SUMMARY:may 30 - June 1: ee")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1106
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1107 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1108 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1109 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1110 "%%(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
1111 "DTSTART;VALUE=DATE:20050606
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1112 DTEND;VALUE=DATE:20050609
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1113 SUMMARY:ff")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1114
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1115 ;; export 2004-10-28 anniversary entries
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1116 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1117 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1118 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1119 "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1120 >>> anniversaries:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1121
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1122 %%(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
1123 "DTSTART;VALUE=DATE:19910328
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1124 DTEND;VALUE=DATE:19910329
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1125 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
1126 SUMMARY:aa birthday (%d years old)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1127 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1128
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1129 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1130 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1131 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1132 "%%(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
1133 "DTSTART;VALUE=DATE:19570517
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1134 DTEND;VALUE=DATE:19570518
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1135 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
1136 SUMMARY:bb birthday (%d years old)")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1137
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1138 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1139 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1140 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1141 "%%(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
1142 "DTSTART;VALUE=DATE:19970608
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1143 DTEND;VALUE=DATE:19970609
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1144 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
1145 SUMMARY:cc birthday (%d years old)")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1146
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1147 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1148 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1149 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1150 "%%(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
1151 "DTSTART;VALUE=DATE:19830722
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1152 DTEND;VALUE=DATE:19830723
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1153 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
1154 SUMMARY:dd (%d years ago...!)")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1155
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1156 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1157 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1158 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1159 "%%(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
1160 "DTSTART;VALUE=DATE:19880801
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1161 DTEND;VALUE=DATE:19880802
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1162 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
1163 SUMMARY:ee birthday (%d years old)")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1164
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1165 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1166 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1167 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1168 "%%(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
1169 "DTSTART;VALUE=DATE:19570921
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1170 DTEND;VALUE=DATE:19570922
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1171 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
1172 SUMMARY:ff birthday (%d years old)")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1173
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1174
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1175 ;; FIXME!
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1176
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1177 ;; 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
1178
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1179 ;; (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1180 ;; nil
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1181 ;; "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1182 ;; >>> ------------ monthly:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1183
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1184 ;; */27/* 10:00 blah blah"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1185 ;; "xxx")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1186
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1187 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1188 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1189 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1190 ">>> ------------ my week:
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1191
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1192 Monday 13:00 MAC"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1193 "DTSTART;VALUE=DATE-TIME:20000103T130000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1194 DTEND;VALUE=DATE-TIME:20000103T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1195 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
1196 SUMMARY:MAC")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1197
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1198 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1199 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1200 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1201 "Monday 15:00 a1"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1202 "DTSTART;VALUE=DATE-TIME:20000103T150000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1203 DTEND;VALUE=DATE-TIME:20000103T160000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1204 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
1205 SUMMARY:a1")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1206
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1207
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1208 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1209 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1210 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1211 "Monday 16:00-17:00 a2"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1212 "DTSTART;VALUE=DATE-TIME:20000103T160000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1213 DTEND;VALUE=DATE-TIME:20000103T170000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1214 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
1215 SUMMARY:a2")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1216
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1217 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1218 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1219 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1220 "Tuesday 11:30-13:00 a3"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1221 "DTSTART;VALUE=DATE-TIME:20000104T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1222 DTEND;VALUE=DATE-TIME:20000104T130000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1223 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
1224 SUMMARY:a3")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1225
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1226 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1227 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1228 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1229 "Tuesday 15:00 a4"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1230 "DTSTART;VALUE=DATE-TIME:20000104T150000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1231 DTEND;VALUE=DATE-TIME:20000104T160000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1232 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
1233 SUMMARY:a4")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1234
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1235 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1236 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1237 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1238 "Wednesday 13:00 a5"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1239 "DTSTART;VALUE=DATE-TIME:20000105T130000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1240 DTEND;VALUE=DATE-TIME:20000105T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1241 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
1242 SUMMARY:a5")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1243
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1244 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1245 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1246 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1247 "Wednesday 11:30-13:30 a6"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1248 "DTSTART;VALUE=DATE-TIME:20000105T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1249 DTEND;VALUE=DATE-TIME:20000105T133000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1250 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
1251 SUMMARY:a6")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1252
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1253 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1254 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1255 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1256 "Wednesday 15:00 s1"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1257 "DTSTART;VALUE=DATE-TIME:20000105T150000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1258 DTEND;VALUE=DATE-TIME:20000105T160000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1259 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
1260 SUMMARY:s1")
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
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1263 ;; export 2004-10-28 regular entries
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1264 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1265 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1266 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1267 "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1268 >>> regular diary entries:
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 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
1271 "DTSTART;VALUE=DATE-TIME:20041012T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1272 DTEND;VALUE=DATE-TIME:20041012T150000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1273 SUMMARY:Tue: [2004-10-12] q1")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1274
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1275 ;; 2004-11-19
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1276 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1277 "BEGIN:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1278 VERSION
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1279 :2.0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1280 PRODID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1281 :-//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
1282 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1283 UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1284 :04979712-3902-11d9-93dd-8f9f4afe08da
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1285 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1286 :Jjjjj & Wwwww
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1287 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1288 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1289 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1290 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1291 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1292 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1293 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1294 :20041123T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1295 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1296 :20041123T143000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1297 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1298 :20041118T013430Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1299 LAST-MODIFIED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1300 :20041118T013640Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1301 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1302 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1303 UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1304 :6161a312-3902-11d9-b512-f764153bb28b
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1305 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1306 :BB Aaaaaaaa Bbbbb
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1307 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1308 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1309 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1310 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1311 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1312 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1313 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1314 :20041123T144500
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1315 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1316 :20041123T154500
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1317 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1318 :20041118T013641Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1319 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1320 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1321 UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1322 :943a4d7e-3902-11d9-9ce7-c9addeadf928
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1323 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1324 :Hhhhhhhh
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1325 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1326 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1327 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1328 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1329 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1330 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1331 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1332 :20041123T110000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1333 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1334 :20041123T120000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1335 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1336 :20041118T013831Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1337 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1338 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1339 UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1340 :fe53615e-3902-11d9-9dd8-9d38a155bf41
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1341 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1342 :MMM Aaaaaaaaa
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1343 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1344 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1345 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1346 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1347 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1348 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1349 X-MOZILLA-RECUR-DEFAULT-INTERVAL
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1350 :2
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1351 RRULE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1352 :FREQ=WEEKLY;INTERVAL=2;BYDAY=FR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1353 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1354 :20041112T140000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1355 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1356 :20041112T183000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1357 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1358 :20041118T014117Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1359 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1360 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1361 UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1362 :87c928ee-3901-11d9-b21f-b45042155024
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1363 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1364 :Rrrr/Cccccc ii Aaaaaaaa
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1365 DESCRIPTION
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1366 :Vvvvv Rrrr aaa Cccccc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1367 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1368 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1369 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1370 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1371 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1372 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1373 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1374 ;VALUE=DATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1375 :20041119
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1376 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1377 ;VALUE=DATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1378 :20041120
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1379 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1380 :20041118T013107Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1381 LAST-MODIFIED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1382 :20041118T014203Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1383 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1384 BEGIN:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1385 UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1386 :e8f331ae-3902-11d9-9948-dfdcb66a2872
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1387 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1388 :Wwww aa hhhh
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1389 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1390 :TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1391 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1392 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1393 X-MOZILLA-ALARM-DEFAULT-LENGTH
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1394 :0
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1395 RRULE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1396 :FREQ=WEEKLY;INTERVAL=1;BYDAY=MO
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1397 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1398 ;VALUE=DATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1399 :20041101
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1400 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1401 ;VALUE=DATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1402 :20041102
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1403 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1404 :20041118T014045Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1405 LAST-MODIFIED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1406 :20041118T023846Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1407 END:VEVENT
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1408 END:VCALENDAR
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1409 "
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1410 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1411 "&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
1412 Status: TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1413 Class: PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1414 &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
1415 Status: TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1416 Class: PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1417 &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
1418 Status: TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1419 Class: PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1420 &%%(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
1421 Status: TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1422 Class: PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1423 &%%(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
1424 Desc: Vvvvv Rrrr aaa Cccccc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1425 Status: TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1426 Class: PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1427 &%%(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
1428 Status: TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1429 Class: PRIVATE "
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1430 "&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
1431 Status: TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1432 Class: PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1433 &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
1434 Status: TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1435 Class: PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1436 &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
1437 Status: TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1438 Class: PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1439 &%%(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
1440 Status: TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1441 Class: PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1442 &%%(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
1443 Desc: Vvvvv Rrrr aaa Cccccc
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1444 Status: TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1445 Class: PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1446 &%%(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
1447 Status: TENTATIVE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1448 Class: PRIVATE ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1449
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1450 ;; 2004-09-09 pg
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1451 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1452 "%%(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
1453 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1454 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1455 "DTSTART;VALUE=DATE:20040101
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1456 DTEND;VALUE=DATE:20040105
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1457 SUMMARY:Urlaub")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1458
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1459 ;; 2004-10-25 pg
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1460 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1461 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1462 "5 11 2004 Bla Fasel"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1463 nil
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1464 "DTSTART;VALUE=DATE:20041105
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1465 DTEND;VALUE=DATE:20041106
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1466 SUMMARY:Bla Fasel")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1467
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1468 ;; 2004-10-30 pg
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1469 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1470 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1471 "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
1472 nil
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1473 "DTSTART;VALUE=DATE-TIME:20041102T150000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1474 DTEND;VALUE=DATE-TIME:20041102T163000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1475 SUMMARY:Zahnarzt")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1476
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1477 ;; 2005-02-07 lt
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1478 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1479 "UID
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1480 :b60d398e-1dd1-11b2-a159-cf8cb05139f4
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1481 SUMMARY
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1482 :Waitangi Day
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1483 DESCRIPTION
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1484 :abcdef
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1485 CATEGORIES
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1486 :Public Holiday
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1487 STATUS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1488 :CONFIRMED
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1489 CLASS
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1490 :PRIVATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1491 DTSTART
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1492 ;VALUE=DATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1493 :20050206
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1494 DTEND
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1495 ;VALUE=DATE
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1496 :20050207
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1497 DTSTAMP
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1498 :20050128T011209Z"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1499 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1500 "&%%(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
1501 Desc: abcdef"
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1502 "&%%(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
1503 Desc: abcdef")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1504
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1505 ;; 2005-03-01 lt
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1506 (icalendar-testsuite--test-import
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1507 "DTSTART;VALUE=DATE:20050217
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1508 SUMMARY:Hhhhhh Aaaaa ii Aaaaaaaa
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1509 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
1510 DTSTAMP:20050118T210335Z
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1511 DURATION:P7D"
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1512 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1513 "&%%(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
1514 "&%%(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
1515
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1516 ;; 2005-03-23 lt
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1517 (icalendar-testsuite--test-export
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1518 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1519 "&%%(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
1520 nil
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1521 "DTSTART;VALUE=DATE-TIME:20050208T160000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1522 DTEND;VALUE=DATE-TIME:20050208T164500
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1523 RRULE:FREQ=DAILY;INTERVAL=7
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1524 SUMMARY:[WORK] Pppp
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1525 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1526
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1527 ;; 2005-05-27 eu
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1528 (icalendar-testsuite--test-export
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1529 nil
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1530 nil
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1531 ;; FIXME: colon not allowed!
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1532 ;;"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
1533 "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
1534 "DTSTART;VALUE=DATE:19001101
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1535 DTEND;VALUE=DATE:19001102
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1536 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
1537 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
1538 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1539 )
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1540
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1541 (defun icalendar-testsuite--run-cycle-tests ()
95271
011185b78728 Ulf Jasper <ulf.jasper at web.de>
Glenn Morris <rgm@gnu.org>
parents: 94718
diff changeset
1542 "Perform cycling tests."
92340
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1543 (icalendar-testsuite--test-cycle
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1544 "DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1545 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1546 SUMMARY:Cycletest
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1547 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1548
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1549 (icalendar-testsuite--test-cycle
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1550 "DTSTART;VALUE=DATE-TIME:20030919T090000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1551 DTEND;VALUE=DATE-TIME:20030919T113000
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1552 SUMMARY:Cycletest
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1553 DESCRIPTION:beschreibung!
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1554 LOCATION:nowhere
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1555 ORGANIZER:ulf
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1556 ")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1557
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1558 ;; FIXME: does not work
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1559 ;; (icalendar-testsuite--test-cycle
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1560 ;; "DTSTART;VALUE=DATE:19190909
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1561 ;;DTEND;VALUE=DATE:19190910
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1562 ;;RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=09;BYMONTHDAY=09
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1563 ;;SUMMARY:and diary-anniversary
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1564 ;;")
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1565 )
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1566
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1567
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1568 (provide 'icalendar-testsuite)
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1569
7ae2674748b9 Ulf Jasper <ulf.jasper at web.de>: New file.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1570 ;; 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
1571 ;;; icalendar-testsuite.el ends here