holidays 0.71__py3-none-any.whl → 0.73__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 +194 -6
- 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 +140 -47
- holidays/countries/angola.py +1 -1
- holidays/countries/antigua_and_barbuda.py +1 -1
- holidays/countries/argentina.py +15 -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/cocos_islands.py +259 -0
- 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 +3 -4
- holidays/countries/french_southern_territories.py +1 -1
- 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/grenada.py +143 -0
- 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 +21 -29
- 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/nepal.py +441 -0
- 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 +1 -1
- holidays/countries/pakistan.py +1 -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 +3 -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 +1 -1
- 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 +3 -31
- holidays/countries/spain.py +43 -20
- holidays/countries/sri_lanka.py +1 -1
- holidays/countries/suriname.py +1 -1
- holidays/countries/sweden.py +1 -1
- holidays/countries/switzerland.py +61 -28
- holidays/countries/taiwan.py +1 -1
- holidays/countries/tanzania.py +1 -1
- holidays/countries/thailand.py +3 -3
- holidays/countries/timor_leste.py +1 -1
- holidays/countries/togo.py +182 -0
- 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 +30 -32
- 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 +4 -4
- holidays/groups/custom.py +1 -1
- holidays/groups/eastern.py +1 -1
- holidays/groups/hebrew.py +1 -1
- holidays/groups/hindu.py +166 -4
- holidays/groups/international.py +1 -1
- holidays/groups/islamic.py +1 -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 +1 -1
- 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/ca/LC_MESSAGES/AD.mo +0 -0
- holidays/locale/coa_CC/LC_MESSAGES/CC.mo +0 -0
- holidays/locale/en_CA/LC_MESSAGES/CA.mo +0 -0
- holidays/locale/en_CC/LC_MESSAGES/CC.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_GD/LC_MESSAGES/GD.mo +0 -0
- holidays/locale/en_IN/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/en_TT/LC_MESSAGES/TT.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/AD.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CA.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CC.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/GD.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/ST.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TG.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TT.mo +0 -0
- holidays/locale/es/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/CA.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/TG.mo +0 -0
- holidays/locale/hi/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/km/LC_MESSAGES/KH.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/AD.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/AR.mo +0 -0
- holidays/mixins.py +1 -1
- holidays/observed_holiday_base.py +1 -1
- holidays/registry.py +7 -1
- holidays/utils.py +1 -1
- holidays/version.py +2 -2
- {holidays-0.71.dist-info → holidays-0.73.dist-info}/METADATA +66 -18
- {holidays-0.71.dist-info → holidays-0.73.dist-info}/RECORD +260 -239
- {holidays-0.71.dist-info → holidays-0.73.dist-info}/WHEEL +1 -1
- holidays-0.71.dist-info/licenses/AUTHORS.md → holidays-0.73.dist-info/licenses/CONTRIBUTORS +1 -2
- {holidays-0.71.dist-info → holidays-0.73.dist-info}/licenses/LICENSE +1 -1
- {holidays-0.71.dist-info → holidays-0.73.dist-info}/top_level.txt +0 -0
holidays/countries/__init__.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
|
|
@@ -46,6 +46,7 @@ from .canada import Canada, CA, CAN
|
|
|
46
46
|
from .chad import Chad, TD, TCD
|
|
47
47
|
from .chile import Chile, CL, CHL
|
|
48
48
|
from .china import China, CN, CHN
|
|
49
|
+
from .cocos_islands import CocosIslands, CC, CCK
|
|
49
50
|
from .colombia import Colombia, CO, COL
|
|
50
51
|
from .congo import Congo, CG, COG
|
|
51
52
|
from .costa_rica import CostaRica, CR, CRI
|
|
@@ -74,6 +75,7 @@ from .germany import Germany, DE, DEU
|
|
|
74
75
|
from .ghana import Ghana, GH, GHA
|
|
75
76
|
from .greece import Greece, GR, GRC
|
|
76
77
|
from .greenland import Greenland, GL, GRL
|
|
78
|
+
from .grenada import Grenada, GD, GRD
|
|
77
79
|
from .guam import Guam, GU, GUM, HolidaysGU
|
|
78
80
|
from .guatemala import Guatemala, GT, GUA
|
|
79
81
|
from .guernsey import Guernsey, GG, GGY
|
|
@@ -120,6 +122,7 @@ from .montenegro import Montenegro, ME, MNE
|
|
|
120
122
|
from .morocco import Morocco, MA, MOR
|
|
121
123
|
from .mozambique import Mozambique, MZ, MOZ
|
|
122
124
|
from .namibia import Namibia, NA, NAM
|
|
125
|
+
from .nepal import Nepal, NP, NPL
|
|
123
126
|
from .netherlands import Netherlands, NL, NLD
|
|
124
127
|
from .new_zealand import NewZealand, NZ, NZL
|
|
125
128
|
from .nicaragua import Nicaragua, NI, NIC
|
|
@@ -145,6 +148,7 @@ from .saint_kitts_and_nevis import SaintKittsAndNevis, KN, KNA
|
|
|
145
148
|
from .saint_lucia import SaintLucia, LC, LCA
|
|
146
149
|
from .samoa import Samoa, WS, WSM
|
|
147
150
|
from .san_marino import SanMarino, SM, SMR
|
|
151
|
+
from .sao_tome_and_principe import SaoTomeAndPrincipe, ST, STP
|
|
148
152
|
from .saudi_arabia import SaudiArabia, SA, SAU
|
|
149
153
|
from .serbia import Serbia, RS, SRB
|
|
150
154
|
from .seychelles import Seychelles, SC, SYC
|
|
@@ -163,7 +167,9 @@ from .taiwan import Taiwan, TW, TWN
|
|
|
163
167
|
from .tanzania import Tanzania, TZ, TZA
|
|
164
168
|
from .thailand import Thailand, TH, THA
|
|
165
169
|
from .timor_leste import TimorLeste, TL, TLS
|
|
170
|
+
from .togo import Togo, TG, TGO
|
|
166
171
|
from .tonga import Tonga, TO, TON
|
|
172
|
+
from .trinidad_and_tobago import TrinidadAndTobago, TT, TTO
|
|
167
173
|
from .tunisia import Tunisia, TN, TUN
|
|
168
174
|
from .turkey import Turkey, TR, TUR
|
|
169
175
|
from .tuvalu import Tuvalu, TV, TUV
|
|
@@ -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/albania.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
|
|
@@ -32,7 +32,7 @@ class Albania(
|
|
|
32
32
|
References:
|
|
33
33
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Albania>
|
|
34
34
|
* [Law No. 7651](http://kqk.gov.al/sites/default/files/publikime/ligj_7651_-_per_festat_zyrtare_e_ditet_perkujtimore.pdf)
|
|
35
|
-
* [Holidays for 2018
|
|
35
|
+
* [Holidays for 2018-2024](https://www.bankofalbania.org/Shtypi/Kalendari_i_festave_zyrtare_2024/)
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
38
|
country = "AL"
|
holidays/countries/algeria.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
|
|
@@ -24,6 +24,7 @@ class HolidaysAS(US):
|
|
|
24
24
|
country = "AS"
|
|
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 = "AS"
|
holidays/countries/andorra.py
CHANGED
|
@@ -4,12 +4,15 @@
|
|
|
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 gettext import gettext as tr
|
|
14
|
+
|
|
15
|
+
from holidays.constants import GOVERNMENT, PUBLIC
|
|
13
16
|
from holidays.groups import ChristianHolidays, InternationalHolidays
|
|
14
17
|
from holidays.holiday_base import HolidayBase
|
|
15
18
|
|
|
@@ -19,10 +22,63 @@ class Andorra(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
19
22
|
|
|
20
23
|
References:
|
|
21
24
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Andorra>
|
|
22
|
-
*
|
|
25
|
+
* [Andorra's Constitution](https://web.archive.org/web/20250506145838/https://www.bopa.ad/Legislacio/Detall?doc=7586)
|
|
26
|
+
* [Government holidays source](https://seu.consellgeneral.ad/calendariPublic/show)
|
|
27
|
+
* [2025](https://web.archive.org/web/20250506142149/https://www.bopa.ad/Documents/Detall?doc=GD_2024_10_24_14_36_16)
|
|
28
|
+
|
|
29
|
+
Subdivisions holidays:
|
|
30
|
+
* Canillo:
|
|
31
|
+
* [2020](https://web.archive.org/web/20250506143618/https://www.bopa.ad/Documents/Detall?doc=QCH20191209_09_01_14)
|
|
32
|
+
* [2021](https://web.archive.org/web/20250506143707/https://www.bopa.ad/Documents/Detall?doc=QCH20201130_11_52_35)
|
|
33
|
+
* [2022](https://web.archive.org/web/20250506143404/https://www.bopa.ad/Documents/Detall?doc=QCD20211126_12_16_57)
|
|
34
|
+
* [2023](https://web.archive.org/web/20250506143725/https://www.bopa.ad/Documents/Detall?doc=QCH20221010_11_26_39)
|
|
35
|
+
* [2024](https://web.archive.org/web/20250506143740/https://www.bopa.ad/Documents/Detall?doc=QCH_2023_12_06_16_16_52)
|
|
36
|
+
* [2025](https://web.archive.org/web/20250506144017/https://www.bopa.ad/Documents/Detall?doc=QCH_2024_10_10_11_42_15)
|
|
37
|
+
* Encamp:
|
|
38
|
+
* [2024](https://web.archive.org/web/20241201165207/https://www.bopa.ad/Documents/Detall?doc=QEH_2023_12_15_13_03_32)
|
|
39
|
+
* [2025](https://web.archive.org/web/20241212121414/https://www.bopa.ad/Documents/Detall?doc=QEH_2024_11_27_10_29_49)
|
|
40
|
+
* La Massana:
|
|
41
|
+
* [2020](https://web.archive.org/web/20250506144157/https://www.bopa.ad/Documents/Detall?doc=QMH20191209_09_08_10)
|
|
42
|
+
* [2021](https://web.archive.org/web/20250506144241/https://www.bopa.ad/Documents/Detall?doc=QMH20201218_11_52_59)
|
|
43
|
+
* [2022](https://web.archive.org/web/20250506144526/https://www.bopa.ad/Documents/Detall?doc=QMH20211116_12_23_19)
|
|
44
|
+
* [2023](https://web.archive.org/web/20250506144455/https://www.bopa.ad/Documents/Detall?doc=QMH20221216_12_41_13)
|
|
45
|
+
* [2024](https://web.archive.org/web/20250506144500/https://www.bopa.ad/Documents/Detall?doc=QMH_2023_12_11_10_54_27)
|
|
46
|
+
* [2025](https://web.archive.org/web/20250506144645/https://www.bopa.ad/Documents/Detall?doc=QMH_2024_11_19_09_10_48)
|
|
47
|
+
* Ordino:
|
|
48
|
+
* [2020](https://web.archive.org/web/20250506144555/https://www.bopa.ad/Documents/Detall?doc=QOH20191127_11_43_45)
|
|
49
|
+
* [2021](https://web.archive.org/web/20250506144713/https://www.bopa.ad/Documents/Detall?doc=QOH20201229_12_24_42)
|
|
50
|
+
* [2022](https://web.archive.org/web/20250506144715/https://www.bopa.ad/Documents/Detall?doc=QOH20211125_15_57_33)
|
|
51
|
+
* [2023](https://web.archive.org/web/20250506144738/https://www.bopa.ad/Documents/Detall?doc=QOH20221228_10_02_52)
|
|
52
|
+
* [2024](https://web.archive.org/web/20250506144729/https://www.bopa.ad/Documents/Detall?doc=QOH_2023_12_28_09_52_56)
|
|
53
|
+
* [2025](https://web.archive.org/web/20250506144815/https://www.bopa.ad/Documents/Detall?doc=QOH_2024_11_28_13_42_34)
|
|
54
|
+
* Sant Julià de Lòria:
|
|
55
|
+
* [2020](https://web.archive.org/web/20250506144715/https://www.bopa.ad/Documents/Detall?doc=QSH20191122_11_45_30)
|
|
56
|
+
* [2021](https://web.archive.org/web/20250506144827/https://www.bopa.ad/Documents/Detall?doc=QSH20201223_14_47_40)
|
|
57
|
+
* [2022](https://web.archive.org/web/20250506144843/https://www.bopa.ad/Documents/Detall?doc=QSH20211217_08_48_18)
|
|
58
|
+
* [2023](https://web.archive.org/web/20250506144859/https://www.bopa.ad/Documents/Detall?doc=QSH20221216_10_26_20)
|
|
59
|
+
* [2024](https://web.archive.org/web/20250506145411/https://www.bopa.ad/Documents/Detall?doc=QSH_2023_12_07_11_20_16)
|
|
60
|
+
* [2025](https://web.archive.org/web/20250506145311/https://www.bopa.ad/Documents/Detall?doc=QSH_2024_12_17_17_06_23)
|
|
61
|
+
* Andorra la Vella:
|
|
62
|
+
* [2020](https://web.archive.org/web/20250506142322/https://www.bopa.ad/Documents/Detall?doc=QAH20191128_08_58_08)
|
|
63
|
+
* [2021](https://web.archive.org/web/20250506142457/https://www.bopa.ad/Documents/Detall?doc=QAH20201210_11_13_19)
|
|
64
|
+
* [2022](https://web.archive.org/web/20250506142545/https://www.bopa.ad/Documents/Detall?doc=QAH20211111_16_06_47)
|
|
65
|
+
* [2023](https://web.archive.org/web/20250506142748/https://www.bopa.ad/Documents/Detall?doc=QAH20221117_10_31_45)
|
|
66
|
+
* [2024](https://web.archive.org/web/20250506142903/https://www.bopa.ad/Documents/Detall?doc=QAH_2023_11_17_12_40_42)
|
|
67
|
+
* [2025](https://web.archive.org/web/20250506143036/https://www.bopa.ad/Documents/Detall?doc=QAH_2024_11_21_09_44_47)
|
|
68
|
+
* Escaldes-Engordany:
|
|
69
|
+
* [Parish foundation](https://web.archive.org/web/20130409081302/http://www.andorra.ad/ca-ES/Andorra/Pagines/comu_escaldes.aspx)
|
|
70
|
+
* [2020](https://web.archive.org/web/20250506145337/https://www.bopa.ad/Documents/Detall?doc=QXH20200113_11_32_08)
|
|
71
|
+
* [2021](https://web.archive.org/web/20250506145439/https://www.bopa.ad/Documents/Detall?doc=QXH20210127_13_33_13)
|
|
72
|
+
* [2022](https://web.archive.org/web/20250506145442/https://www.bopa.ad/Documents/Detall?doc=QXH20220103_09_55_00)
|
|
73
|
+
* [2023](https://web.archive.org/web/20250506145436/https://www.bopa.ad/Documents/Detall?doc=QXH20230102_11_21_25)
|
|
74
|
+
* [2024](https://web.archive.org/web/20250506145940/https://www.bopa.ad/Documents/Detall?doc=QXH_2024_01_05_14_43_32)
|
|
75
|
+
* [2025](https://web.archive.org/web/20250506145955/https://www.bopa.ad/Documents/Detall?doc=QXH_2024_12_23_11_47_04)
|
|
23
76
|
"""
|
|
24
77
|
|
|
25
78
|
country = "AD"
|
|
79
|
+
default_language = "ca"
|
|
80
|
+
# The 1933 Revolution in Andorra
|
|
81
|
+
start_year = 1934
|
|
26
82
|
subdivisions = (
|
|
27
83
|
"02", # Canillo.
|
|
28
84
|
"03", # Encamp.
|
|
@@ -32,6 +88,17 @@ class Andorra(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
32
88
|
"07", # Andorra la Vella.
|
|
33
89
|
"08", # Escaldes-Engordany.
|
|
34
90
|
)
|
|
91
|
+
subdivisions_aliases = {
|
|
92
|
+
"Canillo": "02",
|
|
93
|
+
"Encamp": "03",
|
|
94
|
+
"La Massana": "04",
|
|
95
|
+
"Ordino": "05",
|
|
96
|
+
"Sant Julià de Lòria": "06",
|
|
97
|
+
"Andorra la Vella": "07",
|
|
98
|
+
"Escaldes-Engordany": "08",
|
|
99
|
+
}
|
|
100
|
+
supported_categories = (GOVERNMENT, PUBLIC)
|
|
101
|
+
supported_languages = ("ca", "en_US", "uk")
|
|
35
102
|
|
|
36
103
|
def __init__(self, *args, **kwargs) -> None:
|
|
37
104
|
ChristianHolidays.__init__(self)
|
|
@@ -40,93 +107,119 @@ class Andorra(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
40
107
|
|
|
41
108
|
def _populate_public_holidays(self) -> None:
|
|
42
109
|
# New Year's Day.
|
|
43
|
-
self._add_new_years_day("
|
|
110
|
+
self._add_new_years_day(tr("Cap d'Any"))
|
|
44
111
|
|
|
45
112
|
# Epiphany.
|
|
46
|
-
self._add_epiphany_day("
|
|
113
|
+
self._add_epiphany_day(tr("Reis"))
|
|
47
114
|
|
|
48
115
|
# Carnival.
|
|
49
|
-
self.
|
|
116
|
+
self._add_carnival_monday(tr("Carnaval"))
|
|
50
117
|
|
|
51
|
-
|
|
52
|
-
|
|
118
|
+
if self._year >= 1994:
|
|
119
|
+
# Constitution Day.
|
|
120
|
+
self._add_holiday_mar_14(tr("Dia de la Constitució"))
|
|
53
121
|
|
|
54
122
|
# Good Friday.
|
|
55
|
-
self._add_good_friday("
|
|
123
|
+
self._add_good_friday(tr("Divendres Sant"))
|
|
56
124
|
|
|
57
|
-
# Easter
|
|
58
|
-
self._add_easter_monday("
|
|
125
|
+
# Easter Monday.
|
|
126
|
+
self._add_easter_monday(tr("Dilluns de Pasqua"))
|
|
59
127
|
|
|
60
128
|
# Labor Day.
|
|
61
|
-
self._add_labor_day("
|
|
129
|
+
self._add_labor_day(tr("Festa del treball"))
|
|
62
130
|
|
|
63
131
|
# Whit Monday.
|
|
64
|
-
self._add_whit_monday("
|
|
132
|
+
self._add_whit_monday(tr("Dilluns de Pentecosta"))
|
|
65
133
|
|
|
66
134
|
# Assumption Day.
|
|
67
|
-
self._add_assumption_of_mary_day("
|
|
135
|
+
self._add_assumption_of_mary_day(tr("Assumpció"))
|
|
68
136
|
|
|
69
|
-
#
|
|
70
|
-
self._add_holiday_sep_8("
|
|
137
|
+
# Our Lady of Meritxell.
|
|
138
|
+
self._add_holiday_sep_8(tr("Nostra Senyora de Meritxell"))
|
|
71
139
|
|
|
72
140
|
# All Saints' Day.
|
|
73
|
-
self._add_all_saints_day("
|
|
141
|
+
self._add_all_saints_day(tr("Tots Sants"))
|
|
74
142
|
|
|
75
|
-
# Immaculate Conception
|
|
76
|
-
self._add_immaculate_conception_day("
|
|
143
|
+
# Immaculate Conception.
|
|
144
|
+
self._add_immaculate_conception_day(tr("Immaculada Concepció"))
|
|
77
145
|
|
|
78
146
|
# Christmas Day.
|
|
79
|
-
self._add_christmas_day("
|
|
147
|
+
self._add_christmas_day(tr("Nadal"))
|
|
80
148
|
|
|
81
149
|
# Saint Stephen's Day.
|
|
82
|
-
self._add_christmas_day_two("
|
|
150
|
+
self._add_christmas_day_two(tr("Sant Esteve"))
|
|
83
151
|
|
|
84
|
-
# Canillo.
|
|
85
152
|
def _populate_subdiv_02_public_holidays(self):
|
|
86
|
-
|
|
87
|
-
self.
|
|
88
|
-
self._add_holiday_1_day_past_3rd_sat_of_jul(name)
|
|
89
|
-
self._add_holiday_2_days_past_3rd_sat_of_jul(name)
|
|
153
|
+
# Saint Roch's Day.
|
|
154
|
+
self._add_holiday_aug_16(tr("Sant Roc"))
|
|
90
155
|
|
|
91
|
-
# Encamp.
|
|
92
156
|
def _populate_subdiv_03_public_holidays(self):
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
self._add_holiday_aug_16(name)
|
|
157
|
+
# There are no holidays common to the whole parish.
|
|
158
|
+
pass
|
|
96
159
|
|
|
97
|
-
# La Massana.
|
|
98
160
|
def _populate_subdiv_04_public_holidays(self):
|
|
99
|
-
|
|
100
|
-
self.
|
|
101
|
-
self._add_holiday_aug_16(name)
|
|
161
|
+
# Saint Anthony's Day.
|
|
162
|
+
self._add_holiday_jan_17(tr("Sant Antoni"))
|
|
102
163
|
|
|
103
|
-
# Ordino.
|
|
104
164
|
def _populate_subdiv_05_public_holidays(self):
|
|
105
|
-
|
|
106
|
-
self.
|
|
107
|
-
self._add_holiday_aug_16(name)
|
|
165
|
+
# Saint Peter's Day.
|
|
166
|
+
self._add_saints_peter_and_paul_day(tr("Sant Pere"))
|
|
108
167
|
|
|
109
|
-
# Sant Julià de Lòria.
|
|
110
168
|
def _populate_subdiv_06_public_holidays(self):
|
|
111
|
-
|
|
112
|
-
self.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
self.
|
|
169
|
+
# Saint Julian's Day.
|
|
170
|
+
self._add_holiday_jan_7(tr("Sant Julià"))
|
|
171
|
+
|
|
172
|
+
# Virgin Mary of Canòlich.
|
|
173
|
+
self._add_holiday_last_sat_of_may(tr("Diada de Canòlich"))
|
|
174
|
+
|
|
175
|
+
# Sant Julià de Lòria Festival.
|
|
176
|
+
name = tr("Festa Major de Sant Julià de Lòria")
|
|
177
|
+
self._add_holiday_2_days_past_last_sat_of_jul(name)
|
|
178
|
+
self._add_holiday_3_days_past_last_sat_of_jul(name)
|
|
116
179
|
|
|
117
|
-
# Andorra la Vella.
|
|
118
180
|
def _populate_subdiv_07_public_holidays(self):
|
|
119
|
-
|
|
181
|
+
# Andorra la Vella Festival.
|
|
182
|
+
name = tr("Festa Major d'Andorra la Vella")
|
|
120
183
|
self._add_holiday_1st_sat_of_aug(name)
|
|
121
184
|
self._add_holiday_1_day_past_1st_sat_of_aug(name)
|
|
122
185
|
self._add_holiday_2_days_past_1st_sat_of_aug(name)
|
|
123
186
|
|
|
124
|
-
# Escaldes-Engordany.
|
|
125
187
|
def _populate_subdiv_08_public_holidays(self):
|
|
126
|
-
|
|
188
|
+
# The parish of Escaldes-Engordany created on June 14, 1978.
|
|
189
|
+
if self._year <= 1978:
|
|
190
|
+
return None
|
|
191
|
+
|
|
192
|
+
# Saint Michael of Engolasters' Day.
|
|
193
|
+
self._add_holiday_may_7(tr("Sant Miquel d'Engolasters"))
|
|
194
|
+
|
|
195
|
+
# Parish foundation day.
|
|
196
|
+
name = tr("Diada de la creació de la parròquia")
|
|
197
|
+
if self._year >= 1997:
|
|
198
|
+
self._add_holiday_1st_sun_from_jun_14(name)
|
|
199
|
+
else:
|
|
200
|
+
self._add_holiday_jun_14(name)
|
|
201
|
+
|
|
202
|
+
# Escaldes-Engordany Festival.
|
|
203
|
+
name = tr("Festa Major d'Escaldes-Engordany")
|
|
127
204
|
self._add_holiday_jul_25(name)
|
|
128
205
|
self._add_holiday_jul_26(name)
|
|
129
206
|
|
|
207
|
+
def _populate_government_holidays(self):
|
|
208
|
+
# %s (from 1pm).
|
|
209
|
+
begin_time_label = self.tr("%s (a partir de les 13h)")
|
|
210
|
+
|
|
211
|
+
# Epiphany Eve.
|
|
212
|
+
self._add_holiday_jan_5(begin_time_label % self.tr("Vigília de Reis"))
|
|
213
|
+
|
|
214
|
+
# Maundy Thursday.
|
|
215
|
+
self._add_holy_thursday(begin_time_label % self.tr("Dijous Sant"))
|
|
216
|
+
|
|
217
|
+
# Christmas Eve.
|
|
218
|
+
self._add_christmas_eve(begin_time_label % self.tr("Vigília de Nadal"))
|
|
219
|
+
|
|
220
|
+
# New Year's Eve.
|
|
221
|
+
self._add_new_years_eve(begin_time_label % self.tr("Vigília de Cap d'Any"))
|
|
222
|
+
|
|
130
223
|
|
|
131
224
|
class AD(Andorra):
|
|
132
225
|
pass
|
holidays/countries/angola.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/argentina.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
|
|
@@ -147,10 +147,10 @@ class Argentina(
|
|
|
147
147
|
|
|
148
148
|
country = "AR"
|
|
149
149
|
default_language = "es"
|
|
150
|
-
supported_languages = ("en_US", "es", "uk")
|
|
151
|
-
supported_categories = (ARMENIAN, BANK, GOVERNMENT, HEBREW, ISLAMIC, PUBLIC)
|
|
152
150
|
# %s (observed).
|
|
153
151
|
observed_label = tr("%s (observado)")
|
|
152
|
+
# Decree-Law 2446.
|
|
153
|
+
start_year = 1957
|
|
154
154
|
subdivisions = (
|
|
155
155
|
"A", # Salta.
|
|
156
156
|
"B", # Buenos Aires.
|
|
@@ -203,8 +203,8 @@ class Argentina(
|
|
|
203
203
|
"Jujuy": "Y",
|
|
204
204
|
"Santa Cruz": "Z",
|
|
205
205
|
}
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
supported_languages = ("en_US", "es", "uk")
|
|
207
|
+
supported_categories = (ARMENIAN, BANK, GOVERNMENT, HEBREW, ISLAMIC, PUBLIC)
|
|
208
208
|
|
|
209
209
|
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
210
210
|
"""
|
|
@@ -828,6 +828,9 @@ class ArgentinaStaticHolidays:
|
|
|
828
828
|
* [Release P51020 (2021)](https://bcra.gob.ar/Pdfs/comytexord/P51020.pdf)
|
|
829
829
|
* [Release P51155 (2024)](https://bcra.gob.ar/Pdfs/comytexord/P51155.pdf)
|
|
830
830
|
|
|
831
|
+
Special Subdivision-level Holidays References:
|
|
832
|
+
* [2018 G20 Leader Summit Special Holidays for Buenos Aires](https://web.archive.org/web/20220305033755/https://www.perfil.com/noticias/sociedad/30-de-noviembre-feriado-ciudad-de-buenos-aires-cumbre-g20.phtml)
|
|
833
|
+
|
|
831
834
|
Special Bridge Holidays are given upto 3 days a year as long as it's declared
|
|
832
835
|
50 days before calendar year's end.
|
|
833
836
|
There's no Bridge Holidays declared in 2017.
|
|
@@ -869,6 +872,9 @@ class ArgentinaStaticHolidays:
|
|
|
869
872
|
# National Census Day 2010.
|
|
870
873
|
national_census_2010 = tr("Censo Nacional 2010")
|
|
871
874
|
|
|
875
|
+
# G20 Leaders' Summit.
|
|
876
|
+
g20_leaders_summit_holiday = tr("Cumbre de Líderes del Grupo de los 20 (G20)")
|
|
877
|
+
|
|
872
878
|
# National Census Day 2022.
|
|
873
879
|
national_census_2022 = tr("Censo Nacional 2022")
|
|
874
880
|
|
|
@@ -985,3 +991,7 @@ class ArgentinaStaticHolidays:
|
|
|
985
991
|
(DEC, 31, bank_holiday),
|
|
986
992
|
),
|
|
987
993
|
}
|
|
994
|
+
|
|
995
|
+
special_b_public_holidays = {
|
|
996
|
+
2018: (NOV, 30, g20_leaders_summit_holiday),
|
|
997
|
+
}
|
holidays/countries/armenia.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/aruba.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/australia.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
|
|
@@ -50,12 +50,22 @@ class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
|
|
|
50
50
|
"""
|
|
51
51
|
|
|
52
52
|
country = "AU"
|
|
53
|
-
supported_categories = (BANK, HALF_DAY, PUBLIC)
|
|
54
53
|
default_language = "en_AU"
|
|
55
54
|
# %s (observed).
|
|
56
55
|
observed_label = tr("%s (observed)")
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
start_year = 1801
|
|
57
|
+
# fmt: off
|
|
58
|
+
subdivisions = (
|
|
59
|
+
"ACT", # Australian Capital Territory.
|
|
60
|
+
"NSW", # New South Wales.
|
|
61
|
+
"NT", # Northern Territory.
|
|
62
|
+
"QLD", # Queensland.
|
|
63
|
+
"SA", # South Australia.
|
|
64
|
+
"TAS", # Tasmania.
|
|
65
|
+
"VIC", # Victoria.
|
|
66
|
+
"WA", # Western Australia.
|
|
67
|
+
)
|
|
68
|
+
# fmt: on
|
|
59
69
|
subdivisions_aliases = {
|
|
60
70
|
"Australian Capital Territory": "ACT",
|
|
61
71
|
"New South Wales": "NSW",
|
|
@@ -66,7 +76,8 @@ class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
|
|
|
66
76
|
"Victoria": "VIC",
|
|
67
77
|
"Western Australia": "WA",
|
|
68
78
|
}
|
|
69
|
-
|
|
79
|
+
supported_categories = (BANK, HALF_DAY, PUBLIC)
|
|
80
|
+
supported_languages = ("en_AU", "en_US", "th")
|
|
70
81
|
|
|
71
82
|
@property
|
|
72
83
|
def sovereign_birthday(self) -> str:
|
holidays/countries/austria.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
|
|
@@ -22,8 +22,6 @@ class Austria(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
22
22
|
|
|
23
23
|
country = "AT"
|
|
24
24
|
default_language = "de"
|
|
25
|
-
supported_categories = (BANK, PUBLIC)
|
|
26
|
-
supported_languages = ("de", "en_US", "uk")
|
|
27
25
|
subdivisions = (
|
|
28
26
|
"1", # Burgenland.
|
|
29
27
|
"2", # Kärnten.
|
|
@@ -62,6 +60,8 @@ class Austria(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
62
60
|
"Wien": "9",
|
|
63
61
|
"W": "9",
|
|
64
62
|
}
|
|
63
|
+
supported_categories = (BANK, PUBLIC)
|
|
64
|
+
supported_languages = ("de", "en_US", "uk")
|
|
65
65
|
|
|
66
66
|
def __init__(self, *args, **kwargs) -> None:
|
|
67
67
|
ChristianHolidays.__init__(self)
|
holidays/countries/azerbaijan.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/bahamas.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/bahrain.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/bangladesh.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/barbados.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/belarus.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/belgium.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/belize.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
|