author | drw <drw> | 2005-04-24 19:17:24 (UTC) |
---|---|---|
committer | drw <drw> | 2005-04-24 19:17:24 (UTC) |
commit | d1ca2bbae79743f9f8a2c5ac1d702cc1c789fd27 (patch) (unidiff) | |
tree | 5c0951f558d7a2d3f9d2ca2bb38295be3b7b1d3e | |
parent | b04cf97b3ca0e3dcedac52254a8d9c4ae3894464 (diff) | |
download | opie-d1ca2bbae79743f9f8a2c5ac1d702cc1c789fd27.zip opie-d1ca2bbae79743f9f8a2c5ac1d702cc1c789fd27.tar.gz opie-d1ca2bbae79743f9f8a2c5ac1d702cc1c789fd27.tar.bz2 |
Added Canadian holidays courtesy of Garth Dahlstrom
-rw-r--r-- | etc/nationaldays/canadian.xml | 58 |
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 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <nationaldays> | ||
3 | <description value="Canadian Holidays"/> | ||
4 | <entries> | ||
5 | <entry name="New Year's Day" date="01-01"/> | ||
6 | <entry name="Good Friday" type="floating"> | ||
7 | <calculation> | ||
8 | <date value="easter"/> | ||
9 | <offset value="-2"/> | ||
10 | </calculation> | ||
11 | </entry> | ||
12 | <entry name="Easter Sunday" type="floating"> | ||
13 | <calculation> | ||
14 | <date value="easter"/> | ||
15 | </calculation> | ||
16 | </entry> | ||
17 | <entry name="Easter Monday (Government)" type="floating"> | ||
18 | <calculation> | ||
19 | <date value="easter"/> | ||
20 | <offset value="+1"/> | ||
21 | </calculation> | ||
22 | </entry> | ||
23 | <entry name="St Patrick's Day (Newfoundland)" date="03-17"/> | ||
24 | <entry name="Victoria Day" type="floating"> | ||
25 | <calculation> | ||
26 | <weekday value="monday"/> | ||
27 | <datedep value="before"/> | ||
28 | <date value="05-25"/> | ||
29 | </calculation> | ||
30 | </entry> | ||
31 | <entry name="St. Jean-Baptiste Day (Quebec)" date="06-24"/> | ||
32 | <entry name="Canada Day" date="07-01"/> | ||
33 | <entry name="Civic Holiday/Simcoe Day" type="floating"> | ||
34 | <calculation> | ||
35 | <weekday value="monday"/> | ||
36 | <dayofmonth value="first"/> | ||
37 | <month value="august"/> | ||
38 | </calculation> | ||
39 | </entry> | ||
40 | <entry name="Labour Day" type="floating"> | ||
41 | <calculation> | ||
42 | <weekday value="monday"/> | ||
43 | <dayofmonth value="first"/> | ||
44 | <month value="september"/> | ||
45 | </calculation> | ||
46 | </entry> | ||
47 | <entry name="Canadian Thanksgiving" type="floating"> | ||
48 | <calculation> | ||
49 | <weekday value="monday"/> | ||
50 | <dayofmonth value="second"/> | ||
51 | <month value="october"/> | ||
52 | </calculation> | ||
53 | </entry> | ||
54 | <entry name="Remembrance Day (Banks)" date="11-11"/> | ||
55 | <entry name="Christmas Day" date="12-25"/> | ||
56 | <entry name="Boxing Day" date="12-26"/> | ||
57 | </entries> | ||
58 | </nationaldays> \ No newline at end of file | ||