summaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-11-26 19:27:16 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2012-11-26 20:23:05 +0100
commit0715a4433cc2c602458cbcb2bf0b1de15d63439b (patch)
tree9f45e46eb0028e533752be7b1e60387958a3096c /test/data
parent4e28e8a9cc2ce6e81833d71270a74f0f55a540fc (diff)
downloadcalcurse-0715a4433cc2c602458cbcb2bf0b1de15d63439b.tar.gz
calcurse-0715a4433cc2c602458cbcb2bf0b1de15d63439b.zip
test/: Add a couple of tests for recurrent items
This adds tests for following features/scenarios: * Recurrent appointments and events of all (repetition) types. * Recurrent appointments with a duration of more than 24 hours. * Overlapping recurrent appointments. * Recurrent items and leap years. * Recurrent items with an end date. * Recurrent items with exceptions. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'test/data')
-rw-r--r--test/data/apts-recur12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/data/apts-recur b/test/data/apts-recur
new file mode 100644
index 0000000..0fdfe3e
--- /dev/null
+++ b/test/data/apts-recur
@@ -0,0 +1,12 @@
+01/01/2000 [1] {1D} Each day since 2000-01-01
+01/01/2000 [1] {1W} Each Saturday since 2000-01-01
+01/01/2000 [1] {1M} Each first day of the month since 2000-01-01
+01/01/2000 [1] {1Y} Every year on January, 1st since year 2000
+01/01/2000 [1] {2D} Every second day since 2000-01-01
+01/01/2000 [1] {4W} Every 28 days since 2000-01-01
+01/01/2000 [1] {7D} Same as "01/01/2000 [1] {1W}"
+01/01/2000 [1] {3D -> 12/31/2000} Every three days in year 2000
+01/01/2000 [1] {3D !01/04/2000} Every three days, but not on 2000-01-04
+01/01/2000 @ 16:00 -> 01/02/2000 @ 02:00 {2D} |Recurrent appointment
+01/01/2000 @ 00:00 -> 01/07/2000 @ 00:00 {1W} |Another recurrent appointment
+01/01/2000 @ 00:00 -> 01/07/2000 @ 00:00 {1D} |Third recurrent appointment