-rw-r--r-- | etc/nationaldays/us.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/etc/nationaldays/us.xml b/etc/nationaldays/us.xml new file mode 100644 index 0000000..fc75b86 --- a/dev/null +++ b/etc/nationaldays/us.xml | |||
@@ -0,0 +1,49 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <nationaldays> | ||
3 | <description value="US Holidays"/> | ||
4 | <entries> | ||
5 | <entry name="New Year's Day" date="01-01"/> | ||
6 | <entry name="Martin Luther King, Jr.'s Birthday" date="01-15"/> | ||
7 | <entry name="President's Day" type="floating"> | ||
8 | <calculation> | ||
9 | <dayofmonth value="third"/> | ||
10 | <weekday value="monday"/> | ||
11 | <month value="february"/> | ||
12 | </calculation> | ||
13 | </entry> | ||
14 | <entry name="Memorial Day" type="floating"> | ||
15 | <calculation> | ||
16 | <dayofmonth value="last"/> | ||
17 | <weekday value="monday"/> | ||
18 | <month value="may"/> | ||
19 | </calculation> | ||
20 | </entry> | ||
21 | <entry name="Flag Day" date="06-14"/> | ||
22 | <entry name="Independence Day" date="07-04"/> | ||
23 | <entry name="Labor Day" type="floating"> | ||
24 | <calculation> | ||
25 | <dayofmonth value="first"/> | ||
26 | <weekday value="monday"/> | ||
27 | <month value="september"/> | ||
28 | </calculation> | ||
29 | </entry> | ||
30 | <entry name="Veteran's Day" date="11-11"/> | ||
31 | <entry name="Thanksgiving" type="floating"> | ||
32 | <calculation> | ||
33 | <dayofmonth value="last"/> | ||
34 | <weekday value="thursday"/> | ||
35 | <month value="november"/> | ||
36 | </calculation> | ||
37 | </entry> | ||
38 | <entry name="Day after Thanksgiving" type="floating"> | ||
39 | <calculation> | ||
40 | <dayofmonth value="last"/> | ||
41 | <weekday value="thursday"/> | ||
42 | <month value="november"/> | ||
43 | <offset value="+1"/> | ||
44 | </calculation> | ||
45 | </entry> | ||
46 | <entry name="Christmas Eve" date="12-24"/> | ||
47 | <entry name="Christmas Day" date="12-25"/> | ||
48 | </entries> | ||
49 | </nationaldays> | ||