-
Notifications
You must be signed in to change notification settings - Fork 136
/
lu.yaml
123 lines (122 loc) · 2.37 KB
/
lu.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
# Luxembourg holiday definitions for the Ruby Holiday gem.
#
# Updated: 2020-01-21.
# Sources:
# - https://en.wikipedia.org/wiki/Public_holidays_in_Luxembourg
---
months:
0:
- name: Ouschterméindeg
regions: [lu]
function: easter(year)
function_modifier: 1
- name: Christi Himmelfaart
regions: [lu]
function: easter(year)
function_modifier: 39
- name: Péngschtméindeg
regions: [lu]
function: easter(year)
function_modifier: 49
1:
- name: Neijoerschdag
regions: [lu]
mday: 1
5:
- name: Dag vun der Aarbecht
regions: [lu]
mday: 1
- name: Europadag
regions: [lu]
mday: 9
year_ranges:
from: 2019
6:
- name: Nationalfeierdag
regions: [lu]
mday: 23
8:
- name: Léiffrawëschdag
regions: [lu]
mday: 15
11:
- name: Allerhellgen
regions: [lu]
mday: 1
12:
- name: Chrëschtdag
regions: [lu]
mday: 25
- name: Stiefesdag
regions: [lu]
mday: 26
tests:
- given:
date: '2008-01-01'
regions: ["lu"]
options: ["informal"]
expect:
name: "Neijoerschdag"
- given:
date: '2008-03-24'
regions: ["lu"]
options: ["informal"]
expect:
name: "Ouschterméindeg"
- given:
date: '2008-05-01'
regions: ["lu"]
options: ["informal"]
expect:
name: "Christi Himmelfaart"
- given:
date: '2008-06-23'
regions: ["lu"]
options: ["informal"]
expect:
name: "Nationalfeierdag"
- given:
date: '2008-08-15'
regions: ["lu"]
options: ["informal"]
expect:
name: "Léiffrawëschdag"
- given:
date: '2008-11-01'
regions: ["lu"]
options: ["informal"]
expect:
name: "Allerhellgen"
- given:
date: '2008-12-25'
regions: ["lu"]
options: ["informal"]
expect:
name: "Chrëschtdag"
- given:
date: '2008-12-26'
regions: ["lu"]
options: ["informal"]
expect:
name: "Stiefesdag"
- given:
date: '2008-05-11'
regions: ["lu"]
options: ["informal"]
expect:
name: "Péngschtméindeg"
- given:
date: '2019-05-01'
regions: ["lu"]
expect:
name: "Dag vun der Aarbecht"
- given:
date: '2019-05-09'
regions: ["lu"]
expect:
name: "Europadag"
- given:
date: '2018-05-09'
regions: ["lu"]
expect:
holiday: false