-
Notifications
You must be signed in to change notification settings - Fork 136
/
lt.yaml
198 lines (197 loc) · 3.85 KB
/
lt.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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
# Lithuanian holiday definitions for the Ruby Holiday gem.
#
# Updated: 2014-10-02
# Sources:
# - http://en.wikipedia.org/wiki/Public_holidays_in_Lithuania
# - http://day.lt/sventes/nedarbo
---
months:
0:
- name: Šv. Velykos
regions: [lt]
function: easter(year)
- name: Antroji Velykų diena
regions: [lt]
function: easter(year)
function_modifier: 1
1:
- name: Naujieji metai
regions: [lt]
mday: 1
2:
- name: Valstybės atkūrimo diena
regions: [lt]
mday: 16
3:
- name: Nepriklausomybės atkūrimo diena
regions: [lt]
mday: 11
5:
- name: Darbininkų diena
regions: [lt]
mday: 1
6:
- name: Joninės
regions: [lt]
mday: 24
7:
- name: Valstybės diena
regions: [lt]
mday: 6
8:
- name: Žolinė
regions: [lt]
mday: 15
11:
- name: Visų šventųjų diena
regions: [lt]
mday: 1
- name: Mirusiųjų atminimo (Vėlinių) diena
regions: [lt]
mday: 2
12:
- name: Šv. Kūčios
regions: [lt]
mday: 24
- name: Šv. Kalėdos
regions: [lt]
mday: 25
- name: Antroji Kalėdų diena
regions: [lt]
mday: 26
tests:
- given:
date: '2008-01-01'
regions: ["lt"]
expect:
name: "Naujieji metai"
- given:
date: '2008-02-16'
regions: ["lt"]
expect:
name: "Valstybės atkūrimo diena"
- given:
date: '2008-03-11'
regions: ["lt"]
expect:
name: "Nepriklausomybės atkūrimo diena"
- given:
date: '2008-03-23'
regions: ["lt"]
expect:
name: "Šv. Velykos"
- given:
date: '2008-03-24'
regions: ["lt"]
expect:
name: "Antroji Velykų diena"
- given:
date: '2008-05-01'
regions: ["lt"]
expect:
name: "Darbininkų diena"
- given:
date: '2008-06-24'
regions: ["lt"]
expect:
name: "Joninės"
- given:
date: '2008-07-06'
regions: ["lt"]
expect:
name: "Valstybės diena"
- given:
date: '2008-08-15'
regions: ["lt"]
expect:
name: "Žolinė"
- given:
date: '2008-11-01'
regions: ["lt"]
expect:
name: "Visų šventųjų diena"
- given:
date: '2008-12-24'
regions: ["lt"]
expect:
name: "Šv. Kūčios"
- given:
date: '2008-12-25'
regions: ["lt"]
expect:
name: "Šv. Kalėdos"
- given:
date: '2008-12-26'
regions: ["lt"]
expect:
name: "Antroji Kalėdų diena"
- given:
date: '2012-01-01'
regions: ["lt"]
expect:
name: "Naujieji metai"
- given:
date: '2012-02-16'
regions: ["lt"]
expect:
name: "Valstybės atkūrimo diena"
- given:
date: '2012-03-11'
regions: ["lt"]
expect:
name: "Nepriklausomybės atkūrimo diena"
- given:
date: '2012-04-08'
regions: ["lt"]
expect:
name: "Šv. Velykos"
- given:
date: '2012-04-09'
regions: ["lt"]
expect:
name: "Antroji Velykų diena"
- given:
date: '2012-05-01'
regions: ["lt"]
expect:
name: "Darbininkų diena"
- given:
date: '2012-06-24'
regions: ["lt"]
expect:
name: "Joninės"
- given:
date: '2012-07-06'
regions: ["lt"]
expect:
name: "Valstybės diena"
- given:
date: '2012-08-15'
regions: ["lt"]
expect:
name: "Žolinė"
- given:
date: '2012-11-01'
regions: ["lt"]
expect:
name: "Visų šventųjų diena"
- given:
date: '2012-12-24'
regions: ["lt"]
expect:
name: "Šv. Kūčios"
- given:
date: '2012-12-25'
regions: ["lt"]
expect:
name: "Šv. Kalėdos"
- given:
date: '2012-12-26'
regions: ["lt"]
expect:
name: "Antroji Kalėdų diena"
- given:
date: '2024-11-02'
regions: ["lt"]
expect:
name: "Mirusiųjų atminimo (Vėlinių) diena"