-
Notifications
You must be signed in to change notification settings - Fork 136
/
ve.yaml
118 lines (117 loc) · 2.38 KB
/
ve.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
# Venezuela holiday definitions for the Ruby Holiday gem.
#
# Just including nonworking days nationally
#
# Updated: 2012-09-14.
# Source: http://venciclopedia.com/index.php?title=D%C3%ADas_feriados_de_Venezuela
---
months:
0:
- name: Lunes Carnaval
regions: [ve]
function: easter(year)
function_modifier: -48
- name: Martes Carnaval
regions: [ve]
function: easter(year)
function_modifier: -47
- name: Jueves Santo
regions: [ve]
function: easter(year)
function_modifier: -3
- name: Viernes Santo
regions: [ve]
function: easter(year)
function_modifier: -2
1:
- name: Año Nuevo
regions: [ve]
mday: 1
4:
- name: Declaración Independencia
regions: [ve]
mday: 19
5:
- name: Día del Trabajador
regions: [ve]
mday: 1
6:
- name: Aniversario Batalla de Carabobo
regions: [ve]
mday: 24
7:
- name: Día de la Independencia
regions: [ve]
mday: 5
- name: Natalicio de Simón Bolívar
regions: [ve]
mday: 24
10:
- name: Día de la Resistencia Indígena
regions: [ve]
mday: 12
12:
- name: Día de Navidad
regions: [ve]
mday: 25
tests:
- given:
date: '2013-01-01'
regions: ["ve"]
expect:
name: "Año Nuevo"
- given:
date: '2013-02-11'
regions: ["ve"]
expect:
name: "Lunes Carnaval"
- given:
date: '2013-02-12'
regions: ["ve"]
expect:
name: "Martes Carnaval"
- given:
date: '2013-03-28'
regions: ["ve"]
expect:
name: "Jueves Santo"
- given:
date: '2013-03-29'
regions: ["ve"]
expect:
name: "Viernes Santo"
- given:
date: '2013-04-19'
regions: ["ve"]
expect:
name: "Declaración Independencia"
- given:
date: '2013-05-01'
regions: ["ve"]
expect:
name: "Día del Trabajador"
- given:
date: '2013-06-24'
regions: ["ve"]
expect:
name: "Aniversario Batalla de Carabobo"
- given:
date: '2013-07-05'
regions: ["ve"]
expect:
name: "Día de la Independencia"
- given:
date: '2013-07-24'
regions: ["ve"]
expect:
name: "Natalicio de Simón Bolívar"
- given:
date: '2013-10-12'
regions: ["ve"]
expect:
name: "Día de la Resistencia Indígena"
- given:
date: '2013-12-25'
regions: ["ve"]
expect:
name: "Día de Navidad"