forked from TandaHQ/definitions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lu.yaml
99 lines (98 loc) · 1.94 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
# Luxembourg holiday definitions for the Ruby Holiday gem.
#
# Updated: 2019-07-19.
# 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
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"