This repository has been archived by the owner on Jun 23, 2020. It is now read-only.
forked from holidays/definitions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bg.yaml
186 lines (185 loc) · 4.18 KB
/
bg.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# Bulgaria holiday definitions for the Ruby Holiday gem.
#
# Updated: 2015-04-01.
# Source: http://en.wikipedia.org/wiki/Public_holidays_in_Bulgaria
---
months:
0:
- name: Good Friday
regions: [bg_en]
function: orthodox_easter_julian(year)
function_modifier: -2
- name: Разпети петък
regions: [bg_bg]
function: orthodox_easter_julian(year)
function_modifier: -2
- name: Holy Saturday
regions: [bg_en]
function: orthodox_easter_julian(year)
function_modifier: -1
- name: Велика събота
regions: [bg_bg]
function: orthodox_easter_julian(year)
function_modifier: -1
- name: Easter Sunday
regions: [bg_en]
function: orthodox_easter_julian(year)
- name: Възкресение Христово. Великден
regions: [bg_bg]
function: orthodox_easter_julian(year)
- name: Easter Monday
regions: [bg_en]
function: orthodox_easter_julian(year)
function_modifier: 1
- name: Възкресение Христово. Великден
regions: [bg_bg]
function: orthodox_easter_julian(year)
function_modifier: 1
1:
- name: New Year's Day
regions: [bg_en]
mday: 1
- name: Нова година
regions: [bg_bg]
mday: 1
3:
- name: Liberation Day
regions: [bg_en]
mday: 3
- name: Освобожението на България
regions: [bg_bg]
mday: 3
5:
- name: Labour Day
regions: [bg_en]
mday: 1
- name: Ден на труда
regions: [bg_bg]
mday: 1
- name: St. George's Day
regions: [bg_en]
mday: 6
- name: Гергьовден. Ден на храбростта
regions: [bg_bg]
mday: 6
- name: Slavic Literacy Day
regions: [bg_en]
mday: 24
- name: Ден на славянската писменост
regions: [bg_bg]
mday: 24
9:
- name: Unification Day
regions: [bg_en]
mday: 6
- name: Ден на Съединението
regions: [bg_bg]
mday: 6
- name: The Independence Day
regions: [bg_en]
mday: 22
- name: Ден на Независимостта
regions: [bg_bg]
mday: 22
11:
- name: Revival Leader's Day
regions: [bg_en]
mday: 1
- name: Ден на Народните будители
regions: [bg_bg]
mday: 1
12:
- name: Christmas Eve
regions: [bg_en]
mday: 24
- name: Бъдни вечер
regions: [bg_bg]
mday: 24
- name: Christmas
regions: [bg_en]
mday: 25
- name: Рождество Христово. Коледа
regions: [bg_bg]
mday: 25
- name: Christmas
regions: [bg_en]
mday: 26
- name: Рождество Христово. Коледа
regions: [bg_bg]
mday: 26
tests:
- given:
date: '2015-01-01'
regions: ["bg_en"]
expect:
name: "New Year's Day"
- given:
date: '2015-03-03'
regions: ["bg_en"]
expect:
name: 'Liberation Day'
- given:
date: '2015-03-28'
regions: ["bg_en"]
expect:
name: 'Good Friday'
- given:
date: '2015-03-29'
regions: ["bg_en"]
expect:
name: 'Holy Saturday'
- given:
date: '2015-03-30'
regions: ["bg_en"]
expect:
name: 'Easter Sunday'
- given:
date: '2015-03-31'
regions: ["bg_en"]
expect:
name: 'Easter Monday'
- given:
date: '2015-05-01'
regions: ["bg_en"]
expect:
name: 'Labour Day'
- given:
date: '2015-05-06'
regions: ["bg_en"]
expect:
name: "St. George's Day"
- given:
date: '2015-05-24'
regions: ["bg_en"]
expect:
name: 'Slavic Literacy Day'
- given:
date: '2015-09-06'
regions: ["bg_en"]
expect:
name: 'Unification Day'
- given:
date: '2015-09-22'
regions: ["bg_en"]
expect:
name: 'The Independence Day'
- given:
date: '2015-11-01'
regions: ["bg_en"]
expect:
name: "Revival Leader's Day"
- given:
date: '2015-12-24'
regions: ["bg_en"]
expect:
name: 'Christmas Eve'
- given:
date: '2015-12-25'
regions: ["bg_en"]
expect:
name: 'Christmas'
- given:
date: '2015-12-26'
regions: ["bg_en"]
expect:
name: 'Christmas'