forked from holidays/definitions
-
Notifications
You must be signed in to change notification settings - Fork 5
/
be_fr.yaml
118 lines (117 loc) · 2.35 KB
/
be_fr.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 French.
#
# Updated: 2012-06-20.
# Sources:
# - http://en.wikipedia.org/wiki/Public_holidays_in_Belgium
---
months:
0:
- name: Pâques
regions: ['be_fr']
function: easter(year)
- name: Lundi de Pâques
regions: ['be_fr']
function: easter(year)
function_modifier: 1
- name: Ascension
regions: ['be_fr']
function: easter(year)
function_modifier: 39
- name: Lundi de Pentecôte
regions: ['be_fr']
function: easter(year)
function_modifier: 50
1:
- name: Jour de l'an
regions: ['be_fr']
mday: 1
5:
- name: Fête du travail
regions: ['be_fr']
mday: 1
7:
- name: Fête nationale
regions: ['be_fr']
mday: 21
8:
- name: Assomption
regions: ['be_fr']
mday: 15
11:
- name: Toussaint
regions: ['be_fr']
mday: 1
- name: Armistice 1918
regions: ['be_fr']
mday: 11
12:
- name: Noël
regions: ['be_fr']
mday: 25
tests:
- given:
date: '2007-01-01'
regions: ['be_fr']
options: ["informal"]
expect:
name: "Jour de l'an"
- given:
date: '2007-04-08'
regions: ['be_fr']
options: ["informal"]
expect:
name: 'Pâques'
- given:
date: '2007-04-09'
regions: ['be_fr']
options: ["informal"]
expect:
name: 'Lundi de Pâques'
- given:
date: '2007-05-01'
regions: ['be_fr']
options: ["informal"]
expect:
name: 'Fête du travail'
- given:
date: '2007-05-17'
regions: ['be_fr']
options: ["informal"]
expect:
name: 'Ascension'
- given:
date: '2007-05-28'
regions: ['be_fr']
options: ["informal"]
expect:
name: 'Lundi de Pentecôte'
- given:
date: '2007-07-21'
regions: ['be_fr']
options: ["informal"]
expect:
name: 'Fête nationale'
- given:
date: '2007-08-15'
regions: ['be_fr']
options: ["informal"]
expect:
name: 'Assomption'
- given:
date: '2007-11-01'
regions: ['be_fr']
options: ["informal"]
expect:
name: 'Toussaint'
- given:
date: '2007-11-11'
regions: ['be_fr']
options: ["informal"]
expect:
name: 'Armistice 1918'
- given:
date: '2007-12-25'
regions: ['be_fr']
options: ["informal"]
expect:
name: 'Noël'