@@ -49,35 +49,28 @@ protected override IEnumerable<HolidaySpecification> GetHolidaySpecifications(in
49
49
Date = new DateTime ( year , 1 , 6 ) ,
50
50
EnglishName = "Epiphany" ,
51
51
LocalName = "Día de Reyes" ,
52
- HolidayTypes = HolidayTypes . Public
52
+ HolidayTypes = HolidayTypes . Bank
53
53
} ,
54
54
new HolidaySpecification
55
55
{
56
56
Date = new DateTime ( year , 1 , 14 ) ,
57
57
EnglishName = "Feast of the Divina Pastora" ,
58
58
LocalName = "Día de la Divina Pastora" ,
59
- HolidayTypes = HolidayTypes . Public
59
+ HolidayTypes = HolidayTypes . Observance
60
60
} ,
61
61
new HolidaySpecification
62
62
{
63
63
Date = new DateTime ( year , 1 , 15 ) ,
64
64
EnglishName = "Teacher's Day" ,
65
65
LocalName = "Día del Maestro" ,
66
- HolidayTypes = HolidayTypes . Public
66
+ HolidayTypes = HolidayTypes . Observance
67
67
} ,
68
68
new HolidaySpecification
69
69
{
70
70
Date = new DateTime ( year , 2 , 12 ) ,
71
71
EnglishName = "Youth Day" ,
72
72
LocalName = "Día de la Juventud" ,
73
- HolidayTypes = HolidayTypes . Public
74
- } ,
75
- new HolidaySpecification
76
- {
77
- Date = new DateTime ( year , 2 , 20 ) ,
78
- EnglishName = "Federation Day" ,
79
- LocalName = "Dia de la Federacion" ,
80
- HolidayTypes = HolidayTypes . Public
73
+ HolidayTypes = HolidayTypes . Observance
81
74
} ,
82
75
new HolidaySpecification
83
76
{
@@ -98,35 +91,35 @@ protected override IEnumerable<HolidaySpecification> GetHolidaySpecifications(in
98
91
Date = new DateTime ( year , 3 , 8 ) ,
99
92
EnglishName = "International Women's Day" ,
100
93
LocalName = "Dia Internacional de la Mujer" ,
101
- HolidayTypes = HolidayTypes . Public
94
+ HolidayTypes = HolidayTypes . Observance
102
95
} ,
103
96
new HolidaySpecification
104
97
{
105
98
Date = new DateTime ( year , 3 , 19 ) ,
106
99
EnglishName = "St Joseph's Day" ,
107
100
LocalName = "Día de San José" ,
108
- HolidayTypes = HolidayTypes . Public
101
+ HolidayTypes = HolidayTypes . Bank
109
102
} ,
110
103
new HolidaySpecification
111
104
{
112
105
Date = new DateTime ( year , 3 , 21 ) ,
113
106
EnglishName = "Slavery Abolition Anniversary" ,
114
107
LocalName = "Día del abolición de la esclavitud" ,
115
- HolidayTypes = HolidayTypes . Public
108
+ HolidayTypes = HolidayTypes . Observance
116
109
} ,
117
110
new HolidaySpecification
118
111
{
119
112
Date = new DateTime ( year , 3 , 31 ) ,
120
113
EnglishName = "Foundation anniversary Day of San Cristóbal, Táchira" ,
121
114
LocalName = "Aniversario del fundacion del San Cristóbal" ,
122
- HolidayTypes = HolidayTypes . Public
115
+ HolidayTypes = HolidayTypes . Observance
123
116
} ,
124
117
new HolidaySpecification
125
118
{
126
119
Date = new DateTime ( year , 4 , 19 ) ,
127
120
EnglishName = "Beginning of the Independence Movement" ,
128
121
LocalName = "Diez y nueve de abril" ,
129
- HolidayTypes = HolidayTypes . Public
122
+ HolidayTypes = HolidayTypes . Observance
130
123
} ,
131
124
new HolidaySpecification
132
125
{
@@ -140,35 +133,35 @@ protected override IEnumerable<HolidaySpecification> GetHolidaySpecifications(in
140
133
Date = new DateTime ( year , 5 , 3 ) ,
141
134
EnglishName = "Fiesta de las Cruces" ,
142
135
LocalName = "Día del Cruz del Mayo" ,
143
- HolidayTypes = HolidayTypes . Public
136
+ HolidayTypes = HolidayTypes . Observance
144
137
} ,
145
138
new HolidaySpecification
146
139
{
147
140
Date = secondSundayInMay ,
148
141
EnglishName = "Mother's Day" ,
149
142
LocalName = "Día de las Madres" ,
150
- HolidayTypes = HolidayTypes . Public
143
+ HolidayTypes = HolidayTypes . Observance
151
144
} ,
152
145
new HolidaySpecification
153
146
{
154
147
Date = thirdSundayInJune ,
155
148
EnglishName = "Father's Day" ,
156
149
LocalName = "Día de los Padres" ,
157
- HolidayTypes = HolidayTypes . Public
150
+ HolidayTypes = HolidayTypes . Observance
158
151
} ,
159
152
new HolidaySpecification
160
153
{
161
154
Date = new DateTime ( year , 6 , 24 ) ,
162
- EnglishName = "Army Day " ,
155
+ EnglishName = "Feast of Saint John the Baptist and the Anniversary of the Battle of Carabobo " ,
163
156
LocalName = "Día de San Juan Bautista y aniversario de la Batalla de Carabobo" ,
164
- HolidayTypes = HolidayTypes . Public
157
+ HolidayTypes = HolidayTypes . Observance
165
158
} ,
166
159
new HolidaySpecification
167
160
{
168
161
Date = new DateTime ( year , 6 , 27 ) ,
169
162
EnglishName = "Journalists' Day" ,
170
163
LocalName = "Día del Periodista y aniversario de la instauración del Decreto de Instrucción pública gratuita y obligatoria" ,
171
- HolidayTypes = HolidayTypes . Public
164
+ HolidayTypes = HolidayTypes . Observance
172
165
} ,
173
166
new HolidaySpecification
174
167
{
@@ -182,42 +175,42 @@ protected override IEnumerable<HolidaySpecification> GetHolidaySpecifications(in
182
175
Date = thirdSundayInJuly ,
183
176
EnglishName = "Children's Day" ,
184
177
LocalName = "Dia del niño" ,
185
- HolidayTypes = HolidayTypes . Public
178
+ HolidayTypes = HolidayTypes . Observance
186
179
} ,
187
180
new HolidaySpecification
188
181
{
189
182
Date = new DateTime ( year , 7 , 24 ) ,
190
- EnglishName = "Navy Day " ,
183
+ EnglishName = "Birth of the Liberator " ,
191
184
LocalName = "Natalicio del Libertador, Dia de la Armada Nacional" ,
192
- HolidayTypes = HolidayTypes . Public
185
+ HolidayTypes = HolidayTypes . Observance
193
186
} ,
194
187
new HolidaySpecification
195
188
{
196
189
Date = new DateTime ( year , 7 , 25 ) ,
197
190
EnglishName = "Caracas City Foundation Day" ,
198
191
LocalName = "Aniversario del fundacion del Caracas" ,
199
- HolidayTypes = HolidayTypes . Public
192
+ HolidayTypes = HolidayTypes . Observance
200
193
} ,
201
194
new HolidaySpecification
202
195
{
203
196
Date = new DateTime ( year , 8 , 3 ) ,
204
197
EnglishName = "Flag Day" ,
205
198
LocalName = "Día de la Bandera" ,
206
- HolidayTypes = HolidayTypes . Public
199
+ HolidayTypes = HolidayTypes . Observance
207
200
} ,
208
201
new HolidaySpecification
209
202
{
210
203
Date = new DateTime ( year , 9 , 8 ) ,
211
- EnglishName = "Birth of the Blessed Virgin Mary and feasts of the Virgen del Valle and Our Lady of Coromoto " ,
212
- LocalName = "Día del Virgen del Valle, aparicion del Virgen del Coromoto " ,
213
- HolidayTypes = HolidayTypes . Public
204
+ EnglishName = "Birth of the Blessed Virgin Mary" ,
205
+ LocalName = "Día del Virgen del Valle" ,
206
+ HolidayTypes = HolidayTypes . Observance
214
207
} ,
215
208
new HolidaySpecification
216
209
{
217
210
Date = new DateTime ( year , 9 , 24 ) ,
218
211
EnglishName = "Feast of the Our Lady of Mercy" ,
219
212
LocalName = "Día del Virgen de las Mercedes" ,
220
- HolidayTypes = HolidayTypes . Public
213
+ HolidayTypes = HolidayTypes . Observance
221
214
} ,
222
215
new HolidaySpecification
223
216
{
@@ -231,56 +224,21 @@ protected override IEnumerable<HolidaySpecification> GetHolidaySpecifications(in
231
224
Date = new DateTime ( year , 11 , 1 ) ,
232
225
EnglishName = "All Saints' Day" ,
233
226
LocalName = "Día de Todos los Santos" ,
234
- HolidayTypes = HolidayTypes . Public
227
+ HolidayTypes = HolidayTypes . Bank
235
228
} ,
236
229
new HolidaySpecification
237
230
{
238
231
Date = new DateTime ( year , 11 , 2 ) ,
239
232
EnglishName = "All Souls' Day" ,
240
233
LocalName = "Día de los fieles difuntos" ,
241
- HolidayTypes = HolidayTypes . Public
242
- } ,
243
- new HolidaySpecification
244
- {
245
- Date = new DateTime ( year , 11 , 17 ) ,
246
- EnglishName = "Feria of La Chinita" ,
247
- LocalName = "Feria de la Chinita" ,
248
- HolidayTypes = HolidayTypes . Public
249
- } ,
250
- new HolidaySpecification
251
- {
252
- Date = new DateTime ( year , 11 , 18 ) ,
253
- EnglishName = "Feria of La Chinita" ,
254
- LocalName = "Feria de la Chinita" ,
255
- HolidayTypes = HolidayTypes . Public
256
- } ,
257
- new HolidaySpecification
258
- {
259
- Date = new DateTime ( year , 11 , 19 ) ,
260
- EnglishName = "Feria of La Chinita" ,
261
- LocalName = "Feria de la Chinita" ,
262
- HolidayTypes = HolidayTypes . Public
263
- } ,
264
- new HolidaySpecification
265
- {
266
- Date = new DateTime ( year , 11 , 21 ) ,
267
- EnglishName = "University Students Day" ,
268
- LocalName = "Día del estudiante universitario" ,
269
- HolidayTypes = HolidayTypes . Public
234
+ HolidayTypes = HolidayTypes . Observance
270
235
} ,
271
236
new HolidaySpecification
272
237
{
273
238
Date = new DateTime ( year , 12 , 8 ) ,
274
- EnglishName = "Immaculate Conception, Loyalty Day" ,
275
- LocalName = "Inmaculada Concepción, Dia de la Lealtad" ,
276
- HolidayTypes = HolidayTypes . Public
277
- } ,
278
- new HolidaySpecification
279
- {
280
- Date = new DateTime ( year , 12 , 17 ) ,
281
- EnglishName = "Simon Bolivar Memorial Day" ,
282
- LocalName = "Aniversario de la muerte de Libertador Simon Bolivar" ,
283
- HolidayTypes = HolidayTypes . Public
239
+ EnglishName = "Immaculate Conception Day" ,
240
+ LocalName = "La Inmaculada Concepción" ,
241
+ HolidayTypes = HolidayTypes . Bank
284
242
} ,
285
243
new HolidaySpecification
286
244
{
@@ -302,7 +260,9 @@ protected override IEnumerable<HolidaySpecification> GetHolidaySpecifications(in
302
260
EnglishName = "New Year's Eve" ,
303
261
LocalName = "Nochevieja" ,
304
262
HolidayTypes = HolidayTypes . Public
305
- }
263
+ } ,
264
+ this . _catholicProvider . AscensionDay ( "Día de la Ascención" , year ) . SetHolidayTypes ( HolidayTypes . Bank ) ,
265
+ this . _catholicProvider . CorpusChristi ( "Corpus Christi" , year ) . SetHolidayTypes ( HolidayTypes . Bank )
306
266
} ;
307
267
308
268
return holidaySpecifications ;
0 commit comments