forked from holidays/definitions
-
Notifications
You must be signed in to change notification settings - Fork 5
/
ro.yaml
174 lines (173 loc) · 3.67 KB
/
ro.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
# Romanian holiday definitions for the Ruby Holiday gem.
#
# Created: 2013-07-23 by Mihai Târnovan
# Sources:
# - http://ro.wikipedia.org/wiki/S%C4%83rb%C4%83tori_publice_%C3%AEn_Rom%C3%A2nia
# - http://en.wikipedia.org/wiki/Public_holidays_in_Romania
---
months:
0:
- name: Paștele - duminică
regions: [ro]
function: orthodox_easter(year)
- name: Paștele - luni
regions: [ro]
function: orthodox_easter(year)
function_modifier: 1
- name: Rusaliile - 50
regions: [ro]
function: orthodox_easter(year)
function_modifier: 49
- name: Rusaliile - 51
regions: [ro]
function: orthodox_easter(year)
function_modifier: 50
1:
- name: Anul nou
regions: [ro]
mday: 1
- name: Anul nou
regions: [ro]
mday: 2
5:
- name: Ziua muncii
regions: [ro]
mday: 1
8:
- name: Adormirea Maicii Domnului
regions: [ro]
mday: 15
11:
- name: Sfântul Apostol Andrei
regions: [ro]
mday: 30
12:
- name: Ziua Națională
regions: [ro]
mday: 1
- name: Sărbătoarea Nașterii Domnului
regions: [ro]
mday: 25
- name: Sărbătoarea Nașterii Domnului
regions: [ro]
mday: 26
tests:
- given:
date: '1961-04-09'
regions: ["ro"]
options: ["informal"]
expect:
name: "Paștele - duminică"
- given:
date: '1961-04-10'
regions: ["ro"]
options: ["informal"]
expect:
name: "Paștele - luni"
- given:
date: '2013-05-05'
regions: ["ro"]
options: ["informal"]
expect:
name: "Paștele - duminică"
- given:
date: '2013-05-06'
regions: ["ro"]
options: ["informal"]
expect:
name: "Paștele - luni"
- given:
date: '2027-05-02'
regions: ["ro"]
options: ["informal"]
expect:
name: "Paștele - duminică"
- given:
date: '2027-05-03'
regions: ["ro"]
options: ["informal"]
expect:
name: "Paștele - luni"
- given:
date: '2012-06-04'
regions: ["ro"]
options: ["informal"]
expect:
name: "Rusaliile - 51"
- given:
date: '2013-06-23'
regions: ["ro"]
options: ["informal"]
expect:
name: "Rusaliile - 50"
- given:
date: '2013-06-24'
regions: ["ro"]
options: ["informal"]
expect:
name: "Rusaliile - 51"
- given:
date: '1986-06-22'
regions: ["ro"]
options: ["informal"]
expect:
name: "Rusaliile - 50"
- given:
date: '1986-06-23'
regions: ["ro"]
options: ["informal"]
expect:
name: "Rusaliile - 51"
- given:
date: '2009-01-01'
regions: ["ro"]
options: ["informal"]
expect:
name: "Anul nou"
- given:
date: '2014-01-02'
regions: ["ro"]
options: ["informal"]
expect:
name: "Anul nou"
- given:
date: '2009-05-01'
regions: ["ro"]
options: ["informal"]
expect:
name: "Ziua muncii"
- given:
date: '2012-08-15'
regions: ["ro"]
options: ["informal"]
expect:
name: "Adormirea Maicii Domnului"
- given:
date: '2013-11-30'
regions: ["ro"]
options: ["informal"]
expect:
name: "Sfântul Apostol Andrei"
- given:
date: '2013-12-01'
regions: ["ro"]
options: ["informal"]
expect:
name: "Ziua Națională"
- given:
date: '2013-12-25'
regions: ["ro"]
options: ["informal"]
expect:
name: "Sărbătoarea Nașterii Domnului"
- given:
date: '2013-12-26'
regions: ["ro"]
options: ["informal"]
expect:
name: "Sărbătoarea Nașterii Domnului"
- given:
date: '2013-07-23'
regions: ["ro"]
expect:
holiday: false