summaryrefslogtreecommitdiff
authordrw <drw>2005-04-24 19:17:24 (UTC)
committer drw <drw>2005-04-24 19:17:24 (UTC)
commitd1ca2bbae79743f9f8a2c5ac1d702cc1c789fd27 (patch) (side-by-side diff)
tree5c0951f558d7a2d3f9d2ca2bb38295be3b7b1d3e
parentb04cf97b3ca0e3dcedac52254a8d9c4ae3894464 (diff)
downloadopie-d1ca2bbae79743f9f8a2c5ac1d702cc1c789fd27.zip
opie-d1ca2bbae79743f9f8a2c5ac1d702cc1c789fd27.tar.gz
opie-d1ca2bbae79743f9f8a2c5ac1d702cc1c789fd27.tar.bz2
Added Canadian holidays courtesy of Garth Dahlstrom
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--etc/nationaldays/canadian.xml58
1 files changed, 58 insertions, 0 deletions
diff --git a/etc/nationaldays/canadian.xml b/etc/nationaldays/canadian.xml
new file mode 100644
index 0000000..d4ea0c4
--- a/dev/null
+++ b/etc/nationaldays/canadian.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<nationaldays>
+<description value="Canadian Holidays"/>
+<entries>
+<entry name="New Year's Day" date="01-01"/>
+<entry name="Good Friday" type="floating">
+ <calculation>
+ <date value="easter"/>
+ <offset value="-2"/>
+ </calculation>
+</entry>
+<entry name="Easter Sunday" type="floating">
+ <calculation>
+ <date value="easter"/>
+ </calculation>
+</entry>
+<entry name="Easter Monday (Government)" type="floating">
+ <calculation>
+ <date value="easter"/>
+ <offset value="+1"/>
+ </calculation>
+</entry>
+<entry name="St Patrick's Day (Newfoundland)" date="03-17"/>
+<entry name="Victoria Day" type="floating">
+ <calculation>
+ <weekday value="monday"/>
+ <datedep value="before"/>
+ <date value="05-25"/>
+ </calculation>
+</entry>
+<entry name="St. Jean-Baptiste Day (Quebec)" date="06-24"/>
+<entry name="Canada Day" date="07-01"/>
+<entry name="Civic Holiday/Simcoe Day" type="floating">
+ <calculation>
+ <weekday value="monday"/>
+ <dayofmonth value="first"/>
+ <month value="august"/>
+ </calculation>
+</entry>
+<entry name="Labour Day" type="floating">
+ <calculation>
+ <weekday value="monday"/>
+ <dayofmonth value="first"/>
+ <month value="september"/>
+ </calculation>
+</entry>
+<entry name="Canadian Thanksgiving" type="floating">
+ <calculation>
+ <weekday value="monday"/>
+ <dayofmonth value="second"/>
+ <month value="october"/>
+ </calculation>
+</entry>
+<entry name="Remembrance Day (Banks)" date="11-11"/>
+<entry name="Christmas Day" date="12-25"/>
+<entry name="Boxing Day" date="12-26"/>
+</entries>
+</nationaldays> \ No newline at end of file