-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 | ||