-
Notifications
You must be signed in to change notification settings - Fork 136
/
nl.yaml
127 lines (126 loc) · 2.54 KB
/
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
119
120
121
122
123
124
125
126
127
# Dutch holiday definitions for the Ruby Holiday gem.
#
# Updated: 2014-04-17.
# Sources:
# - http://en.wikipedia.org/wiki/Public_holidays_in_the_Netherlands
---
months:
0:
- name: Goede Vrijdag
regions: [nl]
function: easter(year)
function_modifier: -2
type: informal
- name: Eerste Paasdag
regions: [nl]
function: easter(year)
- name: Tweede Paasdag
regions: [nl]
function: easter(year)
function_modifier: 1
- name: Hemelvaartsdag
regions: [nl]
function: easter(year)
function_modifier: 39
- name: Eerste Pinksterdag
regions: [nl]
function: easter(year)
function_modifier: 49
- name: Tweede Pinksterdag
regions: [nl]
function: easter(year)
function_modifier: 50
1:
- name: Nieuwjaarsdag
regions: [nl]
mday: 1
4:
- name: Koningsdag
regions: [nl]
mday: 27
5:
- name: Dodenherdenking
regions: [nl]
mday: 4
type: informal
- name: Bevrijdingsdag
regions: [nl]
mday: 5
12:
- name: Sinterklaas
regions: [nl]
mday: 5
type: informal
- name: Eerste Kerstdag
regions: [nl]
mday: 25
- name: Tweede Kerstdag
regions: [nl]
mday: 26
tests:
- given:
date: '2008-01-01'
regions: ["nl"]
options: ["informal"]
expect:
name: "Nieuwjaarsdag"
- given:
date: '2008-03-21'
regions: ["nl"]
options: ["informal"]
expect:
name: "Goede Vrijdag"
- given:
date: '2008-03-23'
regions: ["nl"]
options: ["informal"]
expect:
name: "Eerste Paasdag"
- given:
date: '2008-03-24'
regions: ["nl"]
options: ["informal"]
expect:
name: "Tweede Paasdag"
- given:
date: '2008-04-27'
regions: ["nl"]
options: ["informal"]
expect:
name: "Koningsdag"
- given:
date: '2008-05-01'
regions: ["nl"]
options: ["informal"]
expect:
name: "Hemelvaartsdag"
- given:
date: '2008-05-05'
regions: ["nl"]
options: ["informal"]
expect:
name: "Bevrijdingsdag"
- given:
date: '2008-05-11'
regions: ["nl"]
options: ["informal"]
expect:
name: "Eerste Pinksterdag"
- given:
date: '2008-05-12'
regions: ["nl"]
options: ["informal"]
expect:
name: "Tweede Pinksterdag"
- given:
date: '2008-12-25'
regions: ["nl"]
options: ["informal"]
expect:
name: "Eerste Kerstdag"
- given:
date: '2008-12-26'
regions: ["nl"]
options: ["informal"]
expect:
name: "Tweede Kerstdag"