forked from holidays/definitions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
li.yaml
154 lines (153 loc) · 2.93 KB
/
li.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# Liechtenstein holiday definitions for the Ruby Holiday gem.
#
# Updated: 2011-10-17.
# Sources:
# http://www.tourismus.li/de/navpage-RegionLI-InformationLI-44728.html
---
months:
0:
- name: Fasnachtsdienstag
regions: [li]
function: easter(year)
function_modifier: -47
- name: Karfreitag
regions: [li]
function: easter(year)
function_modifier: -2
- name: Ostern
regions: [li]
function: easter(year)
type: informal
- name: Ostermontag
regions: [li]
function: easter(year)
function_modifier: 1
- name: Auffahrt
regions: [li]
function: easter(year)
function_modifier: 39
- name: Pfingstmontag
regions: [li]
function: easter(year)
function_modifier: 50
- name: Fronleichnam
regions: [li]
function: easter(year)
function_modifier: 60
1:
- name: Neujahrstag
regions: [li]
mday: 1
- name: Heilige Drei Könige
regions: [li, li]
mday: 6
2:
- name: Maria Lichtmess
regions: [li]
mday: 2
3:
- name: St. Josef
regions: [li]
mday: 19
5:
- name: Tag der Arbeit
regions: [li]
mday: 1
8:
- name: Staatsfeiertag
regions: [li]
mday: 15
9:
- name: Maria Geburt
regions: [li]
mday: 8
11:
- name: Allerheiligen
regions: [li]
mday: 1
12:
- name: Maria Empfängnis
regions: [li]
mday: 8
- name: Heilig Abend
regions: [li]
mday: 24
- name: Weihnachten
regions: [li]
mday: 25
- name: Stefanstag
regions: [li]
mday: 26
- name: Silvester
regions: [li]
mday: 31
tests:
- given:
date: '2009-01-01'
regions: ["li"]
options: ["informal"]
expect:
name: "Neujahrstag"
- given:
date: '2011-03-08'
regions: ["li"]
options: ["informal"]
expect:
name: "Fasnachtsdienstag"
- given:
date: '2009-04-10'
regions: ["li"]
options: ["informal"]
expect:
name: "Karfreitag"
- given:
date: '2009-04-12'
regions: ["li"]
options: ["informal"]
expect:
name: "Ostern"
- given:
date: '2009-04-13'
regions: ["li"]
options: ["informal"]
expect:
name: "Ostermontag"
- given:
date: '2009-05-21'
regions: ["li"]
options: ["informal"]
expect:
name: "Auffahrt"
- given:
date: '2009-06-01'
regions: ["li"]
options: ["informal"]
expect:
name: "Pfingstmontag"
- given:
date: '2009-12-25'
regions: ["li"]
options: ["informal"]
expect:
name: "Weihnachten"
- given:
date: '2009-12-26'
regions: ["li"]
options: ["informal"]
expect:
name: "Stefanstag"
- given:
date: '2009-06-11'
regions: ["li"]
expect:
name: "Fronleichnam"
- given:
date: '2009-08-15'
regions: ["li"]
expect:
name: "Staatsfeiertag"
- given:
date: '2009-11-01'
regions: ["li"]
expect:
name: "Allerheiligen"