-
Notifications
You must be signed in to change notification settings - Fork 136
/
kz.yaml
128 lines (127 loc) · 2.8 KB
/
kz.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
# Kazakh holiday definitions for the Ruby Holiday gem.
#
# Created: 2020-09-18
# Sources:
# - https://www.officeholidays.com/countries/kazakhstan/2020
# - https://en.wikipedia.org/wiki/Public_holidays_in_Kazakhstan
---
months:
1:
- name: Jańa jyl # New Year's Day
regions: [kz]
mday: 1
- name: Jańa jyl # 1st New Year holiday
regions: [kz]
mday: 2
3:
- name: Halyqaralyq áıelder kúni # International Women's Day
regions: [kz]
mday: 8
- name: Naýryz Meıramy # Nauryz
regions: [kz]
mday: 21
- name: Naýryz Meıramy # Nauryz
regions: [kz]
mday: 22
- name: Naýryz Meıramy # Nauryz
regions: [kz]
mday: 23
5:
- name: Qazaqstan halqynyń birligi merekesi # Kazakhstan People's Unity Day
regions: [kz]
mday: 1
- name: Otan Qorǵaýshy kuni # Defender of the Fatherland day
regions: [kz]
mday: 7
- name: Jeńis kúni # Victory Day
regions: [kz]
mday: 9
7:
- name: Astana kúni # Capital Day
regions: [kz]
mday: 6
8:
- name: Qazaqstan Respýblıkasynyń Konstıtýcıyasy kúni # Constitution day
regions: [kz]
mday: 30
12:
- name: Túńǵysh Prezıdent kúni # First President Day
regions: [kz]
mday: 1
- name: Táýelsizdik kúni # Independence day
regions: [kz]
mday: 16
- name: Táýelsizdik kúni # Independence day
regions: [kz]
mday: 17
tests:
- given:
date: ['2020-1-1']
regions: ["kz"]
expect:
name: "Jańa jyl"
- given:
date: ['2020-1-2']
regions: ["kz"]
expect:
name: "Jańa jyl"
- given:
date: '2020-3-8'
regions: ["kz"]
expect:
name: "Halyqaralyq áıelder kúni"
- given:
date: '2020-3-21'
regions: ["kz"]
expect:
name: "Naýryz Meıramy"
- given:
date: '2020-3-22'
regions: ["kz"]
expect:
name: "Naýryz Meıramy"
- given:
date: '2020-3-23'
regions: ["kz"]
expect:
name: "Naýryz Meıramy"
- given:
date: '2020-5-1'
regions: ["kz"]
expect:
name: "Qazaqstan halqynyń birligi merekesi"
- given:
date: '2020-5-7'
regions: ["kz"]
expect:
name: "Otan Qorǵaýshy kuni"
- given:
date: '2020-5-9'
regions: ["kz"]
expect:
name: "Jeńis kúni"
- given:
date: '2020-7-6'
regions: ["kz"]
expect:
name: "Astana kúni"
- given:
date: '2020-8-30'
regions: ["kz"]
expect:
name: "Qazaqstan Respýblıkasynyń Konstıtýcıyasy kúni"
- given:
date: '2020-12-1'
regions: ["kz"]
expect:
name: "Túńǵysh Prezıdent kúni"
- given:
date: '2020-12-16'
regions: ["kz"]
expect:
name: "Táýelsizdik kúni"
- given:
date: '2020-12-17'
regions: ["kz"]
expect:
name: "Táýelsizdik kúni"