holidays 0.68__py3-none-any.whl → 0.70__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- holidays/__init__.py +1 -1
- holidays/calendars/__init__.py +2 -1
- holidays/calendars/balinese_saka.py +112 -0
- holidays/calendars/buddhist.py +1 -1
- holidays/calendars/chinese.py +1 -1
- holidays/calendars/custom.py +1 -1
- holidays/calendars/gregorian.py +1 -1
- holidays/calendars/hebrew.py +1 -1
- holidays/calendars/hindu.py +866 -2
- holidays/calendars/islamic.py +161 -1
- holidays/calendars/julian.py +1 -1
- holidays/calendars/julian_revised.py +1 -1
- holidays/calendars/persian.py +1 -1
- holidays/calendars/sinhala.py +1 -1
- holidays/calendars/thai.py +309 -257
- holidays/constants.py +3 -1
- holidays/countries/__init__.py +7 -1
- holidays/countries/afghanistan.py +17 -7
- holidays/countries/albania.py +16 -7
- holidays/countries/algeria.py +14 -10
- holidays/countries/american_samoa.py +12 -6
- holidays/countries/andorra.py +5 -4
- holidays/countries/angola.py +15 -14
- holidays/countries/antigua_and_barbuda.py +145 -0
- holidays/countries/argentina.py +787 -169
- holidays/countries/armenia.py +5 -6
- holidays/countries/aruba.py +11 -9
- holidays/countries/australia.py +21 -20
- holidays/countries/austria.py +3 -1
- holidays/countries/azerbaijan.py +30 -19
- holidays/countries/bahamas.py +13 -11
- holidays/countries/bahrain.py +14 -7
- holidays/countries/bangladesh.py +5 -4
- holidays/countries/barbados.py +11 -9
- holidays/countries/belarus.py +15 -15
- holidays/countries/belgium.py +8 -6
- holidays/countries/belize.py +7 -6
- holidays/countries/bolivia.py +12 -11
- holidays/countries/bosnia_and_herzegovina.py +21 -11
- holidays/countries/botswana.py +8 -6
- holidays/countries/brazil.py +8 -7
- holidays/countries/brunei.py +56 -62
- holidays/countries/bulgaria.py +9 -10
- holidays/countries/burkina_faso.py +14 -5
- holidays/countries/burundi.py +17 -12
- holidays/countries/cambodia.py +15 -24
- holidays/countries/cameroon.py +16 -7
- holidays/countries/canada.py +13 -12
- holidays/countries/chad.py +15 -6
- holidays/countries/chile.py +29 -28
- holidays/countries/china.py +39 -38
- holidays/countries/colombia.py +15 -20
- holidays/countries/congo.py +6 -7
- holidays/countries/costa_rica.py +11 -10
- holidays/countries/croatia.py +8 -5
- holidays/countries/cuba.py +30 -27
- holidays/countries/curacao.py +6 -4
- holidays/countries/cyprus.py +4 -5
- holidays/countries/czechia.py +7 -6
- holidays/countries/denmark.py +5 -6
- holidays/countries/djibouti.py +11 -3
- holidays/countries/dominica.py +18 -16
- holidays/countries/dominican_republic.py +6 -4
- holidays/countries/ecuador.py +5 -4
- holidays/countries/egypt.py +10 -11
- holidays/countries/el_salvador.py +6 -5
- holidays/countries/estonia.py +3 -1
- holidays/countries/eswatini.py +6 -4
- holidays/countries/ethiopia.py +26 -11
- holidays/countries/fiji.py +183 -0
- holidays/countries/finland.py +11 -10
- holidays/countries/france.py +6 -9
- holidays/countries/gabon.py +17 -8
- holidays/countries/georgia.py +7 -7
- holidays/countries/germany.py +11 -11
- holidays/countries/ghana.py +14 -6
- holidays/countries/greece.py +4 -5
- holidays/countries/greenland.py +5 -6
- holidays/countries/guam.py +12 -6
- holidays/countries/guatemala.py +7 -9
- holidays/countries/guernsey.py +37 -34
- holidays/countries/guinea.py +182 -0
- holidays/countries/haiti.py +6 -5
- holidays/countries/honduras.py +8 -4
- holidays/countries/hongkong.py +49 -60
- holidays/countries/hungary.py +26 -23
- holidays/countries/iceland.py +5 -4
- holidays/countries/india.py +494 -174
- holidays/countries/indonesia.py +68 -108
- holidays/countries/iran.py +18 -9
- holidays/countries/ireland.py +5 -4
- holidays/countries/isle_of_man.py +2 -2
- holidays/countries/israel.py +4 -5
- holidays/countries/italy.py +5 -4
- holidays/countries/ivory_coast.py +156 -0
- holidays/countries/jamaica.py +6 -4
- holidays/countries/japan.py +5 -5
- holidays/countries/jersey.py +29 -26
- holidays/countries/jordan.py +13 -6
- holidays/countries/kazakhstan.py +72 -51
- holidays/countries/kenya.py +28 -18
- holidays/countries/kuwait.py +14 -7
- holidays/countries/kyrgyzstan.py +11 -6
- holidays/countries/laos.py +21 -29
- holidays/countries/latvia.py +7 -5
- holidays/countries/lesotho.py +6 -5
- holidays/countries/liechtenstein.py +5 -5
- holidays/countries/lithuania.py +4 -5
- holidays/countries/luxembourg.py +5 -3
- holidays/countries/macau.py +480 -0
- holidays/countries/madagascar.py +5 -4
- holidays/countries/malawi.py +6 -4
- holidays/countries/malaysia.py +30 -18
- holidays/countries/maldives.py +14 -7
- holidays/countries/malta.py +10 -19
- holidays/countries/marshall_islands.py +6 -4
- holidays/countries/mauritania.py +13 -6
- holidays/countries/mexico.py +8 -7
- holidays/countries/moldova.py +6 -4
- holidays/countries/monaco.py +6 -4
- holidays/countries/montenegro.py +16 -7
- holidays/countries/morocco.py +13 -8
- holidays/countries/mozambique.py +3 -1
- holidays/countries/namibia.py +7 -5
- holidays/countries/netherlands.py +6 -6
- holidays/countries/new_zealand.py +3 -1
- holidays/countries/nicaragua.py +6 -5
- holidays/countries/nigeria.py +13 -5
- holidays/countries/north_macedonia.py +13 -5
- holidays/countries/northern_mariana_islands.py +12 -6
- holidays/countries/norway.py +15 -15
- holidays/countries/pakistan.py +48 -18
- holidays/countries/palau.py +13 -11
- holidays/countries/panama.py +9 -8
- holidays/countries/papua_new_guinea.py +25 -21
- holidays/countries/paraguay.py +10 -9
- holidays/countries/peru.py +4 -5
- holidays/countries/philippines.py +32 -18
- holidays/countries/poland.py +7 -6
- holidays/countries/portugal.py +13 -15
- holidays/countries/puerto_rico.py +12 -6
- holidays/countries/qatar.py +172 -0
- holidays/countries/romania.py +6 -4
- holidays/countries/russia.py +6 -4
- holidays/countries/saint_kitts_and_nevis.py +24 -22
- holidays/countries/saint_lucia.py +8 -7
- holidays/countries/samoa.py +7 -6
- holidays/countries/san_marino.py +4 -3
- holidays/countries/saudi_arabia.py +15 -15
- holidays/countries/serbia.py +3 -4
- holidays/countries/seychelles.py +22 -26
- holidays/countries/singapore.py +33 -38
- holidays/countries/slovakia.py +6 -5
- holidays/countries/slovenia.py +7 -6
- holidays/countries/south_africa.py +8 -6
- holidays/countries/south_korea.py +25 -32
- holidays/countries/spain.py +31 -24
- holidays/countries/sri_lanka.py +52 -42
- holidays/countries/sweden.py +20 -19
- holidays/countries/switzerland.py +6 -5
- holidays/countries/taiwan.py +230 -31
- holidays/countries/tanzania.py +34 -27
- holidays/countries/thailand.py +134 -142
- holidays/countries/timor_leste.py +38 -17
- holidays/countries/tonga.py +46 -42
- holidays/countries/tunisia.py +9 -3
- holidays/countries/turkey.py +17 -9
- holidays/countries/tuvalu.py +12 -11
- holidays/countries/ukraine.py +54 -54
- holidays/countries/united_arab_emirates.py +43 -30
- holidays/countries/united_kingdom.py +7 -6
- holidays/countries/united_states.py +130 -86
- holidays/countries/united_states_minor_outlying_islands.py +12 -6
- holidays/countries/united_states_virgin_islands.py +12 -6
- holidays/countries/uruguay.py +10 -9
- holidays/countries/uzbekistan.py +16 -7
- holidays/countries/vanuatu.py +7 -5
- holidays/countries/vatican_city.py +16 -15
- holidays/countries/venezuela.py +11 -14
- holidays/countries/vietnam.py +15 -11
- holidays/countries/zambia.py +8 -6
- holidays/countries/zimbabwe.py +6 -4
- holidays/deprecations/v1_incompatibility.py +1 -1
- holidays/financial/__init__.py +1 -1
- holidays/financial/brasil_bolsa_balcao.py +14 -13
- holidays/financial/european_central_bank.py +7 -6
- holidays/financial/ice_futures_europe.py +7 -6
- holidays/financial/ny_stock_exchange.py +13 -10
- holidays/groups/__init__.py +2 -1
- holidays/groups/balinese_saka.py +45 -0
- holidays/groups/buddhist.py +1 -1
- holidays/groups/chinese.py +69 -4
- holidays/groups/christian.py +1 -1
- holidays/groups/custom.py +1 -1
- holidays/groups/eastern.py +1 -1
- holidays/groups/hebrew.py +1 -1
- holidays/groups/hindu.py +256 -1
- holidays/groups/international.py +1 -1
- holidays/groups/islamic.py +17 -3
- holidays/groups/persian.py +1 -1
- holidays/groups/sinhala.py +1 -1
- holidays/groups/thai.py +1 -7
- holidays/helpers.py +1 -1
- holidays/holiday_base.py +410 -273
- holidays/ical.py +228 -0
- holidays/locale/ar_QA/LC_MESSAGES/QA.mo +0 -0
- holidays/locale/de/LC_MESSAGES/PL.mo +0 -0
- holidays/locale/en_CI/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/en_HK/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/en_IN/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/en_MO/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/en_PK/LC_MESSAGES/PK.mo +0 -0
- holidays/locale/en_TL/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GN.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/PK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/QA.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TW.mo +0 -0
- holidays/locale/es/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/GN.mo +0 -0
- holidays/locale/hi/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/pt_MO/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/pt_TL/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/tet/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/th/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/th/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/th/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/th/LC_MESSAGES/TW.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/ur_PK/LC_MESSAGES/PK.mo +0 -0
- holidays/locale/zh_CN/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/zh_CN/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/zh_CN/LC_MESSAGES/TW.mo +0 -0
- holidays/locale/zh_HK/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/zh_MO/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/zh_TW/LC_MESSAGES/TW.mo +0 -0
- holidays/mixins.py +2 -2
- holidays/observed_holiday_base.py +5 -2
- holidays/registry.py +7 -1
- holidays/utils.py +151 -151
- holidays/version.py +2 -2
- holidays-0.70.dist-info/METADATA +1404 -0
- {holidays-0.68.dist-info → holidays-0.70.dist-info}/RECORD +253 -222
- {holidays-0.68.dist-info → holidays-0.70.dist-info}/WHEEL +1 -1
- holidays-0.68.dist-info/AUTHORS → holidays-0.70.dist-info/licenses/AUTHORS.md +7 -2
- {holidays-0.68.dist-info → holidays-0.70.dist-info/licenses}/LICENSE +1 -1
- holidays-0.68.dist-info/METADATA +0 -1080
- {holidays-0.68.dist-info → holidays-0.70.dist-info}/top_level.txt +0 -0
holidays/countries/pakistan.py
CHANGED
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
11
11
|
# License: MIT (see LICENSE file)
|
|
12
12
|
|
|
13
|
+
from gettext import gettext as tr
|
|
14
|
+
|
|
13
15
|
from holidays.calendars import _CustomIslamicHolidays
|
|
14
16
|
from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC
|
|
15
17
|
from holidays.groups import InternationalHolidays, IslamicHolidays
|
|
@@ -17,50 +19,73 @@ from holidays.holiday_base import HolidayBase
|
|
|
17
19
|
|
|
18
20
|
|
|
19
21
|
class Pakistan(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
22
|
+
"""Pakistan holidays.
|
|
23
|
+
|
|
24
|
+
References:
|
|
25
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Pakistan>
|
|
26
|
+
* <https://ur.wikipedia.org/wiki/تعطیلات_پاکستان>
|
|
27
|
+
"""
|
|
28
|
+
|
|
20
29
|
country = "PK"
|
|
30
|
+
default_language = "en_PK"
|
|
31
|
+
# %s (estimated).
|
|
32
|
+
estimated_label = tr("%s (estimated)")
|
|
21
33
|
start_year = 1948
|
|
22
|
-
|
|
23
|
-
|
|
34
|
+
supported_languages = ("en_PK", "en_US", "ur_PK")
|
|
35
|
+
|
|
36
|
+
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
37
|
+
"""
|
|
38
|
+
Args:
|
|
39
|
+
islamic_show_estimated:
|
|
40
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
41
|
+
if holiday date is estimated.
|
|
42
|
+
"""
|
|
24
43
|
InternationalHolidays.__init__(self)
|
|
25
|
-
IslamicHolidays.__init__(
|
|
44
|
+
IslamicHolidays.__init__(
|
|
45
|
+
self, cls=PakistanIslamicHolidays, show_estimated=islamic_show_estimated
|
|
46
|
+
)
|
|
26
47
|
super().__init__(*args, **kwargs)
|
|
27
48
|
|
|
28
49
|
def _populate_public_holidays(self):
|
|
29
|
-
# Kashmir Solidarity Day.
|
|
30
50
|
if self._year >= 1990:
|
|
31
|
-
|
|
51
|
+
# Kashmir Solidarity Day.
|
|
52
|
+
self._add_holiday_feb_5(tr("Kashmir Solidarity Day"))
|
|
32
53
|
|
|
33
|
-
# Pakistan Day.
|
|
34
54
|
if self._year >= 1956:
|
|
35
|
-
|
|
55
|
+
# Pakistan Day.
|
|
56
|
+
self._add_holiday_mar_23(tr("Pakistan Day"))
|
|
36
57
|
|
|
37
|
-
# Labour Day.
|
|
38
58
|
if self._year >= 1972:
|
|
39
|
-
|
|
59
|
+
# Labor Day.
|
|
60
|
+
self._add_labor_day(tr("Labour Day"))
|
|
40
61
|
|
|
41
62
|
# Independence Day.
|
|
42
|
-
self._add_holiday_aug_14("Independence Day")
|
|
63
|
+
self._add_holiday_aug_14(tr("Independence Day"))
|
|
43
64
|
|
|
44
|
-
# Iqbal Day.
|
|
45
65
|
if self._year <= 2014 or self._year >= 2022:
|
|
46
|
-
|
|
66
|
+
# Iqbal Day.
|
|
67
|
+
self._add_holiday_nov_9(tr("Iqbal Day"))
|
|
47
68
|
|
|
48
69
|
# Quaid-e-Azam Day.
|
|
49
|
-
self._add_holiday_dec_25("Quaid-e-Azam Day")
|
|
70
|
+
self._add_holiday_dec_25(tr("Quaid-e-Azam Day"))
|
|
50
71
|
|
|
51
|
-
|
|
72
|
+
# Eid al-Fitr.
|
|
73
|
+
name = tr("Eid-ul-Fitr")
|
|
52
74
|
self._add_eid_al_fitr_day(name)
|
|
53
75
|
self._add_eid_al_fitr_day_two(name)
|
|
54
76
|
self._add_eid_al_fitr_day_three(name)
|
|
55
77
|
|
|
56
|
-
|
|
78
|
+
# Eid al-Adha.
|
|
79
|
+
name = tr("Eid-ul-Adha")
|
|
57
80
|
self._add_eid_al_adha_day(name)
|
|
58
81
|
self._add_eid_al_adha_day_two(name)
|
|
59
82
|
self._add_eid_al_adha_day_three(name)
|
|
60
83
|
|
|
61
|
-
|
|
84
|
+
# Prophet's Birthday.
|
|
85
|
+
self._add_mawlid_day(tr("Eid Milad-un-Nabi"))
|
|
62
86
|
|
|
63
|
-
|
|
87
|
+
# Ashura.
|
|
88
|
+
name = tr("Ashura")
|
|
64
89
|
self._add_ashura_eve(name)
|
|
65
90
|
self._add_ashura_day(name)
|
|
66
91
|
|
|
@@ -95,6 +120,8 @@ class PakistanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
95
120
|
2020: (AUG, 29),
|
|
96
121
|
2021: (AUG, 18),
|
|
97
122
|
2022: (AUG, 9),
|
|
123
|
+
2023: (JUL, 28),
|
|
124
|
+
2024: (JUL, 16),
|
|
98
125
|
}
|
|
99
126
|
|
|
100
127
|
# https://www.timeanddate.com/holidays/pakistan/eid-ul-azha
|
|
@@ -118,6 +145,7 @@ class PakistanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
118
145
|
2021: (JUL, 21),
|
|
119
146
|
2022: (JUL, 10),
|
|
120
147
|
2023: (JUN, 29),
|
|
148
|
+
2024: (JUN, 17),
|
|
121
149
|
}
|
|
122
150
|
|
|
123
151
|
# https://www.timeanddate.com/holidays/pakistan/eid-ul-fitr-1
|
|
@@ -164,4 +192,6 @@ class PakistanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
164
192
|
2020: (OCT, 30),
|
|
165
193
|
2021: (OCT, 19),
|
|
166
194
|
2022: (OCT, 9),
|
|
195
|
+
2023: (SEP, 29),
|
|
196
|
+
2024: (SEP, 17),
|
|
167
197
|
}
|
holidays/countries/palau.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -17,12 +17,13 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SAT_TO_PREV_FRI,
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class Palau(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
20
|
-
"""
|
|
20
|
+
"""Palau holidays.
|
|
21
|
+
|
|
21
22
|
References:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
* [Chapter 7, Holidays](http://www.paclii.org/pw/legis/consol_act/gpt1262/)
|
|
24
|
+
* <https://www.palaugov.pw/wp-content/uploads/2017/11/RPPL-No.-10-15-re.-Family-Day-Holiday.pdf>
|
|
25
|
+
* [EO336 Memorial Day repealed](https://www.facebook.com/PalauPresident/posts/195883107230463)
|
|
26
|
+
* [Earliest source for President's Day](https://www.taiwanembassy.org/pal_en/post/792.html)
|
|
26
27
|
|
|
27
28
|
If any of the holidays enumerated in section 701 of this chapter falls on Sunday, the
|
|
28
29
|
following Monday shall be observed as a holiday. If any of the holidays enumerated in
|
|
@@ -105,11 +106,12 @@ class PLW(Palau):
|
|
|
105
106
|
|
|
106
107
|
|
|
107
108
|
class PalauStaticHolidays:
|
|
108
|
-
"""
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
"""Palau special holidays.
|
|
110
|
+
|
|
111
|
+
References:
|
|
112
|
+
* <https://www.facebook.com/photo?fbid=1774513196034105&set=a.175933635892077>
|
|
113
|
+
* <https://www.facebook.com/photo/?fbid=1794692910682800&set=a.175933635892077>
|
|
114
|
+
* <https://www.facebook.com/photo/?fbid=1408133829338712&set=a.175933635892077>
|
|
113
115
|
"""
|
|
114
116
|
|
|
115
117
|
special_armed_forces_holidays = {
|
holidays/countries/panama.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -19,14 +19,15 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SUN_TO_NEXT_MON
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class Panama(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
22
|
-
"""
|
|
22
|
+
"""Panama holidays.
|
|
23
|
+
|
|
23
24
|
References:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Panama>
|
|
26
|
+
* [Labor Code 1947](https://docs.panama.justia.com/federales/leyes/67-de-1947-nov-26-1947.pdf)
|
|
27
|
+
* [Cabinet Decree #347 of 1969](https://docs.panama.justia.com/federales/decretos-de-gabinete/decreto-de-gabinete-347-de-1969-nov-14-1969.pdf)
|
|
28
|
+
* [Labor Code 1971](https://www.mitradel.gob.pa/wp-content/uploads/2016/12/c%C3%B3digo-detrabajo.pdf)
|
|
29
|
+
* [Law #4 of Jun 25, 1990](https://s3-legispan.asamblea.gob.pa/legispan/NORMAS/1990/1990/LEY/Administrador%20Legispan_21570_1990_7_2_ASAMBLEA%20LEGISLATIVA_4.pdf)
|
|
30
|
+
* [Law #55 of Nov 7, 2001](https://docs.panama.justia.com/federales/leyes/55-de-2001-nov-14-2001.pdf)
|
|
30
31
|
"""
|
|
31
32
|
|
|
32
33
|
country = "PA"
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -18,19 +18,21 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SUN_TO_NEXT_MON,
|
|
|
18
18
|
class PapuaNewGuinea(
|
|
19
19
|
ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays
|
|
20
20
|
):
|
|
21
|
-
"""
|
|
21
|
+
"""Papua New Guinea holidays.
|
|
22
|
+
|
|
22
23
|
References:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
* [Public Holidays Act 1953](http://www.paclii.org/pg/legis/consol_act/pha1953163.pdf)
|
|
25
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Papua_New_Guinea>
|
|
26
|
+
* <https://pnghausbung.com/kings-birthday-holiday-to-be-observed-on-16th-june/>
|
|
27
|
+
|
|
26
28
|
Checked With:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
* <https://www.ipa.gov.pg/public/Holidays.aspx>
|
|
30
|
+
* <https://www.businessadvantagepng.com/papua-new-guinea-public-for-holidays/>
|
|
31
|
+
* [2019](https://www.scribd.com/document/465334129/PNG-2019-Gazetted-Public-Holidays-pdf)
|
|
32
|
+
* [2020](https://publicholidays.asia/wp-content/uploads/2020/01/PNG_PublicHolidays_2020.png)
|
|
33
|
+
* [2021](https://publicholidays.asia/wp-content/uploads/2020/12/PNG_PublicHolidays_2021.pdf)
|
|
34
|
+
* [2022](https://publicholidays.asia/wp-content/uploads/2022/01/PNG_PublicHolidays_2022.pdf)
|
|
35
|
+
* [2023](https://publicholidays.asia/wp-content/uploads/2022/12/PNG_PublicHolidays_2023.pdf)
|
|
34
36
|
|
|
35
37
|
Should a holiday listed, other than the Christmas Day, fall on a Sunday the next Monday
|
|
36
38
|
shall, unless the Head of State, acting on advice, declares otherwise, be observed as a
|
|
@@ -130,18 +132,20 @@ class PNG(PapuaNewGuinea):
|
|
|
130
132
|
|
|
131
133
|
|
|
132
134
|
class PapuaNewGuineaStaticHolidays:
|
|
133
|
-
"""
|
|
134
|
-
Starting from 2021 afterwards all state funerals are given special public holidays, though only
|
|
135
|
-
some are day-off nationwide.
|
|
135
|
+
"""Papua New Guinea special holidays.
|
|
136
136
|
|
|
137
137
|
References:
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
138
|
+
* [2018 APEC Public Holiday](https://www.rnz.co.nz/international/pacific-news/369989/papua-new-guinea-declares-apec-holiday)
|
|
139
|
+
* [2021 Sir Mekere Morauta's Funeral](https://pnghausbung.com/friday-8th-declared-a-nation-wide-public-holiday-to-honour-late-sir-mekere/)
|
|
140
|
+
* [2021 Sir Michael Somare's Day of Mourning](https://pnghausbung.com/2-weeks-mourning-period-for-late-sir-micheal-to-start-with-public-holiday-on-monday-pm/)
|
|
141
|
+
* [2022 QE2's Funeral](https://www.thenational.com.pg/column-1-553/)
|
|
142
|
+
* [2023 Sir Rabbie Namaliu's Funeral](https://pnghausbung.com/breaking-public-holiday-tomorrow-in-respect-of-late-sir-rabbies-state-funeral/)
|
|
143
|
+
|
|
144
|
+
Nov 15, 2018 is an APEC Holiday too, but for Port Moresby-only:
|
|
145
|
+
<https://www.businessadvantagepng.com/public-holidays-declared-in-port-moresby-due-to-apec-summit-says-ceo/>
|
|
143
146
|
|
|
144
|
-
|
|
147
|
+
Starting from 2021 afterwards all state funerals are given special public holidays, though only
|
|
148
|
+
some are day-off nationwide.
|
|
145
149
|
"""
|
|
146
150
|
|
|
147
151
|
# National Day of Mourning for Sir Michael Somare.
|
holidays/countries/paraguay.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -19,15 +19,16 @@ from holidays.holiday_base import HolidayBase
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class Paraguay(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
22
|
-
"""
|
|
22
|
+
"""Paraguay holidays.
|
|
23
|
+
|
|
23
24
|
References:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
* [Ley 8/1990](https://www.bacn.gov.py/leyes-paraguayas/2358/ley-n-8--por-la-cual-se-determinan-los-feriados-de-la-republica)
|
|
26
|
+
* [Ley 715/1995](https://www.bacn.gov.py/leyes-paraguayas/792/ley-n-715--amplia-la-ley-no-0890-)
|
|
27
|
+
* [Ley 1.601/2000](https://www.bacn.gov.py/leyes-paraguayas/1677/ley-n-1601--modifica-el-articulo-1-de-la-ley-no-71595-que-amplia-la-ley-n-0890-por-la-cual-se-determinan-los-feriados-de-la-republica)
|
|
28
|
+
* [Ley 1.723/2001](https://www.bacn.gov.py/leyes-paraguayas/634/ley-n-1723--autoriza-al-poder-ejecutivo-a-trasladar-los-feriados-nacionales-al-dia-lunes)
|
|
29
|
+
* [Ley 4.531/2011](https://www.bacn.gov.py/leyes-paraguayas/3831/ley-n-4531-restablece-el-dia-14-de-mayo-de-cada-ano-como-feriado-nacional)
|
|
30
|
+
* <https://es.wikipedia.org/wiki/Anexo:D%C3%ADas_festivos_en_Paraguay>
|
|
31
|
+
* <http://www.calendarioparaguay.com/>
|
|
31
32
|
"""
|
|
32
33
|
|
|
33
34
|
country = "PY"
|
holidays/countries/peru.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -17,12 +17,11 @@ from holidays.holiday_base import HolidayBase
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class Peru(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
20
|
-
"""
|
|
21
|
-
Peru holidays.
|
|
20
|
+
"""Peru holidays.
|
|
22
21
|
|
|
23
22
|
References:
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
* <https://www.gob.pe/feriados>
|
|
24
|
+
* <https://es.wikipedia.org/wiki/Anexo:Días_feriados_en_el_Perú>
|
|
26
25
|
"""
|
|
27
26
|
|
|
28
27
|
country = "PE"
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -33,23 +33,25 @@ class Philippines(
|
|
|
33
33
|
IslamicHolidays,
|
|
34
34
|
StaticHolidays,
|
|
35
35
|
):
|
|
36
|
-
"""
|
|
37
|
-
Philippines holidays.
|
|
36
|
+
"""Philippines holidays.
|
|
38
37
|
|
|
39
38
|
References:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
39
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_the_Philippines>
|
|
40
|
+
* [Revised Administrative Code of 1987](https://www.officialgazette.gov.ph/1987/07/25/executive-order-no-292-book-ichapter-7-regular-holidays-and-nationwide-special-days/)
|
|
41
|
+
* [Republic Act No. 9177](https://www.officialgazette.gov.ph/2002/11/13/republic-act-no-9177/)
|
|
42
|
+
* [Republic Act No. 9256](https://www.officialgazette.gov.ph/2004/02/25/republic-act-no-9256/)
|
|
43
|
+
* [Republic Act No. 9492](https://www.officialgazette.gov.ph/2007/07/24/republic-act-no-9492/)
|
|
44
|
+
* [Republic Act No. 9645](https://www.officialgazette.gov.ph/2009/06/12/republic-act-no-9645/)
|
|
45
|
+
* [Republic Act No. 9849](https://www.officialgazette.gov.ph/2009/12/11/republic-act-no-9849/)
|
|
46
|
+
* [Republic Act No. 10966](https://www.officialgazette.gov.ph/2017/12/28/republic-act-no-10966/)
|
|
47
|
+
* [Proclamation No. 944/2020](https://www.officialgazette.gov.ph/2020/05/19/proclamation-no-944-s-2020/)
|
|
48
|
+
* [Proclamation No. 985/2020](https://www.officialgazette.gov.ph/2020/07/29/proclamation-no-985-s-2020/)
|
|
49
|
+
* [Proclamation No. 90/2022](https://www.officialgazette.gov.ph/2022/11/09/proclamation-no-90-s-2022/)
|
|
50
|
+
* [Proclamation No. 665/2024](https://www.officialgazette.gov.ph/2024/08/15/proclamation-no-665-s-2024/)
|
|
51
|
+
* [Proclamation No. 729/2024](https://www.officialgazette.gov.ph/2024/10/30/proclamation-no-729-s-2024/)
|
|
52
|
+
* [Nationwide holidays 2018-2025](https://www.officialgazette.gov.ph/nationwide-holidays/2018/)
|
|
53
|
+
* [2025 Eid'l Fitr and Eid'l Adha Tentative Date](https://melbournepcg.org/?page_id=9779)
|
|
54
|
+
* [Proclamation No. 839/2025](https://www.officialgazette.gov.ph/2025/03/20/proclamation-no-839-s-2025/)
|
|
53
55
|
"""
|
|
54
56
|
|
|
55
57
|
country = "PH"
|
|
@@ -60,11 +62,19 @@ class Philippines(
|
|
|
60
62
|
supported_languages = ("en_PH", "en_US", "fil", "th")
|
|
61
63
|
start_year = 1988
|
|
62
64
|
|
|
63
|
-
def __init__(self, *args, **kwargs):
|
|
65
|
+
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
66
|
+
"""
|
|
67
|
+
Args:
|
|
68
|
+
islamic_show_estimated:
|
|
69
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
70
|
+
if holiday date is estimated.
|
|
71
|
+
"""
|
|
64
72
|
ChineseCalendarHolidays.__init__(self, cls=PhilippinesChineseHolidays)
|
|
65
73
|
ChristianHolidays.__init__(self)
|
|
66
74
|
InternationalHolidays.__init__(self)
|
|
67
|
-
IslamicHolidays.__init__(
|
|
75
|
+
IslamicHolidays.__init__(
|
|
76
|
+
self, cls=PhilippinesIslamicHolidays, show_estimated=islamic_show_estimated
|
|
77
|
+
)
|
|
68
78
|
StaticHolidays.__init__(self, cls=PhilippinesStaticHolidays)
|
|
69
79
|
super().__init__(*args, **kwargs)
|
|
70
80
|
|
|
@@ -138,6 +148,7 @@ class Philippines(
|
|
|
138
148
|
dates_obs = {
|
|
139
149
|
2008: (DEC, 1),
|
|
140
150
|
2010: (NOV, 29),
|
|
151
|
+
2023: (NOV, 27),
|
|
141
152
|
}
|
|
142
153
|
# Bonifacio Day.
|
|
143
154
|
self._add_holiday(tr("Bonifacio Day"), dates_obs.get(self._year, (NOV, 30)))
|
|
@@ -203,6 +214,7 @@ class PhilippinesChineseHolidays(_CustomChineseHolidays):
|
|
|
203
214
|
2022: (FEB, 1),
|
|
204
215
|
2023: (JAN, 22),
|
|
205
216
|
2024: (FEB, 10),
|
|
217
|
+
2025: (JAN, 29),
|
|
206
218
|
}
|
|
207
219
|
|
|
208
220
|
|
|
@@ -223,6 +235,7 @@ class PhilippinesIslamicHolidays(_CustomIslamicHolidays):
|
|
|
223
235
|
2022: (JUL, 9),
|
|
224
236
|
2023: (JUN, 28),
|
|
225
237
|
2024: (JUN, 17),
|
|
238
|
+
2025: (JUN, 6),
|
|
226
239
|
}
|
|
227
240
|
|
|
228
241
|
EID_AL_FITR_DATES = {
|
|
@@ -249,6 +262,7 @@ class PhilippinesIslamicHolidays(_CustomIslamicHolidays):
|
|
|
249
262
|
2022: (MAY, 3),
|
|
250
263
|
2023: (APR, 21),
|
|
251
264
|
2024: (APR, 10),
|
|
265
|
+
2025: (APR, 1),
|
|
252
266
|
}
|
|
253
267
|
|
|
254
268
|
|
holidays/countries/poland.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -18,16 +18,17 @@ from holidays.holiday_base import HolidayBase
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Poland(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
21
|
-
"""
|
|
21
|
+
"""Poland holidays.
|
|
22
|
+
|
|
22
23
|
References:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Poland>
|
|
25
|
+
* <https://pl.wikipedia.org/wiki/Dni_wolne_od_pracy_w_Polsce>
|
|
26
|
+
* <https://isap.sejm.gov.pl/isap.nsf/DocDetails.xsp?id=WDU20240001965>
|
|
26
27
|
"""
|
|
27
28
|
|
|
28
29
|
country = "PL"
|
|
29
30
|
default_language = "pl"
|
|
30
|
-
supported_languages = ("en_US", "pl", "uk")
|
|
31
|
+
supported_languages = ("de", "en_US", "pl", "uk")
|
|
31
32
|
start_year = 1925
|
|
32
33
|
|
|
33
34
|
def __init__(self, *args, **kwargs):
|
holidays/countries/portugal.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -18,22 +18,20 @@ from holidays.holiday_base import HolidayBase
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Portugal(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
21
|
-
"""
|
|
22
|
-
A subclass of :py:class:`HolidayBase` representing public holidays
|
|
23
|
-
in Portugal.
|
|
21
|
+
"""Portugal holidays.
|
|
24
22
|
|
|
25
23
|
References:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
24
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Portugal>
|
|
25
|
+
* [Labour Day](https://www.e-konomista.pt/dia-do-trabalhador/)
|
|
26
|
+
* Portugal Day - Decreto 17.171
|
|
27
|
+
* Restoration of Independence Day - Gazeta de Lisboa, 8 de Dezembro
|
|
28
|
+
de 1823 (n.º 290), pp. 1789 e 1790
|
|
29
|
+
* Azores:
|
|
30
|
+
* <https://files.dre.pt/1s/1980/08/19200/23052305.pdf>
|
|
31
|
+
* Madeira:
|
|
32
|
+
* <https://files.dre.pt/1s/1979/11/25900/28782878.pdf>
|
|
33
|
+
* <https://files.dre.pt/1s/1989/02/02800/04360436.pdf>
|
|
34
|
+
* <https://files.dre.pt/1s/2002/11/258a00/71837183.pdf>
|
|
37
35
|
"""
|
|
38
36
|
|
|
39
37
|
country = "PT"
|
|
@@ -4,29 +4,35 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
11
11
|
# License: MIT (see LICENSE file)
|
|
12
12
|
|
|
13
|
-
from holidays.constants import PUBLIC, UNOFFICIAL
|
|
13
|
+
from holidays.constants import GOVERNMENT, PUBLIC, UNOFFICIAL
|
|
14
14
|
from holidays.countries.united_states import US
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class HolidaysPR(US):
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
"""Puerto Rico holidays.
|
|
19
|
+
|
|
20
|
+
Alias of a US subdivision that is also officially assigned its own country code in ISO 3166-1.
|
|
21
|
+
See <https://en.wikipedia.org/wiki/ISO_3166-2:US#Subdivisions_included_in_ISO_3166-1>
|
|
22
|
+
"""
|
|
21
23
|
|
|
22
24
|
country = "PR"
|
|
23
|
-
supported_categories = (PUBLIC, UNOFFICIAL)
|
|
25
|
+
supported_categories = (GOVERNMENT, PUBLIC, UNOFFICIAL)
|
|
24
26
|
subdivisions = () # Override US subdivisions.
|
|
25
27
|
|
|
26
28
|
def _populate_public_holidays(self) -> None:
|
|
27
29
|
self.subdiv = "PR"
|
|
28
30
|
super()._populate_public_holidays()
|
|
29
31
|
|
|
32
|
+
def _populate_government_holidays(self) -> None:
|
|
33
|
+
self.subdiv = "PR"
|
|
34
|
+
super()._populate_government_holidays()
|
|
35
|
+
|
|
30
36
|
def _populate_unofficial_holidays(self) -> None:
|
|
31
37
|
self.subdiv = "PR"
|
|
32
38
|
super()._populate_unofficial_holidays()
|