holidays 0.60__py3-none-any.whl → 0.62__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/constants.py +3 -0
- holidays/countries/__init__.py +1 -0
- holidays/countries/albania.py +2 -4
- holidays/countries/angola.py +2 -4
- holidays/countries/argentina.py +23 -1
- holidays/countries/armenia.py +1 -3
- holidays/countries/aruba.py +2 -4
- holidays/countries/australia.py +1 -0
- holidays/countries/azerbaijan.py +31 -8
- holidays/countries/bahamas.py +2 -4
- holidays/countries/barbados.py +2 -4
- holidays/countries/belarus.py +2 -4
- holidays/countries/belize.py +2 -4
- holidays/countries/bolivia.py +1 -3
- holidays/countries/botswana.py +1 -3
- holidays/countries/brazil.py +151 -116
- holidays/countries/brunei.py +159 -72
- holidays/countries/bulgaria.py +1 -6
- holidays/countries/burkina_faso.py +3 -5
- holidays/countries/burundi.py +1 -3
- holidays/countries/cambodia.py +13 -4
- holidays/countries/cameroon.py +2 -4
- holidays/countries/canada.py +7 -11
- holidays/countries/chad.py +2 -4
- holidays/countries/chile.py +1 -3
- holidays/countries/china.py +23 -12
- holidays/countries/congo.py +2 -4
- holidays/countries/croatia.py +1 -3
- holidays/countries/cuba.py +2 -4
- holidays/countries/curacao.py +2 -7
- holidays/countries/cyprus.py +1 -9
- holidays/countries/djibouti.py +2 -4
- holidays/countries/dominica.py +2 -4
- holidays/countries/dominican_republic.py +2 -4
- holidays/countries/eswatini.py +1 -4
- holidays/countries/ethiopia.py +1 -3
- holidays/countries/finland.py +6 -3
- holidays/countries/france.py +1 -0
- holidays/countries/gabon.py +2 -4
- holidays/countries/georgia.py +1 -3
- holidays/countries/germany.py +4 -56
- holidays/countries/ghana.py +1 -4
- holidays/countries/guernsey.py +328 -0
- holidays/countries/haiti.py +2 -8
- holidays/countries/hongkong.py +2 -3
- holidays/countries/indonesia.py +1 -3
- holidays/countries/iran.py +1 -3
- holidays/countries/ireland.py +1 -3
- holidays/countries/israel.py +1 -18
- holidays/countries/japan.py +2 -6
- holidays/countries/jersey.py +2 -4
- holidays/countries/kazakhstan.py +2 -4
- holidays/countries/kenya.py +1 -3
- holidays/countries/laos.py +2 -13
- holidays/countries/latvia.py +1 -3
- holidays/countries/lesotho.py +1 -3
- holidays/countries/lithuania.py +1 -3
- holidays/countries/luxembourg.py +1 -1
- holidays/countries/madagascar.py +1 -4
- holidays/countries/malawi.py +1 -4
- holidays/countries/malaysia.py +1 -6
- holidays/countries/malta.py +2 -4
- holidays/countries/moldova.py +2 -4
- holidays/countries/mozambique.py +1 -3
- holidays/countries/namibia.py +1 -3
- holidays/countries/netherlands.py +1 -0
- holidays/countries/new_zealand.py +1 -3
- holidays/countries/nigeria.py +1 -3
- holidays/countries/pakistan.py +1 -3
- holidays/countries/palau.py +5 -7
- holidays/countries/papua_new_guinea.py +2 -4
- holidays/countries/paraguay.py +32 -31
- holidays/countries/philippines.py +1 -3
- holidays/countries/poland.py +1 -3
- holidays/countries/portugal.py +23 -0
- holidays/countries/russia.py +1 -3
- holidays/countries/saint_kitts_and_nevis.py +2 -4
- holidays/countries/seychelles.py +2 -4
- holidays/countries/slovakia.py +2 -4
- holidays/countries/slovenia.py +1 -3
- holidays/countries/south_africa.py +2 -4
- holidays/countries/south_korea.py +1 -6
- holidays/countries/switzerland.py +2 -1
- holidays/countries/taiwan.py +1 -3
- holidays/countries/tanzania.py +2 -8
- holidays/countries/thailand.py +12 -8
- holidays/countries/timor_leste.py +4 -8
- holidays/countries/tonga.py +2 -4
- holidays/countries/turkey.py +2 -7
- holidays/countries/ukraine.py +2 -4
- holidays/countries/united_kingdom.py +2 -8
- holidays/countries/united_states.py +20 -23
- holidays/countries/uruguay.py +2 -7
- holidays/countries/uzbekistan.py +1 -2
- holidays/countries/vanuatu.py +2 -4
- holidays/countries/vatican_city.py +1 -3
- holidays/countries/venezuela.py +1 -0
- holidays/countries/zambia.py +1 -4
- holidays/countries/zimbabwe.py +1 -3
- holidays/financial/__init__.py +1 -0
- holidays/financial/brasil_bolsa_balcao.py +108 -0
- holidays/financial/european_central_bank.py +2 -5
- holidays/financial/ice_futures_europe.py +2 -5
- holidays/financial/ny_stock_exchange.py +20 -21
- holidays/groups/international.py +11 -0
- holidays/helpers.py +4 -4
- holidays/holiday_base.py +10 -4
- holidays/locale/de/LC_MESSAGES/CH.po +1 -1
- holidays/locale/en_US/LC_MESSAGES/BN.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/BN.po +29 -18
- holidays/locale/en_US/LC_MESSAGES/BR.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/BR.po +263 -0
- holidays/locale/en_US/LC_MESSAGES/BVMF.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/BVMF.po +79 -0
- holidays/locale/en_US/LC_MESSAGES/CH.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CH.po +1 -1
- holidays/locale/en_US/LC_MESSAGES/KH.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/KH.po +7 -3
- holidays/locale/en_US/LC_MESSAGES/PY.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/PY.po +18 -14
- holidays/locale/es/LC_MESSAGES/PY.mo +0 -0
- holidays/locale/es/LC_MESSAGES/PY.po +17 -13
- holidays/locale/fr/LC_MESSAGES/CH.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/CH.po +1 -1
- holidays/locale/it/LC_MESSAGES/CH.mo +0 -0
- holidays/locale/it/LC_MESSAGES/CH.po +1 -1
- holidays/locale/km/LC_MESSAGES/KH.mo +0 -0
- holidays/locale/km/LC_MESSAGES/KH.po +7 -3
- holidays/locale/ms/LC_MESSAGES/BN.mo +0 -0
- holidays/locale/ms/LC_MESSAGES/BN.po +26 -17
- holidays/locale/pt_BR/LC_MESSAGES/BR.mo +0 -0
- holidays/locale/pt_BR/LC_MESSAGES/BR.po +263 -0
- holidays/locale/pt_BR/LC_MESSAGES/BVMF.mo +0 -0
- holidays/locale/pt_BR/LC_MESSAGES/BVMF.po +79 -0
- holidays/locale/th/LC_MESSAGES/BN.mo +0 -0
- holidays/locale/th/LC_MESSAGES/BN.po +28 -17
- holidays/locale/th/LC_MESSAGES/KH.mo +0 -0
- holidays/locale/th/LC_MESSAGES/KH.po +7 -3
- holidays/locale/uk/LC_MESSAGES/BR.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/BR.po +263 -0
- holidays/locale/uk/LC_MESSAGES/BVMF.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/BVMF.po +79 -0
- holidays/locale/uk/LC_MESSAGES/CH.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/CH.po +1 -1
- holidays/locale/uk/LC_MESSAGES/PY.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/PY.po +18 -14
- holidays/observed_holiday_base.py +2 -1
- holidays/registry.py +2 -0
- holidays/utils.py +1 -1
- holidays/version.py +1 -1
- {holidays-0.60.dist-info → holidays-0.62.dist-info}/AUTHORS +1 -0
- {holidays-0.60.dist-info → holidays-0.62.dist-info}/METADATA +20 -7
- {holidays-0.60.dist-info → holidays-0.62.dist-info}/RECORD +156 -142
- {holidays-0.60.dist-info → holidays-0.62.dist-info}/WHEEL +1 -1
- {holidays-0.60.dist-info → holidays-0.62.dist-info}/LICENSE +0 -0
- {holidays-0.60.dist-info → holidays-0.62.dist-info}/top_level.txt +0 -0
holidays/constants.py
CHANGED
holidays/countries/__init__.py
CHANGED
|
@@ -72,6 +72,7 @@ from .greece import Greece, GR, GRC
|
|
|
72
72
|
from .greenland import Greenland, GL, GRL
|
|
73
73
|
from .guam import Guam, GU, GUM, HolidaysGU
|
|
74
74
|
from .guatemala import Guatemala, GT, GUA
|
|
75
|
+
from .guernsey import Guernsey, GG, GGY
|
|
75
76
|
from .haiti import Haiti, HT, HTI
|
|
76
77
|
from .honduras import Honduras, HN, HND
|
|
77
78
|
from .hongkong import HongKong, HK, HKG
|
holidays/countries/albania.py
CHANGED
|
@@ -43,6 +43,8 @@ class Albania(
|
|
|
43
43
|
# %s (observed, estimated).
|
|
44
44
|
observed_estimated_label = tr("%s (ditë pushimi e shtyrë, e vlerësuar)")
|
|
45
45
|
supported_languages = ("en_US", "sq", "uk")
|
|
46
|
+
# Law No. 7651 from 21.12.1992.
|
|
47
|
+
start_year = 1993
|
|
46
48
|
|
|
47
49
|
def __init__(self, *args, **kwargs):
|
|
48
50
|
ChristianHolidays.__init__(self)
|
|
@@ -53,10 +55,6 @@ class Albania(
|
|
|
53
55
|
super().__init__(*args, **kwargs)
|
|
54
56
|
|
|
55
57
|
def _populate_public_holidays(self):
|
|
56
|
-
# Law No. 7651 from 21.12.1992.
|
|
57
|
-
if self._year <= 1992:
|
|
58
|
-
return None
|
|
59
|
-
|
|
60
58
|
dts_observed = set()
|
|
61
59
|
|
|
62
60
|
# New Year's Day.
|
holidays/countries/angola.py
CHANGED
|
@@ -46,6 +46,8 @@ class Angola(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stat
|
|
|
46
46
|
supported_languages = ("en_US", "pt_AO", "uk")
|
|
47
47
|
# %s (observed).
|
|
48
48
|
observed_label = tr("%s (ponte)")
|
|
49
|
+
# Decree #5/75.
|
|
50
|
+
start_year = 1975
|
|
49
51
|
|
|
50
52
|
def __init__(self, *args, **kwargs):
|
|
51
53
|
ChristianHolidays.__init__(self)
|
|
@@ -68,10 +70,6 @@ class Angola(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stat
|
|
|
68
70
|
return super()._add_observed(dt, **kwargs)
|
|
69
71
|
|
|
70
72
|
def _populate_public_holidays(self):
|
|
71
|
-
# Decree #5/75.
|
|
72
|
-
if self._year <= 1974:
|
|
73
|
-
return None
|
|
74
|
-
|
|
75
73
|
# New Year's Day.
|
|
76
74
|
name = self.tr("Dia do Ano Novo")
|
|
77
75
|
dt = self._add_new_years_day(name)
|
holidays/countries/argentina.py
CHANGED
|
@@ -33,16 +33,31 @@ class Argentina(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
|
|
|
33
33
|
- Based on:
|
|
34
34
|
https://es.wikipedia.org/wiki/Anexo:D%C3%ADas_feriados_en_Argentina
|
|
35
35
|
- [Ley 24455] Belgrano and San Martin Day as third Monday
|
|
36
|
+
https://servicios.infoleg.gob.ar/infolegInternet/anexos/0-4999/782/norma.htm
|
|
36
37
|
- [Ley 27399] - For 2018++
|
|
37
38
|
https://www.argentina.gob.ar/normativa/nacional/ley-27399-281835/texto
|
|
38
39
|
- [Decreto 1585/2010] - 2011-2013 Bridge Holidays, Movable Holidays Law
|
|
40
|
+
https://www.argentina.gob.ar/normativa/nacional/decreto-1585-2010-174391/texto
|
|
39
41
|
- [Decreto 1768/2013] - 2014-2016 Bridge Holidays
|
|
42
|
+
https://www.argentina.gob.ar/normativa/nacional/decreto-1768-2013-222021/texto
|
|
40
43
|
- [Decretos 52-80-923/2017] - 2017-2019 Bridge Holidays
|
|
44
|
+
https://www.argentina.gob.ar/normativa/nacional/decreto-52-2017-271094/texto
|
|
45
|
+
https://www.argentina.gob.ar/normativa/nacional/decreto-80-2017-271382/texto
|
|
46
|
+
https://www.argentina.gob.ar/normativa/nacional/decreto-923-2017-287145
|
|
41
47
|
- [Decreto 717/2019] - 2020 Bridge Holidays
|
|
48
|
+
https://www.argentina.gob.ar/normativa/nacional/decreto-717-2019-330204/texto
|
|
42
49
|
- [Decreto 297/2020] - Veteran Day moved due to Covid-19
|
|
50
|
+
https://www.argentina.gob.ar/normativa/nacional/decreto-297-2020-335741/texto
|
|
43
51
|
- [Decreto 947/2020] - 2021 Bridge Holidays
|
|
52
|
+
https://www.argentina.gob.ar/normativa/nacional/decreto-947-2020-344620/texto
|
|
44
53
|
- [Decreto 789/2021] - 2022 Bridge Holidays
|
|
54
|
+
https://www.argentina.gob.ar/normativa/nacional/decreto-789-2021-356678/texto
|
|
45
55
|
- [Decreto 764/2022] - 2023 Bridge Holidays
|
|
56
|
+
https://www.argentina.gob.ar/normativa/nacional/decreto-764-2022-375264/texto
|
|
57
|
+
- [Decreto 106/2023] - 2024 Bridge Holidays
|
|
58
|
+
https://www.argentina.gob.ar/normativa/nacional/decreto-106-2023-395689/texto
|
|
59
|
+
- [Decreto 1017/2024] - 2025 Bridge Holidays
|
|
60
|
+
https://www.argentina.gob.ar/normativa/nacional/decreto-1027-2024-406417/texto
|
|
46
61
|
- [Always Update Calendar Year Link]
|
|
47
62
|
https://www.argentina.gob.ar/interior/feriados
|
|
48
63
|
http://servicios.lanacion.com.ar/feriados
|
|
@@ -60,7 +75,8 @@ class Argentina(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
|
|
|
60
75
|
https://servicios.lanacion.com.ar/app-mobile/feriados/2016
|
|
61
76
|
https://servicios.lanacion.com.ar/app-mobile/feriados/2015
|
|
62
77
|
|
|
63
|
-
|
|
78
|
+
Movable Holidays Laws:
|
|
79
|
+
|
|
64
80
|
- Decreto 1584/2010: 2010-11-03
|
|
65
81
|
- AUG 17, OCT 12, NOV 20 Holidays will always be on MON
|
|
66
82
|
- Decreto 52/2017: 2017-01-23 (Reconfirmed in Ley 27399)
|
|
@@ -73,6 +89,7 @@ class Argentina(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
|
|
|
73
89
|
supported_languages = ("en_US", "es", "uk")
|
|
74
90
|
# %s (observed).
|
|
75
91
|
observed_label = tr("%s (observado)")
|
|
92
|
+
start_year = 1801
|
|
76
93
|
|
|
77
94
|
def __init__(self, *args, **kwargs):
|
|
78
95
|
ChristianHolidays.__init__(self)
|
|
@@ -345,4 +362,9 @@ class ArgentinaStaticHolidays:
|
|
|
345
362
|
(JUN, 21, arg_bridge_public_holiday),
|
|
346
363
|
(OCT, 11, arg_bridge_public_holiday),
|
|
347
364
|
),
|
|
365
|
+
2025: (
|
|
366
|
+
(MAY, 2, arg_bridge_public_holiday),
|
|
367
|
+
(AUG, 15, arg_bridge_public_holiday),
|
|
368
|
+
(NOV, 21, arg_bridge_public_holiday),
|
|
369
|
+
),
|
|
348
370
|
}
|
holidays/countries/armenia.py
CHANGED
|
@@ -30,6 +30,7 @@ class Armenia(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
30
30
|
country = "AM"
|
|
31
31
|
default_language = "hy"
|
|
32
32
|
supported_languages = ("en_US", "hy")
|
|
33
|
+
start_year = 1991
|
|
33
34
|
|
|
34
35
|
def __init__(self, *args, **kwargs):
|
|
35
36
|
ChristianHolidays.__init__(self, JULIAN_CALENDAR)
|
|
@@ -37,9 +38,6 @@ class Armenia(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
37
38
|
super().__init__(*args, **kwargs)
|
|
38
39
|
|
|
39
40
|
def _populate_public_holidays(self):
|
|
40
|
-
if self._year <= 1990:
|
|
41
|
-
return None
|
|
42
|
-
|
|
43
41
|
# New Year's Day.
|
|
44
42
|
name = tr("Նոր տարվա օր")
|
|
45
43
|
self._add_new_years_day(name)
|
holidays/countries/aruba.py
CHANGED
|
@@ -32,6 +32,8 @@ class Aruba(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
32
32
|
country = "AW"
|
|
33
33
|
default_language = "pap_AW"
|
|
34
34
|
supported_languages = ("en_US", "nl", "pap_AW", "uk")
|
|
35
|
+
# AUG 1947: Autonomous State status in the Kingdom of the Netherlands.
|
|
36
|
+
start_year = 1947
|
|
35
37
|
|
|
36
38
|
def __init__(self, *args, **kwargs):
|
|
37
39
|
ChristianHolidays.__init__(self)
|
|
@@ -39,10 +41,6 @@ class Aruba(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
39
41
|
super().__init__(*args, **kwargs)
|
|
40
42
|
|
|
41
43
|
def _populate_public_holidays(self):
|
|
42
|
-
# AUG 1947: Autonomous State status in the Kingdom of the Netherlands.
|
|
43
|
-
if self._year <= 1946:
|
|
44
|
-
return None
|
|
45
|
-
|
|
46
44
|
# Aña Nobo.
|
|
47
45
|
# Status: In-Use.
|
|
48
46
|
|
holidays/countries/australia.py
CHANGED
holidays/countries/azerbaijan.py
CHANGED
|
@@ -25,9 +25,12 @@ from holidays.observed_holiday_base import (
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class Azerbaijan(ObservedHolidayBase, InternationalHolidays, IslamicHolidays, StaticHolidays):
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
"""
|
|
29
|
+
References:
|
|
30
|
+
- https://en.wikipedia.org/wiki/Public_holidays_in_Azerbaijan
|
|
31
|
+
- https://az.wikipedia.org/wiki/Az%C9%99rbaycan%C4%B1n_d%C3%B6vl%C9%99t_bayramlar%C4%B1_v%C9%99_x%C3%BCsusi_g%C3%BCnl%C9%99ri
|
|
32
|
+
- https://www.sosial.gov.az/en/prod-calendar
|
|
33
|
+
"""
|
|
31
34
|
|
|
32
35
|
country = "AZ"
|
|
33
36
|
default_language = "az"
|
|
@@ -39,6 +42,7 @@ class Azerbaijan(ObservedHolidayBase, InternationalHolidays, IslamicHolidays, St
|
|
|
39
42
|
observed_estimated_label = tr("%s (müşahidə olunur, təxmini)")
|
|
40
43
|
supported_categories = (PUBLIC, WORKDAY)
|
|
41
44
|
supported_languages = ("az", "en_US", "uk")
|
|
45
|
+
start_year = 1990
|
|
42
46
|
|
|
43
47
|
def __init__(self, *args, **kwargs):
|
|
44
48
|
InternationalHolidays.__init__(self)
|
|
@@ -49,9 +53,6 @@ class Azerbaijan(ObservedHolidayBase, InternationalHolidays, IslamicHolidays, St
|
|
|
49
53
|
super().__init__(*args, **kwargs)
|
|
50
54
|
|
|
51
55
|
def _populate_public_holidays(self):
|
|
52
|
-
if self._year <= 1989:
|
|
53
|
-
return None
|
|
54
|
-
|
|
55
56
|
dts_observed = set()
|
|
56
57
|
dts_non_observed = set()
|
|
57
58
|
dts_bairami = set()
|
|
@@ -246,6 +247,21 @@ class AzerbaijanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
246
247
|
|
|
247
248
|
|
|
248
249
|
class AzerbaijanStaticHolidays:
|
|
250
|
+
"""
|
|
251
|
+
Substituted holidays references:
|
|
252
|
+
- https://nk.gov.az/az/senedler/qerarlar/is-va-istirahat-gunlarinin-yerlarinin-dayisdirilmasi-haqqinda-5423
|
|
253
|
+
- https://nk.gov.az/az/senedler/qerarlar/is-va-istirahat-gunlarinin-yerlarinin--dayisdirilmasi-haqqinda-5982
|
|
254
|
+
- https://nk.gov.az/az/senedler/qerarlar/is-va-istirahat-gunlarinin-yerlarinin-dayisdirilmasi-haqqinda-6488
|
|
255
|
+
- https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-7047
|
|
256
|
+
- https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-7466
|
|
257
|
+
- https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-7576
|
|
258
|
+
- https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-7843
|
|
259
|
+
- https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-8332
|
|
260
|
+
- https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-8449
|
|
261
|
+
Special holidays references:
|
|
262
|
+
- https://www.msk.gov.az/en/elections/pages/municipal-elections/belediyye-29-01-2025
|
|
263
|
+
"""
|
|
264
|
+
|
|
249
265
|
eid_al_adha = tr("Qurban bayrami")
|
|
250
266
|
# Substituted date format.
|
|
251
267
|
substituted_date_format = tr("%d.%m.%Y")
|
|
@@ -255,6 +271,9 @@ class AzerbaijanStaticHolidays:
|
|
|
255
271
|
# Presidential elections.
|
|
256
272
|
presidential_elections = tr("Prezidenti seçkiləri")
|
|
257
273
|
|
|
274
|
+
# Municipal elections.
|
|
275
|
+
municipal_elections = tr("Bələdiyyə seçkiləri")
|
|
276
|
+
|
|
258
277
|
special_public_holidays = {
|
|
259
278
|
2011: (AUG, 29, AUG, 27),
|
|
260
279
|
2013: (
|
|
@@ -266,8 +285,7 @@ class AzerbaijanStaticHolidays:
|
|
|
266
285
|
(JAN, 6, DEC, 29, 2013),
|
|
267
286
|
),
|
|
268
287
|
2018: (APR, 11, presidential_elections),
|
|
269
|
-
|
|
270
|
-
2019: (DEC, 27, tr("Bələdiyyə seçkiləri")),
|
|
288
|
+
2019: (DEC, 27, municipal_elections),
|
|
271
289
|
2020: (
|
|
272
290
|
(MAR, 27, MAR, 29),
|
|
273
291
|
(MAY, 27, MAY, 30),
|
|
@@ -295,6 +313,11 @@ class AzerbaijanStaticHolidays:
|
|
|
295
313
|
(APR, 12, APR, 6),
|
|
296
314
|
(NOV, 12, NOV, 16),
|
|
297
315
|
(NOV, 13, NOV, 23),
|
|
316
|
+
(DEC, 30, DEC, 28),
|
|
317
|
+
),
|
|
318
|
+
2025: (
|
|
319
|
+
(JAN, 3, DEC, 29, 2024),
|
|
320
|
+
(JAN, 29, municipal_elections),
|
|
298
321
|
),
|
|
299
322
|
}
|
|
300
323
|
|
holidays/countries/bahamas.py
CHANGED
|
@@ -39,6 +39,8 @@ class Bahamas(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Sta
|
|
|
39
39
|
|
|
40
40
|
country = "BS"
|
|
41
41
|
observed_label = "%s (observed)"
|
|
42
|
+
# Gained Independence on Jul 10, 1973.
|
|
43
|
+
start_year = 1974
|
|
42
44
|
|
|
43
45
|
def __init__(self, *args, **kwargs):
|
|
44
46
|
ChristianHolidays.__init__(self)
|
|
@@ -48,10 +50,6 @@ class Bahamas(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Sta
|
|
|
48
50
|
super().__init__(*args, **kwargs)
|
|
49
51
|
|
|
50
52
|
def _populate_public_holidays(self):
|
|
51
|
-
# Gained Independence on Jul 10, 1973.
|
|
52
|
-
if self._year <= 1973:
|
|
53
|
-
return None
|
|
54
|
-
|
|
55
53
|
# New Year's Day.
|
|
56
54
|
# Pre-2012 Observance:
|
|
57
55
|
# - If TUE, New Year's Day (observed) prev MON.
|
holidays/countries/barbados.py
CHANGED
|
@@ -33,6 +33,8 @@ class Barbados(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, St
|
|
|
33
33
|
|
|
34
34
|
country = "BB"
|
|
35
35
|
observed_label = "%s (observed)"
|
|
36
|
+
# Public Holidays Act Cap.352, 1968-12-30
|
|
37
|
+
start_year = 1969
|
|
36
38
|
|
|
37
39
|
def __init__(self, *args, **kwargs):
|
|
38
40
|
ChristianHolidays.__init__(self)
|
|
@@ -42,10 +44,6 @@ class Barbados(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, St
|
|
|
42
44
|
super().__init__(*args, **kwargs)
|
|
43
45
|
|
|
44
46
|
def _populate_public_holidays(self):
|
|
45
|
-
# Public Holidays Act Cap.352, 1968-12-30
|
|
46
|
-
if self._year <= 1968:
|
|
47
|
-
return None
|
|
48
|
-
|
|
49
47
|
# New Year's Day
|
|
50
48
|
self._add_observed(self._add_new_years_day("New Year's Day"))
|
|
51
49
|
|
holidays/countries/belarus.py
CHANGED
|
@@ -33,6 +33,8 @@ class Belarus(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolid
|
|
|
33
33
|
country = "BY"
|
|
34
34
|
default_language = "be"
|
|
35
35
|
supported_languages = ("be", "en_US")
|
|
36
|
+
# The current set of holidays actual from 1998.
|
|
37
|
+
start_year = 1998
|
|
36
38
|
|
|
37
39
|
def __init__(self, *args, **kwargs):
|
|
38
40
|
ChristianHolidays.__init__(self, JULIAN_CALENDAR)
|
|
@@ -41,10 +43,6 @@ class Belarus(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolid
|
|
|
41
43
|
super().__init__(*args, **kwargs)
|
|
42
44
|
|
|
43
45
|
def _populate_public_holidays(self):
|
|
44
|
-
# The current set of holidays actual from 1998.
|
|
45
|
-
if self._year <= 1997:
|
|
46
|
-
return None
|
|
47
|
-
|
|
48
46
|
# New Year's Day.
|
|
49
47
|
self._add_new_years_day(tr("Новы год"))
|
|
50
48
|
|
holidays/countries/belize.py
CHANGED
|
@@ -30,6 +30,8 @@ class Belize(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
30
30
|
|
|
31
31
|
country = "BZ"
|
|
32
32
|
observed_label = "%s (observed)"
|
|
33
|
+
# Belize was granted independence on 21.09.1981.
|
|
34
|
+
start_year = 1982
|
|
33
35
|
|
|
34
36
|
def __init__(self, *args, **kwargs):
|
|
35
37
|
ChristianHolidays.__init__(self)
|
|
@@ -42,10 +44,6 @@ class Belize(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
42
44
|
super().__init__(*args, **kwargs)
|
|
43
45
|
|
|
44
46
|
def _populate_public_holidays(self):
|
|
45
|
-
# Belize was granted independence on 21.09.1981.
|
|
46
|
-
if self._year <= 1981:
|
|
47
|
-
return None
|
|
48
|
-
|
|
49
47
|
# New Year's Day.
|
|
50
48
|
self._move_holiday(self._add_new_years_day("New Year's Day"))
|
|
51
49
|
|
holidays/countries/bolivia.py
CHANGED
|
@@ -51,6 +51,7 @@ class Bolivia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
51
51
|
"S", # Santa Cruz
|
|
52
52
|
"T", # Tarija
|
|
53
53
|
)
|
|
54
|
+
start_year = 1825
|
|
54
55
|
|
|
55
56
|
def __init__(self, *args, **kwargs):
|
|
56
57
|
ChristianHolidays.__init__(self)
|
|
@@ -61,9 +62,6 @@ class Bolivia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
61
62
|
super().__init__(*args, **kwargs)
|
|
62
63
|
|
|
63
64
|
def _populate_public_holidays(self):
|
|
64
|
-
if self._year <= 1824:
|
|
65
|
-
return None
|
|
66
|
-
|
|
67
65
|
# New Year's Day.
|
|
68
66
|
self._add_observed(self._add_new_years_day(tr("Año Nuevo")))
|
|
69
67
|
|
holidays/countries/botswana.py
CHANGED
|
@@ -30,6 +30,7 @@ class Botswana(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, St
|
|
|
30
30
|
|
|
31
31
|
country = "BW"
|
|
32
32
|
observed_label = "%s (observed)"
|
|
33
|
+
start_year = 1966
|
|
33
34
|
|
|
34
35
|
def __init__(self, *args, **kwargs):
|
|
35
36
|
ChristianHolidays.__init__(self)
|
|
@@ -40,9 +41,6 @@ class Botswana(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, St
|
|
|
40
41
|
super().__init__(*args, **kwargs)
|
|
41
42
|
|
|
42
43
|
def _populate_public_holidays(self):
|
|
43
|
-
if self._year <= 1965:
|
|
44
|
-
return None
|
|
45
|
-
|
|
46
44
|
self._add_observed(self._add_new_years_day("New Year's Day"), rule=SUN_TO_NEXT_TUE)
|
|
47
45
|
self._add_observed(self._add_new_years_day_two("New Year's Day Holiday"))
|
|
48
46
|
|