holidays 0.70__py3-none-any.whl → 0.72__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 -2
- holidays/calendars/__init__.py +1 -1
- holidays/calendars/balinese_saka.py +1 -1
- holidays/calendars/buddhist.py +5 -3
- holidays/calendars/chinese.py +101 -13
- holidays/calendars/custom.py +1 -1
- holidays/calendars/gregorian.py +1 -1
- holidays/calendars/hebrew.py +1 -1
- holidays/calendars/hindu.py +47 -3
- holidays/calendars/islamic.py +1 -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 +1 -1
- holidays/constants.py +1 -1
- holidays/countries/__init__.py +7 -1
- holidays/countries/afghanistan.py +1 -1
- holidays/countries/albania.py +2 -2
- holidays/countries/algeria.py +1 -1
- holidays/countries/american_samoa.py +2 -1
- holidays/countries/andorra.py +10 -1
- holidays/countries/angola.py +1 -1
- holidays/countries/antigua_and_barbuda.py +1 -1
- holidays/countries/argentina.py +5 -5
- holidays/countries/armenia.py +1 -1
- holidays/countries/aruba.py +1 -1
- holidays/countries/australia.py +16 -5
- holidays/countries/austria.py +3 -3
- holidays/countries/azerbaijan.py +1 -1
- holidays/countries/bahamas.py +1 -1
- holidays/countries/bahrain.py +1 -1
- holidays/countries/bangladesh.py +1 -1
- holidays/countries/barbados.py +1 -1
- holidays/countries/belarus.py +1 -1
- holidays/countries/belgium.py +1 -1
- holidays/countries/belize.py +1 -1
- holidays/countries/bolivia.py +23 -12
- holidays/countries/bosnia_and_herzegovina.py +5 -5
- holidays/countries/botswana.py +1 -1
- holidays/countries/brazil.py +3 -4
- holidays/countries/brunei.py +1 -1
- holidays/countries/bulgaria.py +1 -1
- holidays/countries/burkina_faso.py +1 -1
- holidays/countries/burundi.py +1 -1
- holidays/countries/cambodia.py +22 -22
- holidays/countries/cameroon.py +1 -1
- holidays/countries/canada.py +91 -57
- holidays/countries/chad.py +1 -1
- holidays/countries/chile.py +36 -18
- holidays/countries/china.py +1 -1
- holidays/countries/colombia.py +1 -1
- holidays/countries/congo.py +1 -1
- holidays/countries/costa_rica.py +1 -1
- holidays/countries/croatia.py +1 -1
- holidays/countries/cuba.py +1 -1
- holidays/countries/curacao.py +1 -1
- holidays/countries/cyprus.py +1 -1
- holidays/countries/czechia.py +1 -1
- holidays/countries/denmark.py +1 -1
- holidays/countries/djibouti.py +1 -1
- holidays/countries/dominica.py +1 -1
- holidays/countries/dominican_republic.py +1 -1
- holidays/countries/ecuador.py +1 -1
- holidays/countries/egypt.py +1 -1
- holidays/countries/el_salvador.py +18 -18
- holidays/countries/estonia.py +1 -1
- holidays/countries/eswatini.py +1 -1
- holidays/countries/ethiopia.py +43 -24
- holidays/countries/fiji.py +1 -1
- holidays/countries/finland.py +1 -1
- holidays/countries/france.py +4 -5
- holidays/countries/french_southern_territories.py +53 -0
- holidays/countries/gabon.py +1 -1
- holidays/countries/georgia.py +1 -1
- holidays/countries/germany.py +20 -21
- holidays/countries/ghana.py +1 -1
- holidays/countries/greece.py +1 -1
- holidays/countries/greenland.py +1 -1
- holidays/countries/guam.py +2 -1
- holidays/countries/guatemala.py +1 -1
- holidays/countries/guernsey.py +1 -1
- holidays/countries/guinea.py +1 -1
- holidays/countries/haiti.py +1 -1
- holidays/countries/honduras.py +1 -1
- holidays/countries/hongkong.py +2 -2
- holidays/countries/hungary.py +1 -1
- holidays/countries/iceland.py +1 -1
- holidays/countries/india.py +17 -11
- holidays/countries/indonesia.py +1 -1
- holidays/countries/iran.py +1 -1
- holidays/countries/ireland.py +1 -1
- holidays/countries/isle_of_man.py +1 -1
- holidays/countries/israel.py +1 -1
- holidays/countries/italy.py +1 -1
- holidays/countries/ivory_coast.py +5 -5
- holidays/countries/jamaica.py +1 -1
- holidays/countries/japan.py +1 -1
- holidays/countries/jersey.py +1 -1
- holidays/countries/jordan.py +1 -1
- holidays/countries/kazakhstan.py +1 -1
- holidays/countries/kenya.py +1 -1
- holidays/countries/kuwait.py +1 -1
- holidays/countries/kyrgyzstan.py +1 -1
- holidays/countries/laos.py +1 -1
- holidays/countries/latvia.py +1 -1
- holidays/countries/lesotho.py +1 -1
- holidays/countries/liechtenstein.py +1 -1
- holidays/countries/lithuania.py +1 -1
- holidays/countries/luxembourg.py +1 -1
- holidays/countries/macau.py +5 -5
- holidays/countries/madagascar.py +1 -1
- holidays/countries/malawi.py +1 -1
- holidays/countries/malaysia.py +26 -22
- holidays/countries/maldives.py +1 -1
- holidays/countries/malta.py +1 -1
- holidays/countries/marshall_islands.py +1 -1
- holidays/countries/mauritania.py +1 -1
- holidays/countries/mexico.py +1 -1
- holidays/countries/moldova.py +1 -1
- holidays/countries/monaco.py +1 -1
- holidays/countries/montenegro.py +1 -1
- holidays/countries/morocco.py +1 -1
- holidays/countries/mozambique.py +1 -1
- holidays/countries/namibia.py +1 -1
- holidays/countries/netherlands.py +1 -1
- holidays/countries/new_zealand.py +19 -19
- holidays/countries/nicaragua.py +19 -19
- holidays/countries/nigeria.py +1 -1
- holidays/countries/north_macedonia.py +1 -1
- holidays/countries/northern_mariana_islands.py +2 -1
- holidays/countries/norway.py +1 -1
- holidays/countries/oman.py +185 -0
- holidays/countries/pakistan.py +8 -1
- holidays/countries/palau.py +1 -1
- holidays/countries/panama.py +1 -1
- holidays/countries/papua_new_guinea.py +1 -1
- holidays/countries/paraguay.py +1 -1
- holidays/countries/peru.py +1 -1
- holidays/countries/philippines.py +1 -1
- holidays/countries/poland.py +1 -1
- holidays/countries/portugal.py +23 -25
- holidays/countries/puerto_rico.py +2 -1
- holidays/countries/qatar.py +1 -1
- holidays/countries/romania.py +1 -1
- holidays/countries/russia.py +1 -1
- holidays/countries/saint_kitts_and_nevis.py +1 -1
- holidays/countries/saint_lucia.py +1 -1
- holidays/countries/samoa.py +1 -1
- holidays/countries/san_marino.py +1 -1
- holidays/countries/sao_tome_and_principe.py +112 -0
- holidays/countries/saudi_arabia.py +1 -1
- holidays/countries/serbia.py +1 -1
- holidays/countries/seychelles.py +1 -1
- holidays/countries/sierra_leone.py +149 -0
- holidays/countries/singapore.py +5 -2
- holidays/countries/slovakia.py +1 -1
- holidays/countries/slovenia.py +1 -1
- holidays/countries/south_africa.py +1 -1
- holidays/countries/south_korea.py +17 -46
- holidays/countries/spain.py +43 -20
- holidays/countries/sri_lanka.py +1 -1
- holidays/countries/suriname.py +227 -0
- holidays/countries/sweden.py +1 -1
- holidays/countries/switzerland.py +61 -28
- holidays/countries/taiwan.py +3 -2
- holidays/countries/tanzania.py +1 -1
- holidays/countries/thailand.py +3 -3
- holidays/countries/timor_leste.py +1 -1
- holidays/countries/tonga.py +1 -1
- holidays/countries/trinidad_and_tobago.py +197 -0
- holidays/countries/tunisia.py +1 -1
- holidays/countries/turkey.py +1 -1
- holidays/countries/tuvalu.py +6 -6
- holidays/countries/ukraine.py +1 -1
- holidays/countries/united_arab_emirates.py +1 -1
- holidays/countries/united_kingdom.py +1 -1
- holidays/countries/united_states.py +62 -4
- holidays/countries/united_states_minor_outlying_islands.py +2 -1
- holidays/countries/united_states_virgin_islands.py +2 -1
- holidays/countries/uruguay.py +1 -1
- holidays/countries/uzbekistan.py +1 -1
- holidays/countries/vanuatu.py +1 -1
- holidays/countries/vatican_city.py +1 -1
- holidays/countries/venezuela.py +1 -1
- holidays/countries/vietnam.py +3 -2
- holidays/countries/zambia.py +1 -1
- holidays/countries/zimbabwe.py +1 -1
- holidays/deprecations/v1_incompatibility.py +1 -1
- holidays/financial/__init__.py +1 -1
- holidays/financial/brasil_bolsa_balcao.py +1 -1
- holidays/financial/european_central_bank.py +1 -1
- holidays/financial/ice_futures_europe.py +1 -1
- holidays/financial/ny_stock_exchange.py +1 -1
- holidays/groups/__init__.py +1 -1
- holidays/groups/balinese_saka.py +1 -1
- holidays/groups/buddhist.py +1 -1
- holidays/groups/chinese.py +6 -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 +45 -3
- holidays/groups/international.py +1 -1
- holidays/groups/islamic.py +11 -1
- holidays/groups/persian.py +1 -1
- holidays/groups/sinhala.py +1 -1
- holidays/groups/thai.py +6 -6
- holidays/helpers.py +1 -1
- holidays/holiday_base.py +32 -6
- holidays/ical.py +2 -2
- holidays/locale/am/LC_MESSAGES/ET.mo +0 -0
- holidays/locale/ar/LC_MESSAGES/CA.mo +0 -0
- holidays/locale/ar/LC_MESSAGES/ET.mo +0 -0
- holidays/locale/ar/LC_MESSAGES/OM.mo +0 -0
- holidays/locale/en_CA/LC_MESSAGES/CA.mo +0 -0
- holidays/locale/en_CI/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/en_ET/LC_MESSAGES/ET.mo +0 -0
- holidays/locale/en_IN/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/en_SL/LC_MESSAGES/SL.mo +0 -0
- holidays/locale/en_TT/LC_MESSAGES/TT.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CA.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/ET.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/KH.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/OM.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/PK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/SL.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/SR.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/ST.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TF.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TT.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/CA.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/TF.mo +0 -0
- holidays/locale/hi/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/km/LC_MESSAGES/KH.mo +0 -0
- holidays/locale/nl/LC_MESSAGES/SR.mo +0 -0
- holidays/locale/pt_ST/LC_MESSAGES/ST.mo +0 -0
- holidays/locale/th/LC_MESSAGES/CA.mo +0 -0
- holidays/locale/th/LC_MESSAGES/KH.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/TF.mo +0 -0
- holidays/locale/ur_PK/LC_MESSAGES/PK.mo +0 -0
- holidays/mixins.py +1 -1
- holidays/observed_holiday_base.py +6 -2
- holidays/registry.py +7 -1
- holidays/utils.py +61 -9
- holidays/version.py +2 -2
- {holidays-0.70.dist-info → holidays-0.72.dist-info}/METADATA +64 -16
- {holidays-0.70.dist-info → holidays-0.72.dist-info}/RECORD +254 -234
- {holidays-0.70.dist-info → holidays-0.72.dist-info}/WHEEL +1 -1
- holidays-0.70.dist-info/licenses/AUTHORS.md → holidays-0.72.dist-info/licenses/CONTRIBUTORS +4 -2
- {holidays-0.70.dist-info → holidays-0.72.dist-info}/licenses/LICENSE +1 -1
- {holidays-0.70.dist-info → holidays-0.72.dist-info}/top_level.txt +0 -0
|
@@ -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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
|
@@ -87,7 +87,7 @@ class IvoryCoast(
|
|
|
87
87
|
self._add_observed(self._add_labor_day(tr("Fête du travail")))
|
|
88
88
|
|
|
89
89
|
# Ascension Day.
|
|
90
|
-
self._add_ascension_thursday(tr("Jour de l
|
|
90
|
+
self._add_ascension_thursday(tr("Jour de l'Ascension"))
|
|
91
91
|
|
|
92
92
|
# Whit Monday.
|
|
93
93
|
self._add_whit_monday(tr("Lundi de Pentecôte"))
|
|
@@ -96,7 +96,7 @@ class IvoryCoast(
|
|
|
96
96
|
self._add_observed(self._add_holiday_aug_7(tr("Fête Nationale")))
|
|
97
97
|
|
|
98
98
|
# Assumption Day.
|
|
99
|
-
self._add_assumption_of_mary_day(tr("Fête de l
|
|
99
|
+
self._add_assumption_of_mary_day(tr("Fête de l'Assomption"))
|
|
100
100
|
|
|
101
101
|
# National Peace Day.
|
|
102
102
|
self._add_holiday_nov_15(tr("Journée Nationale de la Paix"))
|
|
@@ -116,7 +116,7 @@ class IvoryCoast(
|
|
|
116
116
|
self._add_observed(dt)
|
|
117
117
|
|
|
118
118
|
# Day after Prophet's Birthday.
|
|
119
|
-
self._add_mawlid_day(tr("Lendemain de l
|
|
119
|
+
self._add_mawlid_day(tr("Lendemain de l'Anniversaire de la Naissance du Prophète Mahomet"))
|
|
120
120
|
|
|
121
121
|
# Day after Night of Power.
|
|
122
122
|
self._add_laylat_al_qadr_day(tr("Lendemain de la Nuit du Destin"))
|
|
@@ -152,5 +152,5 @@ class IvoryCoastStaticHolidays:
|
|
|
152
152
|
# Public holiday for Presidential election preparation.
|
|
153
153
|
2010: (OCT, 29, tr("Jour férié pour la préparation de l'élection présidentielle")),
|
|
154
154
|
# 2024 African Cup of Nations Victory.
|
|
155
|
-
2024: (FEB, 12, tr("Victoire à la Coupe d
|
|
155
|
+
2024: (FEB, 12, tr("Victoire à la Coupe d'Afrique des Nations 2024")),
|
|
156
156
|
}
|
holidays/countries/jamaica.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/japan.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/jersey.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/jordan.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/kazakhstan.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/kenya.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/kuwait.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/kyrgyzstan.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/laos.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/latvia.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/lesotho.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
|
@@ -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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/lithuania.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/luxembourg.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/macau.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
|
@@ -55,13 +55,15 @@ class Macau(
|
|
|
55
55
|
* [Lei n.º 7/2008](https://bo.io.gov.mo/bo/i/2008/33/lei07.asp)
|
|
56
56
|
|
|
57
57
|
Cross-Checking:
|
|
58
|
-
* [Public Holidays for 2017
|
|
58
|
+
* [Public Holidays for 2017-2025](https://www.gov.mo/en/public-holidays/year-2017/)
|
|
59
59
|
* [Public Holidays for 2005-2018](https://web.archive.org/web/20171207162948/http://portal.gov.mo/web/guest/info_detail?infoid=1887061)
|
|
60
60
|
* [Mandatory Holidays for 2009-2029](https://www.dsal.gov.mo/pt/standard/holiday_table.html)
|
|
61
61
|
"""
|
|
62
62
|
|
|
63
63
|
country = "MO"
|
|
64
64
|
default_language = "zh_MO"
|
|
65
|
+
# Decreto-Lei n.º 4/82/M.
|
|
66
|
+
start_year = 1982
|
|
65
67
|
subdivisions = (
|
|
66
68
|
"I", # Ilhas.
|
|
67
69
|
"M", # Macau.
|
|
@@ -77,8 +79,6 @@ class Macau(
|
|
|
77
79
|
}
|
|
78
80
|
supported_categories = (GOVERNMENT, MANDATORY, PUBLIC)
|
|
79
81
|
supported_languages = ("en_MO", "en_US", "pt_MO", "th", "zh_CN", "zh_MO")
|
|
80
|
-
# Decreto-Lei n.º 4/82/M.
|
|
81
|
-
start_year = 1982
|
|
82
82
|
|
|
83
83
|
def __init__(self, *args, **kwargs):
|
|
84
84
|
ChineseCalendarHolidays.__init__(self)
|
|
@@ -414,7 +414,7 @@ class MacauStaticHolidays:
|
|
|
414
414
|
* <https://www.dsal.gov.mo/pt/standard/holiday_table.html>
|
|
415
415
|
|
|
416
416
|
Cross-Checking:
|
|
417
|
-
* [Public Holidays for 2017
|
|
417
|
+
* [Public Holidays for 2017-2025](https://www.gov.mo/en/public-holidays/year-2017/)
|
|
418
418
|
* [Public Holidays for 2005-2018](https://web.archive.org/web/20171207162948/http://portal.gov.mo/web/guest/info_detail?infoid=1887061)
|
|
419
419
|
"""
|
|
420
420
|
|
holidays/countries/madagascar.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/malawi.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/malaysia.py
CHANGED
|
@@ -4,13 +4,17 @@
|
|
|
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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
|
13
|
+
from typing import TYPE_CHECKING
|
|
14
|
+
|
|
15
|
+
if TYPE_CHECKING: # pragma: no cover
|
|
16
|
+
from datetime import date
|
|
17
|
+
|
|
14
18
|
from gettext import gettext as tr
|
|
15
19
|
|
|
16
20
|
from holidays.calendars import (
|
|
@@ -90,23 +94,24 @@ class Malaysia(
|
|
|
90
94
|
observed_label = tr("Cuti %s")
|
|
91
95
|
# %s (observed, estimated).
|
|
92
96
|
observed_estimated_label = tr("Cuti %s (anggaran)")
|
|
97
|
+
start_year = 1952
|
|
93
98
|
subdivisions = (
|
|
94
|
-
"01",
|
|
95
|
-
"02",
|
|
96
|
-
"03",
|
|
97
|
-
"04",
|
|
98
|
-
"05",
|
|
99
|
-
"06",
|
|
100
|
-
"07",
|
|
101
|
-
"08",
|
|
102
|
-
"09",
|
|
103
|
-
"10",
|
|
104
|
-
"11",
|
|
105
|
-
"12",
|
|
106
|
-
"13",
|
|
107
|
-
"14",
|
|
108
|
-
"15",
|
|
109
|
-
"16",
|
|
99
|
+
"01", # Johor.
|
|
100
|
+
"02", # Kedah.
|
|
101
|
+
"03", # Kelantan.
|
|
102
|
+
"04", # Melaka.
|
|
103
|
+
"05", # Negeri Sembilan.
|
|
104
|
+
"06", # Pahang.
|
|
105
|
+
"07", # Pulau Pinang.
|
|
106
|
+
"08", # Perak.
|
|
107
|
+
"09", # Perlis.
|
|
108
|
+
"10", # Selangor.
|
|
109
|
+
"11", # Terengganu.
|
|
110
|
+
"12", # Sabah.
|
|
111
|
+
"13", # Sarawak.
|
|
112
|
+
"14", # Wilayah Persekutuan Kuala Lumpur.
|
|
113
|
+
"15", # Wilayah Persekutuan Labuan.
|
|
114
|
+
"16", # Wilayah Persekutuan Putrajaya.
|
|
110
115
|
)
|
|
111
116
|
subdivisions_aliases = {
|
|
112
117
|
"Johor": "01",
|
|
@@ -135,15 +140,14 @@ class Malaysia(
|
|
|
135
140
|
"SBH": "12",
|
|
136
141
|
"Sarawak": "13",
|
|
137
142
|
"SWK": "13",
|
|
138
|
-
"
|
|
143
|
+
"Wilayah Persekutuan Kuala Lumpur": "14",
|
|
139
144
|
"KUL": "14",
|
|
140
|
-
"
|
|
145
|
+
"Wilayah Persekutuan Labuan": "15",
|
|
141
146
|
"LBN": "15",
|
|
142
|
-
"
|
|
147
|
+
"Wilayah Persekutuan Putrajaya": "16",
|
|
143
148
|
"PJY": "16",
|
|
144
149
|
}
|
|
145
150
|
supported_languages = ("en_US", "ms_MY", "th")
|
|
146
|
-
start_year = 1952
|
|
147
151
|
|
|
148
152
|
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
149
153
|
"""
|
holidays/countries/maldives.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/malta.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
|
@@ -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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/mauritania.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/mexico.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/moldova.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/monaco.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/montenegro.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/morocco.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/mozambique.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
holidays/countries/namibia.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
|
@@ -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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
|
@@ -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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
|
@@ -28,26 +28,27 @@ class NewZealand(ObservedHolidayBase, ChristianHolidays, InternationalHolidays,
|
|
|
28
28
|
|
|
29
29
|
country = "NZ"
|
|
30
30
|
observed_label = "%s (observed)"
|
|
31
|
+
start_year = 1894
|
|
31
32
|
subdivisions = (
|
|
32
33
|
# ISO 3166-2: Regions and Special Island Authorities.
|
|
33
34
|
# https://en.wikipedia.org/wiki/ISO_3166-2:NZ
|
|
34
|
-
"AUK", # Auckland
|
|
35
|
-
"BOP", # Bay of Plenty
|
|
36
|
-
"CAN", # Canterbury
|
|
37
|
-
"CIT", # Chatham Islands Territory
|
|
38
|
-
"GIS", # Gisborne
|
|
39
|
-
"HKB", # Hawke's Bay
|
|
40
|
-
"MBH", # Marlborough
|
|
41
|
-
"MWT", # Manawatū-Whanganui
|
|
42
|
-
"NSN", # Nelson
|
|
43
|
-
"NTL", # Northland
|
|
44
|
-
"OTA", # Otago
|
|
45
|
-
"STL", # Southland
|
|
46
|
-
"TAS", # Tasman
|
|
47
|
-
"TKI", # Taranaki
|
|
48
|
-
"WGN", # Greater Wellington
|
|
49
|
-
"WKO", # Waikato
|
|
50
|
-
"WTC", # West Coast
|
|
35
|
+
"AUK", # Auckland (Tāmaki-Makaurau).
|
|
36
|
+
"BOP", # Bay of Plenty (Toi Moana).
|
|
37
|
+
"CAN", # Canterbury (Waitaha).
|
|
38
|
+
"CIT", # Chatham Islands Territory (Wharekauri).
|
|
39
|
+
"GIS", # Gisborne (Te Tairāwhiti).
|
|
40
|
+
"HKB", # Hawke's Bay (Te Matau-a-Māui).
|
|
41
|
+
"MBH", # Marlborough (Manawatū-Whanganui).
|
|
42
|
+
"MWT", # Manawatū-Whanganui (Manawatū Whanganui).
|
|
43
|
+
"NSN", # Nelson (Whakatū).
|
|
44
|
+
"NTL", # Northland (Te Taitokerau).
|
|
45
|
+
"OTA", # Otago (Ō Tākou).
|
|
46
|
+
"STL", # Southland (Te Taiao Tonga).
|
|
47
|
+
"TAS", # Tasman (Te tai o Aorere).
|
|
48
|
+
"TKI", # Taranaki (Taranaki).
|
|
49
|
+
"WGN", # Greater Wellington (Te Pane Matua Taiao).
|
|
50
|
+
"WKO", # Waikato (Waikato).
|
|
51
|
+
"WTC", # West Coast (Te Tai o Poutini).
|
|
51
52
|
# Subregions:
|
|
52
53
|
# https://www.govt.nz/browse/work/public-holidays-and-work/public-holidays-and-anniversary-dates/
|
|
53
54
|
"South Canterbury",
|
|
@@ -114,7 +115,6 @@ class NewZealand(ObservedHolidayBase, ChristianHolidays, InternationalHolidays,
|
|
|
114
115
|
"STC", # For 'South Canterbury' Subregional Holidays.
|
|
115
116
|
"WTL", # Westland, Correct code is WTC (for West Coast).
|
|
116
117
|
)
|
|
117
|
-
start_year = 1894
|
|
118
118
|
|
|
119
119
|
def __init__(self, *args, **kwargs):
|
|
120
120
|
ChristianHolidays.__init__(self)
|
holidays/countries/nicaragua.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
|
@@ -28,23 +28,23 @@ class Nicaragua(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
28
28
|
country = "NI"
|
|
29
29
|
default_language = "es"
|
|
30
30
|
subdivisions = (
|
|
31
|
-
"AN",
|
|
32
|
-
"AS",
|
|
33
|
-
"BO",
|
|
34
|
-
"CA",
|
|
35
|
-
"CI",
|
|
36
|
-
"CO",
|
|
37
|
-
"ES",
|
|
38
|
-
"GR",
|
|
39
|
-
"JI",
|
|
40
|
-
"LE",
|
|
41
|
-
"MD",
|
|
42
|
-
"MN",
|
|
43
|
-
"MS",
|
|
44
|
-
"MT",
|
|
45
|
-
"NS",
|
|
46
|
-
"RI",
|
|
47
|
-
"SJ",
|
|
31
|
+
"AN", # Costa Caribe Norte.
|
|
32
|
+
"AS", # Costa Caribe Sur.
|
|
33
|
+
"BO", # Boaco.
|
|
34
|
+
"CA", # Carazo.
|
|
35
|
+
"CI", # Chinandega.
|
|
36
|
+
"CO", # Chontales.
|
|
37
|
+
"ES", # Estelí.
|
|
38
|
+
"GR", # Granada.
|
|
39
|
+
"JI", # Jinotega.
|
|
40
|
+
"LE", # León.
|
|
41
|
+
"MD", # Madriz.
|
|
42
|
+
"MN", # Managua.
|
|
43
|
+
"MS", # Masaya.
|
|
44
|
+
"MT", # Matagalpa.
|
|
45
|
+
"NS", # Nueva Segovia.
|
|
46
|
+
"RI", # Rivas.
|
|
47
|
+
"SJ", # Río San Juan.
|
|
48
48
|
)
|
|
49
49
|
subdivisions_aliases = {
|
|
50
50
|
"Costa Caribe Norte": "AN",
|
|
@@ -62,8 +62,8 @@ class Nicaragua(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
62
62
|
"Masaya": "MS",
|
|
63
63
|
"Matagalpa": "MT",
|
|
64
64
|
"Nueva Segovia": "NS",
|
|
65
|
-
"Río San Juan": "SJ",
|
|
66
65
|
"Rivas": "RI",
|
|
66
|
+
"Río San Juan": "SJ",
|
|
67
67
|
}
|
|
68
68
|
supported_languages = ("en_US", "es", "uk")
|
|
69
69
|
|
holidays/countries/nigeria.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
|
@@ -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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
|
@@ -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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|
|
@@ -24,6 +24,7 @@ class HolidaysMP(US):
|
|
|
24
24
|
country = "MP"
|
|
25
25
|
supported_categories = (GOVERNMENT, PUBLIC, UNOFFICIAL)
|
|
26
26
|
subdivisions = () # Override US subdivisions.
|
|
27
|
+
subdivisions_aliases = {} # Override US subdivisions aliases.
|
|
27
28
|
|
|
28
29
|
def _populate_public_holidays(self) -> None:
|
|
29
30
|
self.subdiv = "MP"
|
holidays/countries/norway.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
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS 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
|