forked from holidays/definitions
-
Notifications
You must be signed in to change notification settings - Fork 5
/
pk.yaml
107 lines (106 loc) · 2.27 KB
/
pk.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
# Pakistan holiday definitions for the Ruby Holiday gem.
#
# https://trello-attachments.s3.amazonaws.com/561af80c433ec5f6175b74ba/59b1156ea7e691f048c08b2b/d5c0513eca7d33141d76615b15d1d58b/Public_holidays_2017_(1).pdf
# Excluded holidays that are dependent on the moon appearing, and holidays that are only for Christians.
#
# https://en.wikipedia.org/wiki/Kashmir_Solidarity_Day
# https://en.wikipedia.org/wiki/Pakistan_Day
# https://www.timeanddate.com/holidays/pakistan/labour-day
# https://en.wikipedia.org/wiki/Independence_Day_(Pakistan)
months:
2:
- name: Kashmir Day
regions: [pk]
mday: 5
3:
- name: Pakistan Day
regions: [pk]
mday: 23
5:
- name: Labour Day
regions: [pk]
mday: 1
8:
- name: Independence Day
regions: [pk]
mday: 14
12:
- name: Quaid-i-Azam Day
regions: [pk]
mday: 25
tests:
- given:
date: '2017-02-05'
regions: ["pk"]
expect:
name: 'Kashmir Day'
- given:
date: '2018-02-05'
regions: ["pk"]
expect:
name: 'Kashmir Day'
- given:
date: '2019-02-05'
regions: ["pk"]
expect:
name: 'Kashmir Day'
- given:
date: '2017-03-23'
regions: ["pk"]
expect:
name: 'Pakistan Day'
- given:
date: '2018-03-23'
regions: ["pk"]
expect:
name: 'Pakistan Day'
- given:
date: '2019-03-23'
regions: ["pk"]
expect:
name: 'Pakistan Day'
- given:
date: '2017-05-01'
regions: ["pk"]
expect:
name: 'Labour Day'
- given:
date: '2018-05-01'
regions: ["pk"]
expect:
name: 'Labour Day'
- given:
date: '2019-05-01'
regions: ["pk"]
expect:
name: 'Labour Day'
- given:
date: '2017-08-14'
regions: ["pk"]
expect:
name: 'Independence Day'
- given:
date: '2018-08-14'
regions: ["pk"]
expect:
name: 'Independence Day'
- given:
date: '2019-08-14'
regions: ["pk"]
expect:
name: 'Independence Day'
- given:
date: '2017-12-25'
regions: ["pk"]
expect:
name: 'Quaid-i-Azam Day'
- given:
date: '2018-12-25'
regions: ["pk"]
expect:
name: 'Quaid-i-Azam Day'
- given:
date: '2019-12-25'
regions: ["pk"]
expect:
name: 'Quaid-i-Azam Day'