holidays 0.73__py3-none-any.whl → 0.75__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/calendars/__init__.py +1 -1
- holidays/calendars/balinese_saka.py +1 -1
- holidays/calendars/hindu.py +26 -26
- holidays/calendars/islamic.py +161 -0
- holidays/calendars/thai.py +2 -2
- holidays/constants.py +9 -2
- holidays/countries/__init__.py +202 -176
- holidays/countries/afghanistan.py +2 -2
- holidays/countries/aland_islands.py +63 -0
- holidays/countries/albania.py +3 -3
- holidays/countries/algeria.py +3 -3
- holidays/countries/andorra.py +1 -1
- holidays/countries/angola.py +11 -11
- holidays/countries/anguilla.py +175 -0
- holidays/countries/antigua_and_barbuda.py +10 -10
- holidays/countries/argentina.py +107 -104
- holidays/countries/armenia.py +2 -2
- holidays/countries/aruba.py +7 -7
- holidays/countries/australia.py +18 -18
- holidays/countries/azerbaijan.py +14 -14
- holidays/countries/bahamas.py +9 -9
- holidays/countries/bahrain.py +3 -3
- holidays/countries/bangladesh.py +1 -1
- holidays/countries/barbados.py +7 -7
- holidays/countries/belarus.py +9 -9
- holidays/countries/belgium.py +3 -3
- holidays/countries/belize.py +3 -3
- holidays/countries/benin.py +199 -0
- holidays/countries/bermuda.py +152 -0
- holidays/countries/bolivia.py +8 -8
- holidays/countries/bosnia_and_herzegovina.py +4 -4
- holidays/countries/botswana.py +4 -4
- holidays/countries/brazil.py +4 -4
- holidays/countries/british_virgin_islands.py +205 -0
- holidays/countries/brunei.py +43 -43
- holidays/countries/bulgaria.py +3 -3
- holidays/countries/burkina_faso.py +1 -1
- holidays/countries/burundi.py +2 -2
- holidays/countries/cambodia.py +6 -6
- holidays/countries/cameroon.py +3 -3
- holidays/countries/canada.py +9 -9
- holidays/countries/chad.py +2 -2
- holidays/countries/chile.py +8 -8
- holidays/countries/china.py +31 -31
- holidays/countries/cocos_islands.py +6 -6
- holidays/countries/colombia.py +7 -7
- holidays/countries/congo.py +2 -2
- holidays/countries/cook_islands.py +148 -0
- holidays/countries/costa_rica.py +1 -1
- holidays/countries/croatia.py +1 -1
- holidays/countries/cuba.py +9 -9
- holidays/countries/curacao.py +2 -2
- holidays/countries/cyprus.py +1 -1
- holidays/countries/czechia.py +3 -3
- holidays/countries/denmark.py +2 -2
- holidays/countries/djibouti.py +1 -1
- holidays/countries/dominica.py +11 -11
- holidays/countries/dominican_republic.py +2 -2
- holidays/countries/ecuador.py +1 -1
- holidays/countries/egypt.py +1 -1
- holidays/countries/el_salvador.py +3 -3
- holidays/countries/equatorial_guinea.py +150 -0
- holidays/countries/eswatini.py +3 -3
- holidays/countries/ethiopia.py +6 -6
- holidays/countries/fiji.py +12 -12
- holidays/countries/finland.py +200 -36
- holidays/countries/france.py +1 -1
- holidays/countries/french_southern_territories.py +1 -5
- holidays/countries/gabon.py +4 -4
- holidays/countries/georgia.py +2 -2
- holidays/countries/germany.py +3 -3
- holidays/countries/ghana.py +2 -2
- holidays/countries/greece.py +1 -1
- holidays/countries/greenland.py +2 -2
- holidays/countries/grenada.py +1 -1
- holidays/countries/guatemala.py +4 -4
- holidays/countries/guernsey.py +31 -31
- holidays/countries/guinea.py +6 -6
- holidays/countries/guyana.py +279 -0
- holidays/countries/haiti.py +3 -3
- holidays/countries/honduras.py +2 -2
- holidays/countries/hongkong.py +4 -4
- holidays/countries/hungary.py +98 -16
- holidays/countries/iceland.py +1 -1
- holidays/countries/india.py +8 -8
- holidays/countries/indonesia.py +46 -46
- holidays/countries/iran.py +2 -2
- holidays/countries/ireland.py +1 -1
- holidays/countries/italy.py +1 -1
- holidays/countries/ivory_coast.py +6 -6
- holidays/countries/jamaica.py +1 -1
- holidays/countries/japan.py +1 -1
- holidays/countries/jersey.py +23 -23
- holidays/countries/jordan.py +3 -3
- holidays/countries/kazakhstan.py +45 -45
- holidays/countries/kenya.py +13 -13
- holidays/countries/kuwait.py +4 -4
- holidays/countries/kyrgyzstan.py +1 -1
- holidays/countries/laos.py +7 -7
- holidays/countries/latvia.py +2 -2
- holidays/countries/lesotho.py +2 -2
- holidays/countries/liechtenstein.py +1 -1
- holidays/countries/lithuania.py +1 -1
- holidays/countries/macau.py +19 -19
- holidays/countries/madagascar.py +2 -2
- holidays/countries/malawi.py +2 -2
- holidays/countries/malaysia.py +6 -6
- holidays/countries/maldives.py +3 -3
- holidays/countries/malta.py +6 -6
- holidays/countries/marshall_islands.py +2 -2
- holidays/countries/mauritania.py +2 -2
- holidays/countries/mexico.py +4 -4
- holidays/countries/micronesia.py +205 -0
- holidays/countries/monaco.py +1 -1
- holidays/countries/montenegro.py +3 -3
- holidays/countries/morocco.py +4 -4
- holidays/countries/namibia.py +85 -26
- holidays/countries/nauru.py +129 -0
- holidays/countries/nepal.py +16 -16
- holidays/countries/netherlands.py +1 -1
- holidays/countries/new_zealand.py +2 -2
- holidays/countries/nicaragua.py +2 -2
- holidays/countries/niger.py +320 -0
- holidays/countries/nigeria.py +1 -1
- holidays/countries/north_macedonia.py +268 -16
- holidays/countries/norway.py +38 -5
- holidays/countries/oman.py +12 -12
- holidays/countries/pakistan.py +7 -7
- holidays/countries/palau.py +7 -7
- holidays/countries/panama.py +5 -5
- holidays/countries/papua_new_guinea.py +15 -15
- holidays/countries/paraguay.py +7 -7
- holidays/countries/peru.py +1 -1
- holidays/countries/philippines.py +18 -18
- holidays/countries/poland.py +1 -1
- holidays/countries/portugal.py +5 -5
- holidays/countries/qatar.py +7 -7
- holidays/countries/romania.py +1 -1
- holidays/countries/russia.py +28 -28
- holidays/countries/saint_kitts_and_nevis.py +16 -16
- holidays/countries/saint_lucia.py +3 -3
- holidays/countries/samoa.py +3 -3
- holidays/countries/sao_tome_and_principe.py +2 -2
- holidays/countries/saudi_arabia.py +3 -3
- holidays/countries/senegal.py +193 -0
- holidays/countries/seychelles.py +15 -15
- holidays/countries/sierra_leone.py +5 -5
- holidays/countries/singapore.py +12 -8
- holidays/countries/slovakia.py +1 -1
- holidays/countries/slovenia.py +3 -3
- holidays/countries/solomon_islands.py +220 -0
- holidays/countries/south_africa.py +4 -4
- holidays/countries/south_korea.py +7 -7
- holidays/countries/spain.py +18 -18
- holidays/countries/sri_lanka.py +26 -26
- holidays/countries/suriname.py +5 -5
- holidays/countries/svalbard_and_jan_mayen.py +47 -0
- holidays/countries/sweden.py +2 -2
- holidays/countries/switzerland.py +1 -1
- holidays/countries/taiwan.py +41 -41
- holidays/countries/tanzania.py +15 -15
- holidays/countries/thailand.py +85 -85
- holidays/countries/timor_leste.py +106 -104
- holidays/countries/togo.py +3 -3
- holidays/countries/tonga.py +16 -16
- holidays/countries/trinidad_and_tobago.py +4 -4
- holidays/countries/tunisia.py +1 -1
- holidays/countries/turkey.py +4 -4
- holidays/countries/turks_and_caicos_islands.py +134 -0
- holidays/countries/tuvalu.py +7 -7
- holidays/countries/ukraine.py +51 -51
- holidays/countries/united_arab_emirates.py +22 -22
- holidays/countries/united_kingdom.py +2 -2
- holidays/countries/united_states.py +39 -39
- holidays/countries/uruguay.py +6 -6
- holidays/countries/uzbekistan.py +3 -3
- holidays/countries/vanuatu.py +2 -2
- holidays/countries/vatican_city.py +11 -11
- holidays/countries/venezuela.py +8 -8
- holidays/countries/vietnam.py +7 -7
- holidays/countries/yemen.py +207 -0
- holidays/countries/zambia.py +3 -3
- holidays/deprecations/v1_incompatibility.py +1 -1
- holidays/financial/__init__.py +5 -5
- holidays/financial/brasil_bolsa_balcao.py +9 -9
- holidays/financial/european_central_bank.py +3 -3
- holidays/financial/ice_futures_europe.py +2 -2
- holidays/financial/ny_stock_exchange.py +4 -5
- holidays/groups/__init__.py +1 -1
- holidays/groups/chinese.py +3 -3
- holidays/groups/christian.py +4 -4
- holidays/groups/international.py +9 -9
- holidays/groups/islamic.py +16 -6
- holidays/groups/sinhala.py +12 -12
- holidays/groups/thai.py +3 -3
- holidays/locale/ar/LC_MESSAGES/YE.mo +0 -0
- holidays/locale/en_AI/LC_MESSAGES/AI.mo +0 -0
- holidays/locale/en_BM/LC_MESSAGES/BM.mo +0 -0
- holidays/locale/en_CK/LC_MESSAGES/CK.mo +0 -0
- holidays/locale/en_FM/LC_MESSAGES/FM.mo +0 -0
- holidays/locale/en_GY/LC_MESSAGES/GY.mo +0 -0
- holidays/locale/en_NA/LC_MESSAGES/NA.mo +0 -0
- holidays/locale/en_NR/LC_MESSAGES/NR.mo +0 -0
- holidays/locale/en_TC/LC_MESSAGES/TC.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/AI.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/BJ.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/BM.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/FM.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GQ.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GY.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/MK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/NA.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/NE.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/NR.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/SJ.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/SN.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TC.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TH.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/VG.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/YE.mo +0 -0
- holidays/locale/en_VG/LC_MESSAGES/VG.mo +0 -0
- holidays/locale/es/LC_MESSAGES/GQ.mo +0 -0
- holidays/locale/fi/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/fi/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/fr_BJ/LC_MESSAGES/BJ.mo +0 -0
- holidays/locale/fr_NE/LC_MESSAGES/NE.mo +0 -0
- holidays/locale/fr_SN/LC_MESSAGES/SN.mo +0 -0
- holidays/locale/mk/LC_MESSAGES/MK.mo +0 -0
- holidays/locale/no/LC_MESSAGES/SJ.mo +0 -0
- holidays/locale/sv_FI/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/sv_FI/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/th/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/th/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/th/LC_MESSAGES/SJ.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/MK.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/NA.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/SJ.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/TH.mo +0 -0
- holidays/registry.py +16 -0
- holidays/version.py +1 -1
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/METADATA +121 -10
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/RECORD +251 -192
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/WHEEL +1 -1
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/licenses/CONTRIBUTORS +5 -0
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/licenses/LICENSE +0 -0
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/top_level.txt +0 -0
holidays/countries/brazil.py
CHANGED
|
@@ -24,10 +24,10 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
24
24
|
|
|
25
25
|
References:
|
|
26
26
|
* <https://pt.wikipedia.org/wiki/Feriados_no_Brasil>
|
|
27
|
-
* [Decreto n. 155-B, de 14.01.1890](https://www2.camara.leg.br/legin/fed/decret/1824-1899/decreto-155-b-14-janeiro-1890-517534-publicacaooriginal-1-pe.html)
|
|
28
|
-
* [Decreto n. 19.488, de 15.12.1930](https://
|
|
29
|
-
* [Lei n. 662, de 6.04.1949](https://www2.camara.leg.br/legin/fed/lei/1940-1949/lei-662-6-abril-1949-347136-publicacaooriginal-1-pl.html)
|
|
30
|
-
* [Lei n. 14.759, de 21.12.2023](https://www2.camara.leg.br/legin/fed/lei/2023/lei-14759-21-dezembro-2023-795091-publicacaooriginal-170522-pl.html)
|
|
27
|
+
* [Decreto n. 155-B, de 14.01.1890](https://web.archive.org/web/20241226133739/https://www2.camara.leg.br/legin/fed/decret/1824-1899/decreto-155-b-14-janeiro-1890-517534-publicacaooriginal-1-pe.html)
|
|
28
|
+
* [Decreto n. 19.488, de 15.12.1930](https://web.archive.org/web/20241006041503/http://camara.leg.br/legin/fed/decret/1930-1939/decreto-19488-15-dezembro-1930-508040-republicacao-85201-pe.html)
|
|
29
|
+
* [Lei n. 662, de 6.04.1949](https://web.archive.org/web/20240913060643/https://www2.camara.leg.br/legin/fed/lei/1940-1949/lei-662-6-abril-1949-347136-publicacaooriginal-1-pl.html)
|
|
30
|
+
* [Lei n. 14.759, de 21.12.2023](https://web.archive.org/web/20250402234552/https://www2.camara.leg.br/legin/fed/lei/2023/lei-14759-21-dezembro-2023-795091-publicacaooriginal-170522-pl.html)
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
33
|
country = "BR"
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
|
+
# A fast, efficient Python library for generating country, province and state
|
|
4
|
+
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
|
+
# specific date is a holiday as fast and flexible as possible.
|
|
6
|
+
#
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
|
+
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
|
+
# Website: https://github.com/vacanza/holidays
|
|
11
|
+
# License: MIT (see LICENSE file)
|
|
12
|
+
|
|
13
|
+
from gettext import gettext as tr
|
|
14
|
+
|
|
15
|
+
from holidays.calendars.gregorian import MAY, JUN, OCT, DEC
|
|
16
|
+
from holidays.groups import ChristianHolidays, InternationalHolidays, StaticHolidays
|
|
17
|
+
from holidays.observed_holiday_base import (
|
|
18
|
+
ObservedHolidayBase,
|
|
19
|
+
SAT_TO_PREV_FRI,
|
|
20
|
+
SUN_TO_NEXT_MON,
|
|
21
|
+
SAT_SUN_TO_NEXT_MON,
|
|
22
|
+
SAT_SUN_TO_NEXT_MON_TUE,
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class BritishVirginIslands(
|
|
27
|
+
ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays
|
|
28
|
+
):
|
|
29
|
+
"""British Virgin Islands holidays.
|
|
30
|
+
|
|
31
|
+
References:
|
|
32
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_the_British_Virgin_Islands>
|
|
33
|
+
* [Public Holidays (Amendment) Act, 2021](https://web.archive.org/web/20250522154946/https://laws.gov.vg/Laws/public-holidays-amendment-act-2021)
|
|
34
|
+
* <https://web.archive.org/web/20250401075439/https://www.timeanddate.com/holidays/british-virgin-islands/>
|
|
35
|
+
* [2015](https://web.archive.org/web/20250317055722/https://www.bvi.gov.vg/media-centre/2015-public-holidays)
|
|
36
|
+
* [2016](https://web.archive.org/web/20250323113905/https://www.bvi.gov.vg/media-centre/2016-public-holidays)
|
|
37
|
+
* [2017](https://web.archive.org/web/20250515155409/https://bvi.gov.vg/media-centre/2017-public-holidays)
|
|
38
|
+
* [2018](https://web.archive.org/web/20250318095807/https://www.bvi.gov.vg/media-centre/2018-public-holidays)
|
|
39
|
+
* [2019](https://web.archive.org/web/20250315162108/https://www.bvi.gov.vg/media-centre/2019-public-holidays)
|
|
40
|
+
* [2020](https://web.archive.org/web/20250111172241/https://www.bvi.gov.vg/media-centre/2020-public-holidays)
|
|
41
|
+
* [2021](https://web.archive.org/web/20250417222246/http://www.bvi.gov.vg/media-centre/2021-public-holidays-revised)
|
|
42
|
+
* [2022](https://web.archive.org/web/20250420005523/https://www.bvi.gov.vg/media-centre/revised-2022-public-holidays)
|
|
43
|
+
* [2023](https://web.archive.org/web/20250111170511/https://bvi.gov.vg/media-centre/updatedofficialholidays20231)
|
|
44
|
+
* [2024](https://web.archive.org/web/20250502194703/https://www.bvi.gov.vg/media-centre/cabinet-approves-2024-public-holidays)
|
|
45
|
+
* [2025](https://web.archive.org/web/20250124122752/https://bvi.gov.vg/media-centre/cabinet-approves-2025-holidays)
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
country = "VG"
|
|
49
|
+
default_language = "en_VG"
|
|
50
|
+
# %s (observed).
|
|
51
|
+
observed_label = tr("%s (observed)")
|
|
52
|
+
supported_languages = ("en_US", "en_VG")
|
|
53
|
+
start_year = 1967
|
|
54
|
+
|
|
55
|
+
def __init__(self, *args, **kwargs):
|
|
56
|
+
ChristianHolidays.__init__(self)
|
|
57
|
+
InternationalHolidays.__init__(self)
|
|
58
|
+
StaticHolidays.__init__(self, BritishVirginIslandsStaticHolidays)
|
|
59
|
+
kwargs.setdefault("observed_rule", SAT_SUN_TO_NEXT_MON)
|
|
60
|
+
kwargs.setdefault("observed_since", 2000)
|
|
61
|
+
super().__init__(*args, **kwargs)
|
|
62
|
+
|
|
63
|
+
def _populate_public_holidays(self):
|
|
64
|
+
# New Year's Day.
|
|
65
|
+
self._add_observed(self._add_new_years_day(tr("New Year's Day")))
|
|
66
|
+
|
|
67
|
+
self._add_holiday_1st_mon_before_mar_7(
|
|
68
|
+
# Lavity Stoutt's Birthday.
|
|
69
|
+
tr("The Anniversary of the Birth of Hamilton Lavity Stoutt")
|
|
70
|
+
)
|
|
71
|
+
|
|
72
|
+
if self._year <= 2020:
|
|
73
|
+
# Commonwealth Day.
|
|
74
|
+
self._add_holiday_2nd_mon_of_mar(tr("Commonwealth Day"))
|
|
75
|
+
|
|
76
|
+
# Good Friday.
|
|
77
|
+
self._add_good_friday(tr("Good Friday"))
|
|
78
|
+
|
|
79
|
+
# Easter Monday.
|
|
80
|
+
self._add_easter_monday(tr("Easter Monday"))
|
|
81
|
+
|
|
82
|
+
# Whit Monday.
|
|
83
|
+
self._add_whit_monday(tr("Whit Monday"))
|
|
84
|
+
|
|
85
|
+
# Sovereign's Birthday.
|
|
86
|
+
name = tr("Sovereign's Birthday")
|
|
87
|
+
if self._year >= 2019:
|
|
88
|
+
sovereign_birthday_dates = {
|
|
89
|
+
2019: (JUN, 7),
|
|
90
|
+
2023: (JUN, 16),
|
|
91
|
+
}
|
|
92
|
+
if self._year in sovereign_birthday_dates:
|
|
93
|
+
self._add_holiday(name, sovereign_birthday_dates[self._year])
|
|
94
|
+
else:
|
|
95
|
+
self._add_holiday_2nd_fri_of_jun(name)
|
|
96
|
+
else:
|
|
97
|
+
self._add_holiday_2nd_sat_of_jun(name)
|
|
98
|
+
|
|
99
|
+
name = (
|
|
100
|
+
# Virgin Islands Day.
|
|
101
|
+
tr("Virgin Islands Day")
|
|
102
|
+
if self._year >= 2021
|
|
103
|
+
# Territory Day.
|
|
104
|
+
else tr("Territory Day")
|
|
105
|
+
if self._year >= 1978
|
|
106
|
+
# Colony Day.
|
|
107
|
+
else tr("Colony Day")
|
|
108
|
+
)
|
|
109
|
+
territory_day_dates = {
|
|
110
|
+
2015: (JUN, 29),
|
|
111
|
+
2020: (JUN, 29),
|
|
112
|
+
}
|
|
113
|
+
if self._year in territory_day_dates:
|
|
114
|
+
self._add_holiday(name, territory_day_dates[self._year])
|
|
115
|
+
else:
|
|
116
|
+
if self._year >= 2021:
|
|
117
|
+
self._add_holiday_1st_mon_of_jul(name)
|
|
118
|
+
else:
|
|
119
|
+
self._add_observed(
|
|
120
|
+
self._add_holiday_jul_1(name), rule=SAT_TO_PREV_FRI + SUN_TO_NEXT_MON
|
|
121
|
+
)
|
|
122
|
+
|
|
123
|
+
self._add_holiday_1st_mon_of_aug(
|
|
124
|
+
# Emancipation Monday.
|
|
125
|
+
tr("Emancipation Monday")
|
|
126
|
+
if self._year >= 2021
|
|
127
|
+
# Festival Monday.
|
|
128
|
+
else tr("Festival Monday")
|
|
129
|
+
)
|
|
130
|
+
|
|
131
|
+
self._add_holiday_1_day_past_1st_mon_of_aug(
|
|
132
|
+
# Emancipation Tuesday.
|
|
133
|
+
tr("Emancipation Tuesday")
|
|
134
|
+
if self._year >= 2021
|
|
135
|
+
# Festival Tuesday.
|
|
136
|
+
else tr("Festival Tuesday")
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
self._add_holiday_2_days_past_1st_mon_of_aug(
|
|
140
|
+
# Emancipation Wednesday.
|
|
141
|
+
tr("Emancipation Wednesday")
|
|
142
|
+
if self._year >= 2021
|
|
143
|
+
# Festival Wednesday.
|
|
144
|
+
else tr("Festival Wednesday")
|
|
145
|
+
)
|
|
146
|
+
|
|
147
|
+
if self._year <= 2020:
|
|
148
|
+
# Saint Ursula's Day.
|
|
149
|
+
name = tr("Saint Ursula's Day")
|
|
150
|
+
saint_ursula_dates = {
|
|
151
|
+
2015: (OCT, 19),
|
|
152
|
+
2020: (OCT, 23),
|
|
153
|
+
}
|
|
154
|
+
if self._year in saint_ursula_dates:
|
|
155
|
+
self._add_holiday(name, saint_ursula_dates[self._year])
|
|
156
|
+
else:
|
|
157
|
+
self._add_observed(
|
|
158
|
+
self._add_holiday_oct_21(name), rule=SAT_TO_PREV_FRI + SUN_TO_NEXT_MON
|
|
159
|
+
)
|
|
160
|
+
|
|
161
|
+
if self._year >= 2021:
|
|
162
|
+
# Heroes and Foreparents Day.
|
|
163
|
+
self._add_holiday_3rd_mon_of_oct(tr("Heroes and Foreparents Day"))
|
|
164
|
+
|
|
165
|
+
# The Great March of 1949 and Restoration Day.
|
|
166
|
+
self._add_holiday_4th_mon_of_nov(tr("The Great March of 1949 and Restoration Day"))
|
|
167
|
+
|
|
168
|
+
self._add_observed(
|
|
169
|
+
# Christmas Day.
|
|
170
|
+
self._add_christmas_day(tr("Christmas Day")),
|
|
171
|
+
rule=SAT_SUN_TO_NEXT_MON_TUE,
|
|
172
|
+
)
|
|
173
|
+
|
|
174
|
+
self._add_observed(
|
|
175
|
+
# Boxing Day.
|
|
176
|
+
self._add_christmas_day_two(tr("Boxing Day")),
|
|
177
|
+
rule=SAT_SUN_TO_NEXT_MON_TUE,
|
|
178
|
+
)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
class VG(BritishVirginIslands):
|
|
182
|
+
pass
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
class VGB(BritishVirginIslands):
|
|
186
|
+
pass
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
class BritishVirginIslandsStaticHolidays:
|
|
190
|
+
"""British Virgin Islands special holidays.
|
|
191
|
+
|
|
192
|
+
References:
|
|
193
|
+
* [2019](https://web.archive.org/web/20250417134346/https://www.bvi.gov.vg/media-centre/public-holiday-be-observed-funeral-late-honourable-ralph-t-o-neal-obe)
|
|
194
|
+
* [2022](https://web.archive.org/web/20250315174707/https://www.bvi.gov.vg/media-centre/public-holiday-observe-her-majesty-s-platinum-jubilee)
|
|
195
|
+
* [2023](https://web.archive.org/web/20250505073654/https://bvi.gov.vg/media-centre/may-8-and-june-16-declared-public-holidays)
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
special_public_holidays = {
|
|
199
|
+
# State Funeral of Honourable Ralph T. O'Neal.
|
|
200
|
+
2019: (DEC, 11, tr("State Funeral of Honourable Ralph T. O'Neal")),
|
|
201
|
+
# Platinum Jubilee of Elizabeth II.
|
|
202
|
+
2022: (JUN, 3, tr("Queen Elizabeth II's Platinum Jubilee")),
|
|
203
|
+
# Coronation of Charles III.
|
|
204
|
+
2023: (MAY, 8, tr("The King's Coronation")),
|
|
205
|
+
}
|
holidays/countries/brunei.py
CHANGED
|
@@ -57,50 +57,50 @@ class Brunei(
|
|
|
57
57
|
"""Brunei holidays.
|
|
58
58
|
|
|
59
59
|
References:
|
|
60
|
-
* <
|
|
61
|
-
* <
|
|
62
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk12-1997.pdf>
|
|
63
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk14-1998.pdf>
|
|
64
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk15-1998.pdf>
|
|
65
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk14-1999.pdf>
|
|
66
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk05-2000.pdf>
|
|
67
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2000.pdf>
|
|
68
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk13-2000.pdf>
|
|
69
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk07-2001.pdf>
|
|
70
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk11-2002.pdf>
|
|
71
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk02-2003.pdf>
|
|
72
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk09-2004.pdf>
|
|
73
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk11-2005.pdf>
|
|
74
|
-
* <https://www.pmo.gov.bn/Circulars%20PDF%20Library/jpmsk12-2005.pdf>
|
|
75
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk03-2006.pdf>
|
|
76
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk17-2006.pdf>
|
|
77
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2007.pdf>
|
|
78
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk09-2008.pdf>
|
|
79
|
-
* <https://chittychat.wordpress.com/wp-content/uploads/2008/11/school_terms_20091.pdf>
|
|
80
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk08-2009.pdf>
|
|
81
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk09-2010.pdf>
|
|
82
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2011.pdf>
|
|
83
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk08-2012.pdf>
|
|
84
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2012.pdf>
|
|
85
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk07-2013.pdf>
|
|
86
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk09-14.pdf>
|
|
87
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk11-2015.pdf>
|
|
88
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk09-2016.pdf>
|
|
89
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk07-2017.pdf>
|
|
90
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk08-2017.pdf>
|
|
91
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk11-2018.pdf>
|
|
92
|
-
* <https://
|
|
93
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2020.pdf>
|
|
94
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2021.pdf>
|
|
95
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk04-2022.pdf>
|
|
96
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk04-2023.pdf>
|
|
97
|
-
* <https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk06-2024.pdf>
|
|
60
|
+
* <https://web.archive.org/web/20250421085743/https://www.labour.gov.bn/lists/upcomming%20events/allitems.aspx>
|
|
61
|
+
* <https://web.archive.org/web/20250421234214/https://www.labour.gov.bn/Download/GUIDE%20TO%20BRUNEI%20EMPLOYMENT%20LAWS%20-%20english%20version-3.pdf>
|
|
62
|
+
* <https://web.archive.org/web/20250429080129/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk12-1997.pdf>
|
|
63
|
+
* <https://web.archive.org/web/20250429080148/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk14-1998.pdf>
|
|
64
|
+
* <https://web.archive.org/web/20250429080326/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk15-1998.pdf>
|
|
65
|
+
* <https://web.archive.org/web/20250429080154/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk14-1999.pdf>
|
|
66
|
+
* <https://web.archive.org/web/20250428210642/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk05-2000.pdf>
|
|
67
|
+
* <https://web.archive.org/web/20250429075903/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2000.pdf>
|
|
68
|
+
* <https://web.archive.org/web/20250429080137/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk13-2000.pdf>
|
|
69
|
+
* <https://web.archive.org/web/20250428210647/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk07-2001.pdf>
|
|
70
|
+
* <https://web.archive.org/web/20250429080046/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk11-2002.pdf>
|
|
71
|
+
* <https://web.archive.org/web/20250428210125/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk02-2003.pdf>
|
|
72
|
+
* <https://web.archive.org/web/20250429075953/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk09-2004.pdf>
|
|
73
|
+
* <https://web.archive.org/web/20250429080052/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk11-2005.pdf>
|
|
74
|
+
* <https://web.archive.org/web/20250429080357/https://www.pmo.gov.bn/Circulars%20PDF%20Library/jpmsk12-2005.pdf>
|
|
75
|
+
* <https://web.archive.org/web/20250428210640/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk03-2006.pdf>
|
|
76
|
+
* <https://web.archive.org/web/20250429080354/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk17-2006.pdf>
|
|
77
|
+
* <https://web.archive.org/web/20250429080005/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2007.pdf>
|
|
78
|
+
* <https://web.archive.org/web/20250428211158/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk09-2008.pdf>
|
|
79
|
+
* <https://web.archive.org/web/20241105162103/https://chittychat.wordpress.com/wp-content/uploads/2008/11/school_terms_20091.pdf>
|
|
80
|
+
* <https://web.archive.org/web/20250428210649/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk08-2009.pdf>
|
|
81
|
+
* <https://web.archive.org/web/20250428211159/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk09-2010.pdf>
|
|
82
|
+
* <https://web.archive.org/web/20250429080022/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2011.pdf>
|
|
83
|
+
* <https://web.archive.org/web/20250428211153/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk08-2012.pdf>
|
|
84
|
+
* <https://web.archive.org/web/20250429084043/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2012.pdf>
|
|
85
|
+
* <https://web.archive.org/web/20250428210648/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk07-2013.pdf>
|
|
86
|
+
* <https://web.archive.org/web/20250428211155/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk09-14.pdf>
|
|
87
|
+
* <https://web.archive.org/web/20180713195340/http://www.jpm.gov.bn:80/Circulars%20PDF%20Library/jpmsk11-2015.pdf>
|
|
88
|
+
* <https://web.archive.org/web/20180713195319/http://www.jpm.gov.bn:80/Circulars%20PDF%20Library/jpmsk09-2016.pdf>
|
|
89
|
+
* <https://web.archive.org/web/20191124043940/http://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk07-2017.pdf>
|
|
90
|
+
* <https://web.archive.org/web/20191124043933/http://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk08-2017.pdf>
|
|
91
|
+
* <https://web.archive.org/web/20191124043741/http://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk11-2018.pdf>
|
|
92
|
+
* <https://web.archive.org/web/20220125022931/http://jpm.gov.bn/Circulars%20PDF%20Library/jpmsk06-2019.pdf>
|
|
93
|
+
* <https://web.archive.org/web/20240724020501/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2020.pdf>
|
|
94
|
+
* <https://web.archive.org/web/20240724020246/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2021.pdf>
|
|
95
|
+
* <https://web.archive.org/web/20240901140406/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk04-2022.pdf>
|
|
96
|
+
* <https://web.archive.org/web/20250428091155/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk04-2023.pdf>
|
|
97
|
+
* <https://web.archive.org/web/20241105052917/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk06-2024.pdf>
|
|
98
98
|
|
|
99
99
|
Checked with:
|
|
100
|
-
* <https://asean.org/wp-content/uploads/2021/12/ASEAN-National-Holidays-2022.pdf>
|
|
101
|
-
* <https://asean.org/wp-content/uploads/2022/12/ASEAN-Public-Holidays-2023.pdf>
|
|
102
|
-
* <https://www.timeanddate.com/holidays/brunei/>
|
|
103
|
-
* [Jubli Emas Sultan Hassanal Bolkiah](https://www.brudirect.com/news.php?id=28316)
|
|
100
|
+
* <https://web.archive.org/web/20250414071145/https://asean.org/wp-content/uploads/2021/12/ASEAN-National-Holidays-2022.pdf>
|
|
101
|
+
* <https://web.archive.org/web/20250414071156/https://asean.org/wp-content/uploads/2022/12/ASEAN-Public-Holidays-2023.pdf>
|
|
102
|
+
* <https://web.archive.org/web/20250130135348/https://www.timeanddate.com/holidays/brunei/>
|
|
103
|
+
* [Jubli Emas Sultan Hassanal Bolkiah](https://web.archive.org/web/20241127203518/https://www.brudirect.com/news.php?id=28316)
|
|
104
104
|
"""
|
|
105
105
|
|
|
106
106
|
country = "BN"
|
|
@@ -116,7 +116,7 @@ class Brunei(
|
|
|
116
116
|
# Available post-Independence from 1984 afterwards
|
|
117
117
|
start_year = 1984
|
|
118
118
|
|
|
119
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
119
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
120
120
|
"""
|
|
121
121
|
Args:
|
|
122
122
|
islamic_show_estimated:
|
holidays/countries/bulgaria.py
CHANGED
|
@@ -23,9 +23,9 @@ class Bulgaria(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
23
23
|
"""Bulgaria holidays.
|
|
24
24
|
|
|
25
25
|
References:
|
|
26
|
-
* <
|
|
27
|
-
* <https://www.parliament.bg/bg/24>
|
|
28
|
-
* <https://kik-info.com/spravochnik/calendar/2021/>
|
|
26
|
+
* <https://web.archive.org/web/20250402193136/https://lex.bg/laws/ldoc/1594373121>
|
|
27
|
+
* <https://web.archive.org/web/20240814165123/https://www.parliament.bg/bg/24>
|
|
28
|
+
* <https://web.archive.org/web/20250118142918/https://kik-info.com/spravochnik/calendar/2021/>
|
|
29
29
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Bulgaria>
|
|
30
30
|
|
|
31
31
|
Official holidays in Bulgaria in their current form. This class does not
|
|
@@ -29,7 +29,7 @@ class BurkinaFaso(ObservedHolidayBase, ChristianHolidays, InternationalHolidays,
|
|
|
29
29
|
# gained independence from France.
|
|
30
30
|
start_year = 1961
|
|
31
31
|
|
|
32
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
32
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
33
33
|
"""
|
|
34
34
|
Args:
|
|
35
35
|
islamic_show_estimated:
|
holidays/countries/burundi.py
CHANGED
|
@@ -18,7 +18,7 @@ class Burundi(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Isl
|
|
|
18
18
|
"""Burundi holidays.
|
|
19
19
|
|
|
20
20
|
References:
|
|
21
|
-
* <https://www.officeholidays.com/countries/burundi>
|
|
21
|
+
* <https://web.archive.org/web/20240915030631/https://www.officeholidays.com/countries/burundi>
|
|
22
22
|
|
|
23
23
|
Note that holidays falling on a sunday maybe observed on the following Monday.
|
|
24
24
|
This depends on formal announcements by the government, which only happens close
|
|
@@ -29,7 +29,7 @@ class Burundi(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Isl
|
|
|
29
29
|
observed_label = "%s (observed)"
|
|
30
30
|
start_year = 1962
|
|
31
31
|
|
|
32
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
32
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
33
33
|
"""
|
|
34
34
|
Args:
|
|
35
35
|
islamic_show_estimated:
|
holidays/countries/cambodia.py
CHANGED
|
@@ -22,15 +22,15 @@ class Cambodia(HolidayBase, InternationalHolidays, StaticHolidays, ThaiCalendarH
|
|
|
22
22
|
"""Cambodia holidays.
|
|
23
23
|
|
|
24
24
|
References:
|
|
25
|
-
* <https://www.nbc.gov.kh/english/news_and_events/official_holiday.php>
|
|
26
|
-
* <https://www.nbc.gov.kh/news_and_events/official_holiday.php>
|
|
25
|
+
* <https://web.archive.org/web/20241117220849/https://www.nbc.gov.kh/english/news_and_events/official_holiday.php>
|
|
26
|
+
* <https://web.archive.org/web/20250401111433/https://www.nbc.gov.kh/news_and_events/official_holiday.php>
|
|
27
27
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Cambodia>
|
|
28
|
-
* <https://admin.taftac-cambodia.org/public/pdf_file/regulation_1704245695_Z7IALJjE.pdf>
|
|
28
|
+
* <https://web.archive.org/web/20250427180236/https://admin.taftac-cambodia.org/public/pdf_file/regulation_1704245695_Z7IALJjE.pdf>
|
|
29
29
|
|
|
30
30
|
Checked with:
|
|
31
|
-
* <https://asean.org/wp-content/uploads/2021/12/ASEAN-National-Holidays-2022.pdf>
|
|
32
|
-
* <https://asean.org/wp-content/uploads/2022/12/ASEAN-Public-Holidays-2023.pdf>
|
|
33
|
-
* <https://www.timeanddate.com/holidays/cambodia/>
|
|
31
|
+
* <https://web.archive.org/web/20250414071145/https://asean.org/wp-content/uploads/2021/12/ASEAN-National-Holidays-2022.pdf>
|
|
32
|
+
* <https://web.archive.org/web/20250414071156/https://asean.org/wp-content/uploads/2022/12/ASEAN-Public-Holidays-2023.pdf>
|
|
33
|
+
* <https://web.archive.org/web/20250416140353/https://www.timeanddate.com/holidays/cambodia/>
|
|
34
34
|
|
|
35
35
|
Limitations:
|
|
36
36
|
* Cambodian holidays only works from 1993 onwards.
|
holidays/countries/cameroon.py
CHANGED
|
@@ -28,8 +28,8 @@ class Cameroon(
|
|
|
28
28
|
|
|
29
29
|
References:
|
|
30
30
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Cameroon>
|
|
31
|
-
* <https://www.timeanddate.com/holidays/cameroon
|
|
32
|
-
* <https://www.officeholidays.com/countries/cameroon>
|
|
31
|
+
* <https://web.archive.org/web/20250408001410/https://www.timeanddate.com/holidays/cameroon/>
|
|
32
|
+
* <https://web.archive.org/web/20231004010829/https://www.officeholidays.com/countries/cameroon>
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
country = "CM"
|
|
@@ -37,7 +37,7 @@ class Cameroon(
|
|
|
37
37
|
# On 1 January 1960, French Cameroun gained independence from France.
|
|
38
38
|
start_year = 1960
|
|
39
39
|
|
|
40
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
40
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
41
41
|
"""
|
|
42
42
|
Args:
|
|
43
43
|
islamic_show_estimated:
|
holidays/countries/canada.py
CHANGED
|
@@ -33,14 +33,14 @@ class Canada(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stat
|
|
|
33
33
|
References:
|
|
34
34
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Canada>
|
|
35
35
|
* <https://web.archive.org/web/20130703014214/http://www.hrsdc.gc.ca/eng/labour/overviews/employment_standards/holidays.shtml>
|
|
36
|
-
* <https://www.alberta.ca/alberta-general-holidays>
|
|
37
|
-
* <https://www2.gov.bc.ca/gov/content/employment-business/employment-standards-advice/employment-standards/statutory-holidays>
|
|
38
|
-
* <
|
|
39
|
-
* <https://www2.gnb.ca/content/gnb/en/departments/elg/local_government/content/governance/content/days_of_rest_act.html>
|
|
40
|
-
* <https://www.ontario.ca/document/your-guide-employment-standards-act-0/public-holidays>
|
|
41
|
-
* <https://
|
|
42
|
-
* <https://www.officeholidays.com/countries/canada
|
|
43
|
-
* <https://www.timeanddate.com/holidays/canada
|
|
36
|
+
* <https://web.archive.org/web/20250330082640/https://www.alberta.ca/alberta-general-holidays>
|
|
37
|
+
* <https://web.archive.org/web/20250403044407/https://www2.gov.bc.ca/gov/content/employment-business/employment-standards-advice/employment-standards/statutory-holidays>
|
|
38
|
+
* <https://web.archive.org/web/20250427131243/https://web2.gov.mb.ca/laws/statutes/ccsm/r120e.php>
|
|
39
|
+
* <https://web.archive.org/web/20250112160822/https://www2.gnb.ca/content/gnb/en/departments/elg/local_government/content/governance/content/days_of_rest_act.html>
|
|
40
|
+
* <https://web.archive.org/web/20250405170509/https://www.ontario.ca/document/your-guide-employment-standards-act-0/public-holidays>
|
|
41
|
+
* <https://archive.org/details/nunavut-day-designated-as-a-general-holiday-start-date>
|
|
42
|
+
* <https://web.archive.org/web/20250116143344/https://www.officeholidays.com/countries/canada>
|
|
43
|
+
* <https://web.archive.org/web/20250425120843/https://www.timeanddate.com/holidays/canada>
|
|
44
44
|
* <https://web.archive.org/web/20250122122256/https://www.warmuseum.ca/firstworldwar/history/after-the-war/remembrance/remembrance-day/>
|
|
45
45
|
* <https://web.archive.org/web/20250428153936/https://www.thecanadianencyclopedia.ca/en/article/thanksgiving-day>
|
|
46
46
|
* <https://web.archive.org/web/20250428154427/https://recherche-collection-search.bac-lac.gc.ca/eng/home/record?idnumber=9326&app=diawlmking&ecopy=80003QJW>
|
|
@@ -353,7 +353,7 @@ class Canada(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stat
|
|
|
353
353
|
self._add_christmas_day_two(tr("Boxing Day"))
|
|
354
354
|
|
|
355
355
|
def _populate_subdiv_ns_public_holidays(self):
|
|
356
|
-
#
|
|
356
|
+
# https://web.archive.org/web/20240611215326/https://novascotia.ca/lae/employmentrights/NovaScotiaHeritageDay.asp
|
|
357
357
|
if self._year >= 2015:
|
|
358
358
|
# Heritage Day.
|
|
359
359
|
self._add_holiday_3rd_mon_of_feb(tr("Heritage Day"))
|
holidays/countries/chad.py
CHANGED
|
@@ -28,7 +28,7 @@ class Chad(
|
|
|
28
28
|
|
|
29
29
|
References:
|
|
30
30
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Chad>
|
|
31
|
-
* <https://www.ilo.org/dyn/natlex/docs/ELECTRONIC/97323/115433/F-316075167/TCD-97323.pdf>
|
|
31
|
+
* <https://web.archive.org/web/20240619220557/https://www.ilo.org/dyn/natlex/docs/ELECTRONIC/97323/115433/F-316075167/TCD-97323.pdf>
|
|
32
32
|
"""
|
|
33
33
|
|
|
34
34
|
country = "TD"
|
|
@@ -36,7 +36,7 @@ class Chad(
|
|
|
36
36
|
# On 11 August 1960, Chad gained independence from France.
|
|
37
37
|
start_year = 1961
|
|
38
38
|
|
|
39
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
39
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
40
40
|
"""
|
|
41
41
|
Args:
|
|
42
42
|
islamic_show_estimated:
|
holidays/countries/chile.py
CHANGED
|
@@ -30,9 +30,9 @@ class Chile(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stati
|
|
|
30
30
|
"""Chile holidays.
|
|
31
31
|
|
|
32
32
|
References:
|
|
33
|
-
* <https://www.feriados.cl
|
|
34
|
-
* [Excellent history of Chile holidays](
|
|
35
|
-
* <https://es.wikipedia.org/wiki/Anexo:
|
|
33
|
+
* <https://web.archive.org/web/20250418020620/https://www.feriados.cl/>
|
|
34
|
+
* [Excellent history of Chile holidays](https://web.archive.org/web/20250124223839/https://www.feriadoschilenos.cl/)
|
|
35
|
+
* <https://es.wikipedia.org/wiki/Anexo:Días_feriados_en_Chile>
|
|
36
36
|
* Law 2.977 (established official Chile holidays in its current form)
|
|
37
37
|
* Law 20.983 (Day after New Year's Day, if it's a Sunday)
|
|
38
38
|
* Law 19.668 (floating Monday holiday)
|
|
@@ -51,11 +51,11 @@ class Chile(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stati
|
|
|
51
51
|
* Law 20.299 (National Day of the Evangelical and Protestant Churches)
|
|
52
52
|
* Law 20.663 (Región de Arica y Parinacota)
|
|
53
53
|
* Law 20.678 (Región de Ñuble)
|
|
54
|
-
* [Law 19.656 (Dec 31, 1999 holiday)](https://www.bcn.cl/leychile/navegar?idNorma=149328&idVersion=1999-12-15)
|
|
55
|
-
* [Law 12.051 (bank holidays Jun 30 and Dec 31)](https://www.bcn.cl/leychile/navegar?idNorma=27013&idVersion=1956-07-12)
|
|
56
|
-
* [Decree-law 1.171 (eliminate Jun 30)](https://www.bcn.cl/leychile/navegar?idNorma=6507&idVersion=1975-09-05)
|
|
57
|
-
* [Law 19.528 (eliminate Dec 31)](https://www.bcn.cl/leychile/navegar?idNorma=76630&idVersion=1997-11-04)
|
|
58
|
-
* [Law 19.559 (restore Dec 31)](https://www.bcn.cl/leychile/navegar?idNorma=97758&idVersion=1998-04-16)
|
|
54
|
+
* [Law 19.656 (Dec 31, 1999 holiday)](https://web.archive.org/web/20241228005823/https://www.bcn.cl/leychile/navegar?idNorma=149328&idVersion=1999-12-15)
|
|
55
|
+
* [Law 12.051 (bank holidays Jun 30 and Dec 31)](https://web.archive.org/web/20241227190026/https://www.bcn.cl/leychile/navegar?idNorma=27013&idVersion=1956-07-12)
|
|
56
|
+
* [Decree-law 1.171 (eliminate Jun 30)](https://web.archive.org/web/20241227191010/https://www.bcn.cl/leychile/navegar?idNorma=6507&idVersion=1975-09-05)
|
|
57
|
+
* [Law 19.528 (eliminate Dec 31)](https://web.archive.org/web/20241227191452/https://www.bcn.cl/leychile/navegar?idNorma=76630&idVersion=1997-11-04)
|
|
58
|
+
* [Law 19.559 (restore Dec 31)](https://web.archive.org/web/20241227195811/https://www.bcn.cl/leychile/navegar?idNorma=97758&idVersion=1998-04-16)
|
|
59
59
|
"""
|
|
60
60
|
|
|
61
61
|
country = "CL"
|
holidays/countries/china.py
CHANGED
|
@@ -24,39 +24,39 @@ class China(ObservedHolidayBase, ChineseCalendarHolidays, InternationalHolidays,
|
|
|
24
24
|
References:
|
|
25
25
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_China>
|
|
26
26
|
* [Festivals and Public Holidays](https://zh.wikipedia.org/wiki/中华人民共和国节日与公众假期)
|
|
27
|
-
* [2024 changes (Order #795)](https://www.gov.cn/zhengce/content/202411/content_6986380.htm)
|
|
28
|
-
* [2025](https://www.gov.cn/zhengce/content/202411/content_6986382.htm)
|
|
29
|
-
* [2024](https://www.gov.cn/zhengce/content/202310/content_6911527.htm)
|
|
30
|
-
* [2023](https://www.gov.cn/gongbao/content/2023/content_5736714.htm)
|
|
31
|
-
* [2022](https://www.gov.cn/gongbao/content/2021/content_5651728.htm)
|
|
32
|
-
* [2021](https://www.gov.cn/gongbao/content/2020/content_5567750.htm)
|
|
33
|
-
* [2020 Extensions](https://www.gov.cn/zhengce/zhengceku/2020-01/27/content_5472352.htm)
|
|
34
|
-
* [2020](https://www.gov.cn/gongbao/content/2019/content_5459138.htm)
|
|
35
|
-
* [2019](https://www.gov.cn/gongbao/content/2018/content_5350046.htm)
|
|
36
|
-
* [2018](https://www.gov.cn/gongbao/content/2017/content_5248221.htm)
|
|
37
|
-
* [2017](https://www.gov.cn/gongbao/content/2016/content_5148793.htm)
|
|
38
|
-
* [2016](https://www.gov.cn/gongbao/content/2016/content_2979719.htm)
|
|
39
|
-
* [2015](https://www.gov.cn/gongbao/content/2015/content_2799019.htm)
|
|
40
|
-
* [2014](https://www.gov.cn/gongbao/content/2014/content_2561299.htm)
|
|
41
|
-
* [2013](https://www.gov.cn/gongbao/content/2012/content_2292057.htm)
|
|
42
|
-
* [2012](https://www.gov.cn/gongbao/content/2011/content_2020918.htm)
|
|
43
|
-
* [2011](https://www.gov.cn/gongbao/content/2010/content_1765282.htm)
|
|
44
|
-
* [2010](https://www.gov.cn/gongbao/content/2009/content_1487011.htm)
|
|
45
|
-
* [2009](https://www.gov.cn/gongbao/content/2008/content_1175823.htm)
|
|
46
|
-
* [2008](https://www.gov.cn/gongbao/content/2008/content_859870.htm)
|
|
47
|
-
* [2007](https://www.gov.cn/gongbao/content/2007/content_503397.htm)
|
|
48
|
-
* [2006](https://zh.wikisource.org/wiki/国务院办公厅关于2006年部分节假日安排的通知)
|
|
49
|
-
* [2005](https://zh.wikisource.org/wiki/国务院办公厅关于2005年部分节假日安排的通知)
|
|
50
|
-
* [2004](https://zh.wikisource.org/wiki/国务院办公厅关于2004年部分节假日安排的通知)
|
|
51
|
-
* [2003](https://zh.wikisource.org/wiki/国务院办公厅关于2003年部分节假日休息安排的通知)
|
|
52
|
-
* [2002](https://zh.wikisource.org/wiki/国务院办公厅关于2002年部分节假日休息安排的通知)
|
|
53
|
-
* [2001](https://zh.wikisource.org/wiki/国务院办公厅关于2001年春节、“五一”、“十一”放假安排的通知)
|
|
27
|
+
* [2024 changes (Order #795)](https://web.archive.org/web/20250228151847/https://www.gov.cn/zhengce/content/202411/content_6986380.htm)
|
|
28
|
+
* [2025](https://web.archive.org/web/20250424041657/https://www.gov.cn/zhengce/content/202411/content_6986382.htm)
|
|
29
|
+
* [2024](https://web.archive.org/web/20250227033646/https://www.gov.cn/zhengce/content/202310/content_6911527.htm)
|
|
30
|
+
* [2023](https://web.archive.org/web/20250414125053/https://www.gov.cn/gongbao/content/2023/content_5736714.htm)
|
|
31
|
+
* [2022](https://web.archive.org/web/20250413071341/http://www.gov.cn/gongbao/content/2021/content_5651728.htm)
|
|
32
|
+
* [2021](https://web.archive.org/web/20250424075325/https://www.gov.cn/gongbao/content/2020/content_5567750.htm)
|
|
33
|
+
* [2020 Extensions](https://web.archive.org/web/20250427184932/https://www.gov.cn/zhengce/zhengceku/2020-01/27/content_5472352.htm)
|
|
34
|
+
* [2020](https://web.archive.org/web/20241222150612/https://www.gov.cn/gongbao/content/2019/content_5459138.htm)
|
|
35
|
+
* [2019](https://web.archive.org/web/20241202235023/https://www.gov.cn/gongbao/content/2018/content_5350046.htm)
|
|
36
|
+
* [2018](https://web.archive.org/web/20231205013402/https://www.gov.cn/gongbao/content/2017/content_5248221.htm)
|
|
37
|
+
* [2017](https://web.archive.org/web/20231205013333/https://www.gov.cn/gongbao/content/2016/content_5148793.htm)
|
|
38
|
+
* [2016](https://web.archive.org/web/20231205013233/https://www.gov.cn/gongbao/content/2016/content_2979719.htm)
|
|
39
|
+
* [2015](https://web.archive.org/web/20250427025304/https://www.gov.cn/gongbao/content/2015/content_2799019.htm)
|
|
40
|
+
* [2014](https://web.archive.org/web/20250426080722/https://www.gov.cn/gongbao/content/2014/content_2561299.htm)
|
|
41
|
+
* [2013](https://web.archive.org/web/20240229121946/https://www.gov.cn/gongbao/content/2012/content_2292057.htm)
|
|
42
|
+
* [2012](https://web.archive.org/web/20250420220922/https://www.gov.cn/gongbao/content/2011/content_2020918.htm)
|
|
43
|
+
* [2011](https://web.archive.org/web/20240812070712/https://www.gov.cn/gongbao/content/2010/content_1765282.htm)
|
|
44
|
+
* [2010](https://web.archive.org/web/20101210083603/http://www.gov.cn:80/gongbao/content/2009/content_1487011.htm)
|
|
45
|
+
* [2009](https://web.archive.org/web/20230726083438/https://www.gov.cn/gongbao/content/2008/content_1175823.htm)
|
|
46
|
+
* [2008](https://web.archive.org/web/20240610103541/https://www.gov.cn/gongbao/content/2008/content_859870.htm)
|
|
47
|
+
* [2007](https://web.archive.org/web/20230727050141/https://www.gov.cn/gongbao/content/2007/content_503397.htm)
|
|
48
|
+
* [2006](https://web.archive.org/web/20221130214247/https://zh.wikisource.org/wiki/国务院办公厅关于2006年部分节假日安排的通知)
|
|
49
|
+
* [2005](https://web.archive.org/web/20210212184000/https://zh.wikisource.org/wiki/国务院办公厅关于2005年部分节假日安排的通知)
|
|
50
|
+
* [2004](https://web.archive.org/web/20210212183857/https://zh.wikisource.org/wiki/国务院办公厅关于2004年部分节假日安排的通知)
|
|
51
|
+
* [2003](https://web.archive.org/web/20210302090553/https://zh.wikisource.org/wiki/国务院办公厅关于2003年部分节假日休息安排的通知)
|
|
52
|
+
* [2002](https://web.archive.org/web/20180122201149/https://zh.wikisource.org/wiki/国务院办公厅关于2002年部分节假日休息安排的通知)
|
|
53
|
+
* [2001](https://web.archive.org/web/20180123032517/https://zh.wikisource.org/wiki/国务院办公厅关于2001年春节、“五一”、“十一”放假安排的通知)
|
|
54
54
|
|
|
55
55
|
Checked With:
|
|
56
|
-
* <https://www.officeholidays.com/countries/china/2023>
|
|
57
|
-
* <https://www.china-briefing.com/news/china-public-holiday-2023-schedule/>
|
|
58
|
-
* <https://www.timeanddate.com/calendar/?year=2023&country=41>
|
|
59
|
-
* [2001-2010](https://m.wannianli.tianqi.com/fangjiaanpai/2001.html)
|
|
56
|
+
* <https://web.archive.org/web/20250213085558/https://www.officeholidays.com/countries/china/2023>
|
|
57
|
+
* <https://web.archive.org/web/20250210121944/https://www.china-briefing.com/news/china-public-holiday-2023-schedule/>
|
|
58
|
+
* <https://web.archive.org/web/20250218010025/https://www.timeanddate.com/calendar/?year=2023&country=41>
|
|
59
|
+
* [2001-2010](https://web.archive.org/web/20250429074341/https://m.wannianli.tianqi.com/fangjiaanpai/2001.html)
|
|
60
60
|
|
|
61
61
|
Limitations:
|
|
62
62
|
* Only checked with the official General Office of the State Council Notice from 2001
|
|
@@ -35,17 +35,17 @@ class CocosIslands(
|
|
|
35
35
|
|
|
36
36
|
References:
|
|
37
37
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_the_Cocos_(Keeling)_Islands>
|
|
38
|
-
* <https://www.infrastructure.gov.au/territories-regions-cities/territories/indian-ocean-territories/community-bulletins>
|
|
39
|
-
* <https://www.infrastructure.gov.au/territories-regions-cities/territories/indian-ocean-territories/gazettes-bulletins>
|
|
38
|
+
* <https://web.archive.org/web/20250514044918/https://www.infrastructure.gov.au/territories-regions-cities/territories/indian-ocean-territories/community-bulletins>
|
|
39
|
+
* <https://web.archive.org/web/20250417205202/https://www.infrastructure.gov.au/territories-regions-cities/territories/indian-ocean-territories/gazettes-bulletins>
|
|
40
40
|
|
|
41
|
-
* [2007](https://www.infrastructure.gov.au/sites/default/files/migrated/territories/indian_ocean/iot_gazette/files/2006/02_2006_Public_Holidays_2007_CKI.doc)
|
|
41
|
+
* [2007](https://web.archive.org/web/20250605022855/https://www.infrastructure.gov.au/sites/default/files/migrated/territories/indian_ocean/iot_gazette/files/2006/02_2006_Public_Holidays_2007_CKI.doc)
|
|
42
42
|
* [2008](https://web.archive.org/web/20240718120923/https://www.infrastructure.gov.au/sites/default/files/migrated/territories/indian_ocean/iot_gazette/files/2007/06-2007_Public_Holidays_CKI.pdf)
|
|
43
43
|
* [2008 Eid al-Fitr](https://web.archive.org/web/20240331104649/https://www.infrastructure.gov.au/sites/default/files/migrated/territories/indian_ocean/iot_gazette/files/2008/03_2008_Observance_of_Hari_Raya_Puasa_2008.pdf)
|
|
44
44
|
* [2009](https://web.archive.org/web/20231208153529/https://www.infrastructure.gov.au/sites/default/files/migrated/territories/indian_ocean/iot_gazette/files/2008/01-2008-2009-public-holiday-CKI-gazette.pdf)
|
|
45
|
-
* [2010](https://
|
|
45
|
+
* [2010](https://archive.org/details/cocos-island-2009-gazette-6-2009-cki-proclamation-of-2010-special-public-bank-holidays)
|
|
46
46
|
* [2013](https://web.archive.org/web/20240805055409/https://www.infrastructure.gov.au/sites/default/files/migrated/territories/indian_ocean/iot_gazette/files/2012/2012-Gazette_8-2012-CKI-Proclamation_of_2013_Public_Holidays_for_Cocos_(Keeling)_Islands.pdf)
|
|
47
47
|
* [2014](https://web.archive.org/web/20240718123844/https://www.infrastructure.gov.au/sites/default/files/migrated/territories/indian_ocean/iot_gazette/files/2013/2013-Gazette_3-2013-Cocos_K_Islands_2014_Public_Holidays.pdf)
|
|
48
|
-
* [2016](https://
|
|
48
|
+
* [2016](https://archive.org/details/cocos-island-2015-gazette-4-2015-cki-proclamation-of-2016-special-public-bank-holidays)
|
|
49
49
|
* [2016 Eid al-Fitr](https://web.archive.org/web/20231208203746/https://www.infrastructure.gov.au/sites/default/files/migrated/territories/indian_ocean/iot_gazette/files/2016/2016-Gazette_3-2016-CKI-Proclamation_Special_Public_and_Bank_Holidays_2016.pdf)
|
|
50
50
|
* [2017](https://web.archive.org/web/20240303203132/https://www.infrastructure.gov.au/sites/default/files/migrated/territories/indian_ocean/iot_gazette/files/2016/2016-Gazette_2-2016-CKI-Proclamation_Special_Public_and_Bank_Holidays_2017.pdf)
|
|
51
51
|
* [2019](https://web.archive.org/web/20241123131420/https://www.infrastructure.gov.au/sites/default/files/migrated/territories/indian_ocean/iot_bulletins/2018/files/A38-2018.pdf)
|
|
@@ -72,7 +72,7 @@ class CocosIslands(
|
|
|
72
72
|
# Act of Self Determination 1984.
|
|
73
73
|
start_year = 1985
|
|
74
74
|
|
|
75
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
75
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
76
76
|
"""
|
|
77
77
|
Args:
|
|
78
78
|
islamic_show_estimated:
|