-rw-r--r-- | etc/nationaldays/uk.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/nationaldays/uk.xml b/etc/nationaldays/uk.xml index b34b292..a86bd96 100644 --- a/etc/nationaldays/uk.xml +++ b/etc/nationaldays/uk.xml | |||
@@ -1,31 +1,38 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <nationaldays> | 2 | <nationaldays> |
3 | <description value="UK. Holidays"/> | 3 | <description value="UK. Holidays"/> |
4 | <entries> | 4 | <entries> |
5 | <entry name="New Year's Day" date="01-01"/> | 5 | <entry name="New Year's Day" date="01-01"/> |
6 | <entry name="Christmas Day" date="12-25"/> | 6 | <entry name="Christmas Day" date="12-25"/> |
7 | <entry name="Boxing Day" date="12-26"/> | 7 | <entry name="Boxing Day" date="12-26"/> |
8 | <entry name="St Patrick's Day (Northern Ireland)" date="03-17"/> | 8 | <entry name="St Patrick's Day (Northern Ireland)" date="03-17"/> |
9 | <entry name="Bank Holiday (Scotland)" date="01-02"/> | ||
9 | <entry name="Good Friday" type="floating"> | 10 | <entry name="Good Friday" type="floating"> |
10 | <calculation> | 11 | <calculation> |
11 | <date value="easter"/> | 12 | <date value="easter"/> |
12 | <offset value="-2"/> | 13 | <offset value="-2"/> |
13 | </calculation> | 14 | </calculation> |
14 | </entry> | 15 | </entry> |
15 | <entry name="Easter Sunday" type="floating"> | 16 | <entry name="Easter Sunday" type="floating"> |
16 | <calculation> | 17 | <calculation> |
17 | <date value="easter"/> | 18 | <date value="easter"/> |
18 | </calculation> | 19 | </calculation> |
19 | </entry> | 20 | </entry> |
21 | <entry name="Easter Monday" type="floating"> | ||
22 | <calculation> | ||
23 | <date value="easter"/> | ||
24 | <offset value="+1"/> | ||
25 | </calculation> | ||
26 | </entry> | ||
20 | <entry name="Early May Bank Holiday" type="floating"> | 27 | <entry name="Early May Bank Holiday" type="floating"> |
21 | <calculation> | 28 | <calculation> |
22 | <weekday value="monday"/> | 29 | <weekday value="monday"/> |
23 | <dayofmonth value="first"/> | 30 | <dayofmonth value="first"/> |
24 | <month value="may"/> | 31 | <month value="may"/> |
25 | </calculation> | 32 | </calculation> |
26 | </entry> | 33 | </entry> |
27 | <entry name="Spring Bank Holiday" type="floating"> | 34 | <entry name="Spring Bank Holiday" type="floating"> |
28 | <calculation> | 35 | <calculation> |
29 | <weekday value="monday"/> | 36 | <weekday value="monday"/> |
30 | <dayofmonth value="last"/> | 37 | <dayofmonth value="last"/> |
31 | <month value="may"/> | 38 | <month value="may"/> |