forked from holidays/definitions
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbe_nl.yaml
118 lines (117 loc) · 2.36 KB
/
be_nl.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
# Belgium holiday definitions for the Ruby Holiday gem. In Dutch.
#
# Updated: 2016-02-17.
# Sources:
# - http://en.wikipedia.org/wiki/Public_holidays_in_Belgium
---
months:
0:
- name: Pasen
regions: [be_nl]
function: easter(year)
- name: Paasmaandag
regions: [be_nl]
function: easter(year)
function_modifier: 1
- name: O.H. Hemelvaart
regions: [be_nl]
function: easter(year)
function_modifier: 39
- name: Pinkstermaandag
regions: [be_nl]
function: easter(year)
function_modifier: 50
1:
- name: Nieuwjaar
regions: [be_nl]
mday: 1
5:
- name: Feest van de Arbeid
regions: [be_nl]
mday: 1
7:
- name: Nationale Feestdag
regions: [be_nl]
mday: 21
8:
- name: O.L.V. Hemelvaart
regions: [be_nl]
mday: 15
11:
- name: Allerheiligen
regions: [be_nl]
mday: 1
- name: Wapenstilstand 1918
regions: [be_nl]
mday: 11
12:
- name: Kerstmis
regions: [be_nl]
mday: 25
tests:
- given:
date: '2007-01-01'
regions: ["be_nl"]
options: ["informal"]
expect:
name: 'Nieuwjaar'
- given:
date: '2007-04-08'
regions: ["be_nl"]
options: ["informal"]
expect:
name: 'Pasen'
- given:
date: '2007-04-09'
regions: ["be_nl"]
options: ["informal"]
expect:
name: 'Paasmaandag'
- given:
date: '2007-05-01'
regions: ["be_nl"]
options: ["informal"]
expect:
name: 'Feest van de Arbeid'
- given:
date: '2007-05-17'
regions: ["be_nl"]
options: ["informal"]
expect:
name: 'O.H. Hemelvaart'
- given:
date: '2007-05-28'
regions: ["be_nl"]
options: ["informal"]
expect:
name: 'Pinkstermaandag'
- given:
date: '2007-07-21'
regions: ["be_nl"]
options: ["informal"]
expect:
name: 'Nationale Feestdag'
- given:
date: '2007-08-15'
regions: ["be_nl"]
options: ["informal"]
expect:
name: 'O.L.V. Hemelvaart'
- given:
date: '2007-11-01'
regions: ["be_nl"]
options: ["informal"]
expect:
name: 'Allerheiligen'
- given:
date: '2007-11-11'
regions: ["be_nl"]
options: ["informal"]
expect:
name: 'Wapenstilstand 1918'
- given:
date: '2007-12-25'
regions: ["be_nl"]
options: ["informal"]
expect:
name: 'Kerstmis'