holidays 0.69__py3-none-any.whl → 0.70__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- holidays/__init__.py +1 -1
- holidays/calendars/__init__.py +1 -1
- holidays/calendars/balinese_saka.py +3 -3
- holidays/calendars/buddhist.py +1 -1
- holidays/calendars/chinese.py +1 -1
- holidays/calendars/custom.py +1 -1
- holidays/calendars/gregorian.py +1 -1
- holidays/calendars/hebrew.py +1 -1
- holidays/calendars/hindu.py +1 -1
- holidays/calendars/islamic.py +161 -1
- holidays/calendars/julian.py +1 -1
- holidays/calendars/julian_revised.py +1 -1
- holidays/calendars/persian.py +1 -1
- holidays/calendars/sinhala.py +1 -1
- holidays/calendars/thai.py +309 -257
- holidays/constants.py +2 -1
- holidays/countries/__init__.py +6 -1
- holidays/countries/afghanistan.py +11 -7
- holidays/countries/albania.py +10 -7
- holidays/countries/algeria.py +10 -10
- holidays/countries/american_samoa.py +6 -4
- holidays/countries/andorra.py +5 -4
- holidays/countries/angola.py +15 -14
- holidays/countries/antigua_and_barbuda.py +145 -0
- holidays/countries/argentina.py +787 -169
- holidays/countries/armenia.py +5 -6
- holidays/countries/aruba.py +11 -9
- holidays/countries/australia.py +21 -20
- holidays/countries/austria.py +3 -1
- holidays/countries/azerbaijan.py +24 -19
- holidays/countries/bahamas.py +13 -11
- holidays/countries/bahrain.py +8 -7
- holidays/countries/bangladesh.py +5 -4
- holidays/countries/barbados.py +11 -9
- holidays/countries/belarus.py +15 -15
- holidays/countries/belgium.py +8 -6
- holidays/countries/belize.py +7 -6
- holidays/countries/bolivia.py +12 -11
- holidays/countries/bosnia_and_herzegovina.py +15 -11
- holidays/countries/botswana.py +8 -6
- holidays/countries/brazil.py +8 -7
- holidays/countries/brunei.py +50 -62
- holidays/countries/bulgaria.py +9 -10
- holidays/countries/burkina_faso.py +8 -5
- holidays/countries/burundi.py +13 -12
- holidays/countries/cambodia.py +15 -24
- holidays/countries/cameroon.py +10 -7
- holidays/countries/canada.py +13 -12
- holidays/countries/chad.py +9 -6
- holidays/countries/chile.py +29 -28
- holidays/countries/china.py +39 -38
- holidays/countries/colombia.py +15 -20
- holidays/countries/congo.py +6 -7
- holidays/countries/costa_rica.py +11 -10
- holidays/countries/croatia.py +8 -5
- holidays/countries/cuba.py +30 -27
- holidays/countries/curacao.py +6 -4
- holidays/countries/cyprus.py +4 -5
- holidays/countries/czechia.py +7 -6
- holidays/countries/denmark.py +5 -6
- holidays/countries/djibouti.py +7 -3
- holidays/countries/dominica.py +18 -16
- holidays/countries/dominican_republic.py +6 -4
- holidays/countries/ecuador.py +5 -4
- holidays/countries/egypt.py +6 -11
- holidays/countries/el_salvador.py +6 -5
- holidays/countries/estonia.py +3 -1
- holidays/countries/eswatini.py +6 -4
- holidays/countries/ethiopia.py +20 -11
- holidays/countries/fiji.py +183 -0
- holidays/countries/finland.py +11 -10
- holidays/countries/france.py +6 -9
- holidays/countries/gabon.py +11 -8
- holidays/countries/georgia.py +7 -7
- holidays/countries/germany.py +11 -11
- holidays/countries/ghana.py +10 -6
- holidays/countries/greece.py +4 -5
- holidays/countries/greenland.py +5 -6
- holidays/countries/guam.py +6 -4
- holidays/countries/guatemala.py +7 -9
- holidays/countries/guernsey.py +37 -34
- holidays/countries/guinea.py +182 -0
- holidays/countries/haiti.py +6 -5
- holidays/countries/honduras.py +8 -4
- holidays/countries/hongkong.py +11 -8
- holidays/countries/hungary.py +26 -23
- holidays/countries/iceland.py +5 -4
- holidays/countries/india.py +14 -10
- holidays/countries/indonesia.py +57 -53
- holidays/countries/iran.py +12 -9
- holidays/countries/ireland.py +5 -4
- holidays/countries/isle_of_man.py +2 -2
- holidays/countries/israel.py +4 -5
- holidays/countries/italy.py +5 -4
- holidays/countries/ivory_coast.py +156 -0
- holidays/countries/jamaica.py +6 -4
- holidays/countries/japan.py +5 -5
- holidays/countries/jersey.py +29 -26
- holidays/countries/jordan.py +9 -6
- holidays/countries/kazakhstan.py +66 -51
- holidays/countries/kenya.py +22 -18
- holidays/countries/kuwait.py +10 -7
- holidays/countries/kyrgyzstan.py +7 -6
- holidays/countries/laos.py +21 -29
- holidays/countries/latvia.py +7 -5
- holidays/countries/lesotho.py +6 -5
- holidays/countries/liechtenstein.py +5 -5
- holidays/countries/lithuania.py +4 -5
- holidays/countries/luxembourg.py +5 -3
- holidays/countries/macau.py +32 -26
- holidays/countries/madagascar.py +5 -4
- holidays/countries/malawi.py +6 -4
- holidays/countries/malaysia.py +24 -18
- holidays/countries/maldives.py +10 -7
- holidays/countries/malta.py +10 -19
- holidays/countries/marshall_islands.py +6 -4
- holidays/countries/mauritania.py +9 -6
- holidays/countries/mexico.py +8 -7
- holidays/countries/moldova.py +6 -4
- holidays/countries/monaco.py +6 -4
- holidays/countries/montenegro.py +10 -7
- holidays/countries/morocco.py +9 -8
- holidays/countries/mozambique.py +3 -1
- holidays/countries/namibia.py +7 -5
- holidays/countries/netherlands.py +6 -6
- holidays/countries/new_zealand.py +3 -1
- holidays/countries/nicaragua.py +6 -5
- holidays/countries/nigeria.py +9 -5
- holidays/countries/north_macedonia.py +9 -5
- holidays/countries/northern_mariana_islands.py +6 -4
- holidays/countries/norway.py +15 -15
- holidays/countries/pakistan.py +41 -17
- holidays/countries/palau.py +13 -11
- holidays/countries/panama.py +9 -8
- holidays/countries/papua_new_guinea.py +25 -21
- holidays/countries/paraguay.py +10 -9
- holidays/countries/peru.py +4 -5
- holidays/countries/philippines.py +25 -21
- holidays/countries/poland.py +6 -5
- holidays/countries/portugal.py +13 -15
- holidays/countries/puerto_rico.py +6 -4
- holidays/countries/qatar.py +172 -0
- holidays/countries/romania.py +6 -4
- holidays/countries/russia.py +6 -4
- holidays/countries/saint_kitts_and_nevis.py +24 -22
- holidays/countries/saint_lucia.py +8 -7
- holidays/countries/samoa.py +7 -6
- holidays/countries/san_marino.py +4 -3
- holidays/countries/saudi_arabia.py +11 -15
- holidays/countries/serbia.py +3 -4
- holidays/countries/seychelles.py +22 -26
- holidays/countries/singapore.py +29 -39
- holidays/countries/slovakia.py +6 -5
- holidays/countries/slovenia.py +7 -6
- holidays/countries/south_africa.py +8 -6
- holidays/countries/south_korea.py +25 -32
- holidays/countries/spain.py +25 -24
- holidays/countries/sri_lanka.py +46 -42
- holidays/countries/sweden.py +20 -19
- holidays/countries/switzerland.py +6 -5
- holidays/countries/taiwan.py +50 -48
- holidays/countries/tanzania.py +28 -27
- holidays/countries/thailand.py +134 -142
- holidays/countries/timor_leste.py +20 -18
- holidays/countries/tonga.py +46 -42
- holidays/countries/tunisia.py +5 -3
- holidays/countries/turkey.py +11 -9
- holidays/countries/tuvalu.py +12 -11
- holidays/countries/ukraine.py +54 -54
- holidays/countries/united_arab_emirates.py +37 -30
- holidays/countries/united_kingdom.py +7 -6
- holidays/countries/united_states.py +50 -55
- holidays/countries/united_states_minor_outlying_islands.py +6 -4
- holidays/countries/united_states_virgin_islands.py +6 -4
- holidays/countries/uruguay.py +10 -9
- holidays/countries/uzbekistan.py +10 -7
- holidays/countries/vanuatu.py +7 -5
- holidays/countries/vatican_city.py +16 -15
- holidays/countries/venezuela.py +11 -14
- holidays/countries/vietnam.py +15 -11
- holidays/countries/zambia.py +8 -6
- holidays/countries/zimbabwe.py +6 -4
- holidays/deprecations/v1_incompatibility.py +1 -1
- holidays/financial/__init__.py +1 -1
- holidays/financial/brasil_bolsa_balcao.py +14 -13
- holidays/financial/european_central_bank.py +7 -6
- holidays/financial/ice_futures_europe.py +7 -6
- holidays/financial/ny_stock_exchange.py +13 -10
- holidays/groups/__init__.py +1 -1
- holidays/groups/balinese_saka.py +1 -1
- holidays/groups/buddhist.py +1 -1
- holidays/groups/chinese.py +1 -1
- holidays/groups/christian.py +1 -1
- holidays/groups/custom.py +1 -1
- holidays/groups/eastern.py +1 -1
- holidays/groups/hebrew.py +1 -1
- holidays/groups/hindu.py +1 -1
- holidays/groups/international.py +1 -1
- holidays/groups/islamic.py +12 -1
- holidays/groups/persian.py +1 -1
- holidays/groups/sinhala.py +1 -1
- holidays/groups/thai.py +1 -7
- holidays/helpers.py +1 -1
- holidays/holiday_base.py +366 -244
- holidays/ical.py +228 -0
- holidays/locale/ar_QA/LC_MESSAGES/QA.mo +0 -0
- holidays/locale/en_CI/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/en_PK/LC_MESSAGES/PK.mo +0 -0
- holidays/locale/en_TL/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GN.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/PK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/QA.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/es/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/GN.mo +0 -0
- holidays/locale/hi/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/pt_TL/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/tet/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/th/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/ur_PK/LC_MESSAGES/PK.mo +0 -0
- holidays/mixins.py +2 -2
- holidays/observed_holiday_base.py +5 -2
- holidays/registry.py +6 -1
- holidays/utils.py +151 -151
- holidays/version.py +2 -2
- holidays-0.70.dist-info/METADATA +1404 -0
- {holidays-0.69.dist-info → holidays-0.70.dist-info}/RECORD +235 -217
- {holidays-0.69.dist-info → holidays-0.70.dist-info}/WHEEL +1 -1
- holidays-0.69.dist-info/AUTHORS → holidays-0.70.dist-info/licenses/AUTHORS.md +6 -2
- {holidays-0.69.dist-info → holidays-0.70.dist-info/licenses}/LICENSE +1 -1
- holidays-0.69.dist-info/METADATA +0 -1085
- {holidays-0.69.dist-info → holidays-0.70.dist-info}/top_level.txt +0 -0
holidays/countries/kazakhstan.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -27,57 +27,16 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SAT_SUN_TO_NEXT_
|
|
|
27
27
|
class Kazakhstan(
|
|
28
28
|
ObservedHolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolidays, StaticHolidays
|
|
29
29
|
):
|
|
30
|
-
"""
|
|
30
|
+
"""Kazakhstan holidays.
|
|
31
|
+
|
|
31
32
|
References:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Substituted holidays:
|
|
38
|
-
- `2000 <https://adilet.zan.kz/kaz/docs/P000000642%5F>`_
|
|
39
|
-
- 2001: `<https://adilet.zan.kz/kaz/docs/P010000282%5F>`_,
|
|
40
|
-
`<https://adilet.zan.kz/kaz/docs/P010000515%5F>`_,
|
|
41
|
-
`<https://adilet.zan.kz/kaz/docs/P010001604%5F>`_
|
|
42
|
-
- `2002 <https://adilet.zan.kz/kaz/docs/P020000466%5F>`_
|
|
43
|
-
- 2003: `<https://adilet.zan.kz/kaz/docs/P030000338%5F>`_,
|
|
44
|
-
`<https://adilet.zan.kz/kaz/docs/P030001166%5F>`_
|
|
45
|
-
- 2005: `<https://adilet.zan.kz/kaz/docs/P050000142%5F>`_,
|
|
46
|
-
`<https://adilet.zan.kz/kaz/docs/P050000751%5F>`_,
|
|
47
|
-
`<https://adilet.zan.kz/kaz/docs/P050000949%5F>`_
|
|
48
|
-
- 2006: `<https://adilet.zan.kz/kaz/docs/P050001309%5F>`_,
|
|
49
|
-
`<https://adilet.zan.kz/kaz/docs/P060000277%5F>`_
|
|
50
|
-
- 2007: `<https://adilet.zan.kz/kaz/docs/P070000148%5F>`_,
|
|
51
|
-
`<https://adilet.zan.kz/kaz/docs/P070000165%5F>`_,
|
|
52
|
-
`<https://adilet.zan.kz/kaz/docs/P070000713%5F>`_,
|
|
53
|
-
`<https://adilet.zan.kz/kaz/docs/P070000925%5F>`_,
|
|
54
|
-
`<https://adilet.zan.kz/kaz/docs/P070001113%5F>`_
|
|
55
|
-
- `2008 <https://adilet.zan.kz/kaz/docs/P080000364%5F>`_
|
|
56
|
-
- `2009 <https://adilet.zan.kz/kaz/docs/P090001936%5F>`_
|
|
57
|
-
- 2010: `<https://adilet.zan.kz/kaz/docs/P090002216%5F>`_,
|
|
58
|
-
`<https://adilet.zan.kz/kaz/docs/P100000637%5F>`_
|
|
59
|
-
- 2011: `<https://adilet.zan.kz/kaz/docs/P1100000167>`_,
|
|
60
|
-
`<https://adilet.zan.kz/kaz/docs/P1100000948>`_
|
|
61
|
-
- 2012: `<https://adilet.zan.kz/kaz/docs/P1200000268>`_,
|
|
62
|
-
`<https://adilet.zan.kz/kaz/docs/P1200000458>`_,
|
|
63
|
-
`<https://adilet.zan.kz/kaz/docs/P1200001538>`_
|
|
64
|
-
- 2013: `<https://adilet.zan.kz/kaz/docs/P1300000345>`_,
|
|
65
|
-
`<https://adilet.zan.kz/kaz/docs/P1300001068>`_,
|
|
66
|
-
`<https://adilet.zan.kz/kaz/docs/P1300001322>`_
|
|
67
|
-
- `2014 <https://adilet.zan.kz/kaz/docs/P1400000365>`_
|
|
68
|
-
- `2016 <https://adilet.zan.kz/kaz/docs/P1600000067>`_
|
|
69
|
-
- `2017 <https://adilet.zan.kz/kaz/docs/P1700000005>`_
|
|
70
|
-
- `2018 <https://adilet.zan.kz/kaz/docs/P1700000864>`_
|
|
71
|
-
- `2019 <https://adilet.zan.kz/kaz/docs/P1800000888>`_
|
|
72
|
-
- `2020 <https://adilet.zan.kz/kaz/docs/P1900000820>`_
|
|
73
|
-
- `2021 <https://adilet.zan.kz/kaz/docs/P2000000930>`_
|
|
74
|
-
- `2022 <https://adilet.zan.kz/kaz/docs/P2200000796>`_
|
|
75
|
-
- `2023 <https://adilet.zan.kz/kaz/docs/P2300000326>`_
|
|
76
|
-
- `2024 <https://adilet.zan.kz/kaz/docs/G24G0000109>`_
|
|
77
|
-
- `2025 <https://adilet.zan.kz/kaz/docs/G24G0000436>`_
|
|
33
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Kazakhstan>
|
|
34
|
+
* <https://egov.kz/cms/en/articles/holidays-calend>
|
|
35
|
+
* <https://adilet.zan.kz/kaz/docs/Z010000267%5F/history>
|
|
36
|
+
* <https://adilet.zan.kz/kaz/docs/Z990000493%5F#z63>
|
|
78
37
|
|
|
79
38
|
Islamic holidays:
|
|
80
|
-
|
|
39
|
+
* [2025](https://en.inform.kz/news/first-day-of-ramadan-to-fall-on-march-1-2025-ca393f/)
|
|
81
40
|
"""
|
|
82
41
|
|
|
83
42
|
country = "KZ"
|
|
@@ -94,8 +53,10 @@ class Kazakhstan(
|
|
|
94
53
|
|
|
95
54
|
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
96
55
|
"""
|
|
97
|
-
:
|
|
98
|
-
|
|
56
|
+
Args:
|
|
57
|
+
islamic_show_estimated:
|
|
58
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
59
|
+
if holiday date is estimated.
|
|
99
60
|
"""
|
|
100
61
|
ChristianHolidays.__init__(self, JULIAN_CALENDAR)
|
|
101
62
|
InternationalHolidays.__init__(self)
|
|
@@ -210,6 +171,60 @@ class KazakhstanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
210
171
|
|
|
211
172
|
|
|
212
173
|
class KazakhstanStaticHolidays:
|
|
174
|
+
"""Kazakhstan special holidays.
|
|
175
|
+
|
|
176
|
+
References:
|
|
177
|
+
* [2000](https://adilet.zan.kz/kaz/docs/P000000642%5F)
|
|
178
|
+
* 2001:
|
|
179
|
+
* <https://adilet.zan.kz/kaz/docs/P010000282%5F>
|
|
180
|
+
* <https://adilet.zan.kz/kaz/docs/P010000515%5F>
|
|
181
|
+
* <https://adilet.zan.kz/kaz/docs/P010001604%5F>
|
|
182
|
+
* [2002](https://adilet.zan.kz/kaz/docs/P020000466%5F)
|
|
183
|
+
* 2003:
|
|
184
|
+
* <https://adilet.zan.kz/kaz/docs/P030000338%5F>
|
|
185
|
+
* <https://adilet.zan.kz/kaz/docs/P030001166%5F>
|
|
186
|
+
* 2005:
|
|
187
|
+
* <https://adilet.zan.kz/kaz/docs/P050000142%5F>
|
|
188
|
+
* <https://adilet.zan.kz/kaz/docs/P050000751%5F>
|
|
189
|
+
* <https://adilet.zan.kz/kaz/docs/P050000949%5F>
|
|
190
|
+
* 2006:
|
|
191
|
+
* <https://adilet.zan.kz/kaz/docs/P050001309%5F>
|
|
192
|
+
* <https://adilet.zan.kz/kaz/docs/P060000277%5F>
|
|
193
|
+
* 2007:
|
|
194
|
+
* <https://adilet.zan.kz/kaz/docs/P070000148%5F>
|
|
195
|
+
* <https://adilet.zan.kz/kaz/docs/P070000165%5F>
|
|
196
|
+
* <https://adilet.zan.kz/kaz/docs/P070000713%5F>
|
|
197
|
+
* <https://adilet.zan.kz/kaz/docs/P070000925%5F>
|
|
198
|
+
* <https://adilet.zan.kz/kaz/docs/P070001113%5F>
|
|
199
|
+
* [2008](https://adilet.zan.kz/kaz/docs/P080000364%5F)
|
|
200
|
+
* [2009](https://adilet.zan.kz/kaz/docs/P090001936%5F)
|
|
201
|
+
* 2010:
|
|
202
|
+
* <https://adilet.zan.kz/kaz/docs/P090002216%5F>
|
|
203
|
+
* <https://adilet.zan.kz/kaz/docs/P100000637%5F>
|
|
204
|
+
* 2011:
|
|
205
|
+
* <https://adilet.zan.kz/kaz/docs/P1100000167>
|
|
206
|
+
* <https://adilet.zan.kz/kaz/docs/P1100000948>
|
|
207
|
+
* 2012:
|
|
208
|
+
* <https://adilet.zan.kz/kaz/docs/P1200000268>
|
|
209
|
+
* <https://adilet.zan.kz/kaz/docs/P1200000458>
|
|
210
|
+
* <https://adilet.zan.kz/kaz/docs/P1200001538>
|
|
211
|
+
* 2013:
|
|
212
|
+
* <https://adilet.zan.kz/kaz/docs/P1300000345>
|
|
213
|
+
* <https://adilet.zan.kz/kaz/docs/P1300001068>
|
|
214
|
+
* <https://adilet.zan.kz/kaz/docs/P1300001322>
|
|
215
|
+
* [2014](https://adilet.zan.kz/kaz/docs/P1400000365)
|
|
216
|
+
* [2016](https://adilet.zan.kz/kaz/docs/P1600000067)
|
|
217
|
+
* [2017](https://adilet.zan.kz/kaz/docs/P1700000005)
|
|
218
|
+
* [2018](https://adilet.zan.kz/kaz/docs/P1700000864)
|
|
219
|
+
* [2019](https://adilet.zan.kz/kaz/docs/P1800000888)
|
|
220
|
+
* [2020](https://adilet.zan.kz/kaz/docs/P1900000820)
|
|
221
|
+
* [2021](https://adilet.zan.kz/kaz/docs/P2000000930)
|
|
222
|
+
* [2022](https://adilet.zan.kz/kaz/docs/P2200000796)
|
|
223
|
+
* [2023](https://adilet.zan.kz/kaz/docs/P2300000326)
|
|
224
|
+
* [2024](https://adilet.zan.kz/kaz/docs/G24G0000109)
|
|
225
|
+
* [2025](https://adilet.zan.kz/kaz/docs/G24G0000436)
|
|
226
|
+
"""
|
|
227
|
+
|
|
213
228
|
# Substituted date format.
|
|
214
229
|
substituted_date_format = tr("%d.%m.%Y")
|
|
215
230
|
# Day off (substituted from %s).
|
holidays/countries/kenya.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -33,11 +33,12 @@ class Kenya(
|
|
|
33
33
|
IslamicHolidays,
|
|
34
34
|
StaticHolidays,
|
|
35
35
|
):
|
|
36
|
-
"""
|
|
36
|
+
"""Kenya holidays.
|
|
37
|
+
|
|
37
38
|
References:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Kenya>
|
|
40
|
+
* [Public Holidays Act Cap. 110](https://new.kenyalaw.org/akn/ke/act/1912/21/eng@2024-04-26)
|
|
41
|
+
* [Constitution of Kenya (Art. 9)](https://new.kenyalaw.org/akn/ke/act/2010/constitution/eng@2010-09-03#chp_Two__sec_9)
|
|
41
42
|
"""
|
|
42
43
|
|
|
43
44
|
country = "KE"
|
|
@@ -55,8 +56,10 @@ class Kenya(
|
|
|
55
56
|
|
|
56
57
|
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
57
58
|
"""
|
|
58
|
-
:
|
|
59
|
-
|
|
59
|
+
Args:
|
|
60
|
+
islamic_show_estimated:
|
|
61
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
62
|
+
if holiday date is estimated.
|
|
60
63
|
"""
|
|
61
64
|
ChristianHolidays.__init__(self)
|
|
62
65
|
HinduCalendarHolidays.__init__(self, cls=KenyaHinduHolidays)
|
|
@@ -201,18 +204,19 @@ class KenyaIslamicHolidays(_CustomIslamicHolidays):
|
|
|
201
204
|
|
|
202
205
|
|
|
203
206
|
class KenyaStaticHolidays:
|
|
204
|
-
"""
|
|
207
|
+
"""Kenya special holidays.
|
|
208
|
+
|
|
205
209
|
References:
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
210
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/2015-11-24/129/eng@2015-11-24>
|
|
211
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/2017-08-01/107/eng@2017-08-01>
|
|
212
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/2017-10-19/156/eng@2017-10-19>
|
|
213
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/2017-10-24/159/eng@2017-10-24>
|
|
214
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/2017-11-23/174/eng@2017-11-23>
|
|
215
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/gazette/2022-07-29/147/eng@2022-07-29>
|
|
216
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/gazette/2022-09-08/182/eng@2022-09-08>
|
|
217
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/gazette/2023-11-06/238/eng@2023-11-06>
|
|
218
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/gazette/2024-05-08/61/eng@2024-05-08>
|
|
219
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/2024-10-31/184/eng@2024-10-31>
|
|
216
220
|
"""
|
|
217
221
|
|
|
218
222
|
# Election Day.
|
holidays/countries/kuwait.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -18,11 +18,12 @@ from holidays.holiday_base import HolidayBase
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Kuwait(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
21
|
-
"""
|
|
21
|
+
"""Kuwait holidays.
|
|
22
|
+
|
|
22
23
|
References:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
* <https://en.wikipedia.org/wiki/2024_in_Kuwait>
|
|
25
|
+
* <https://www.officeholidays.com/countries/kuwait>
|
|
26
|
+
* <https://www.timeanddate.com/holidays/kuwait/2024>
|
|
26
27
|
"""
|
|
27
28
|
|
|
28
29
|
country = "KW"
|
|
@@ -33,8 +34,10 @@ class Kuwait(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
|
33
34
|
|
|
34
35
|
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
35
36
|
"""
|
|
36
|
-
:
|
|
37
|
-
|
|
37
|
+
Args:
|
|
38
|
+
islamic_show_estimated:
|
|
39
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
40
|
+
if holiday date is estimated.
|
|
38
41
|
"""
|
|
39
42
|
InternationalHolidays.__init__(self)
|
|
40
43
|
IslamicHolidays.__init__(self, show_estimated=islamic_show_estimated)
|
holidays/countries/kyrgyzstan.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -16,19 +16,20 @@ from holidays.holiday_base import HolidayBase
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class Kyrgyzstan(HolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolidays):
|
|
19
|
-
"""
|
|
20
|
-
Kyrgyzstan holidays.
|
|
19
|
+
"""Kyrgyzstan holidays.
|
|
21
20
|
|
|
22
21
|
References:
|
|
23
|
-
|
|
22
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Kyrgyzstan>
|
|
24
23
|
"""
|
|
25
24
|
|
|
26
25
|
country = "KG"
|
|
27
26
|
|
|
28
27
|
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
29
28
|
"""
|
|
30
|
-
:
|
|
31
|
-
|
|
29
|
+
Args:
|
|
30
|
+
islamic_show_estimated:
|
|
31
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
32
|
+
if holiday date is estimated.
|
|
32
33
|
"""
|
|
33
34
|
ChristianHolidays.__init__(self, JULIAN_CALENDAR)
|
|
34
35
|
InternationalHolidays.__init__(self)
|
holidays/countries/laos.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -20,44 +20,36 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SAT_SUN_TO_NEXT_
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class Laos(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiCalendarHolidays):
|
|
23
|
-
"""
|
|
24
|
-
A subclass of :py:class:`HolidayBase` representing public holidays in Laos.
|
|
23
|
+
"""Laos holidays.
|
|
25
24
|
|
|
26
25
|
References:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
!!! If Public Holiday falls on weekends, (in lieu) on workday !!!
|
|
26
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Laos>
|
|
27
|
+
* [Decree on Holidays No. 386 / Rev. 15.12.2017](https://juristact.weebly.com/uploads/1/0/9/9/109947087/d17_386.pdf)
|
|
28
|
+
|
|
29
|
+
Checked with:
|
|
30
|
+
* <https://asean.org/wp-content/uploads/2021/12/ASEAN-National-Holidays-2022.pdf>
|
|
31
|
+
* <https://asean.org/wp-content/uploads/2022/12/ASEAN-Public-Holidays-2023.pdf>
|
|
32
|
+
* <https://www.timeanddate.com/holidays/laos/>
|
|
33
|
+
* <https://www.bcel.com.la/bcel/bcel-calendar.html?y=2022>
|
|
34
|
+
* <https://www.bcel.com.la/bcel/bcel-calendar.html?y=2023>
|
|
35
|
+
* <https://www.bcel.com.la/bcel/bcel-calendar.html?y=2024>
|
|
36
|
+
* <http://www.lsx.com.la/cal/getStockCalendar.do?lang=lo> (from 2011 onwards)
|
|
37
|
+
|
|
38
|
+
!!! note "If Public Holiday falls on weekends, (in lieu) on workday"
|
|
41
39
|
Despite the wording, this usually only applies to Monday only for holidays,
|
|
42
40
|
consecutive holidays all have their own special in lieu declared separately.
|
|
43
41
|
|
|
44
|
-
|
|
42
|
+
As featured in Decree on Holidays No. 386:
|
|
45
43
|
- Saturdays and Sundays shall be restdays each week.
|
|
46
44
|
- In-Lieu holidays shall be given if it fall on the weekends.
|
|
47
45
|
|
|
48
|
-
|
|
46
|
+
Although in-lieus has been de facto observed since at least 2012.
|
|
49
47
|
|
|
50
48
|
Limitations:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
(B.E. 2701) as we only have Thai year-type data for cross-checking until then.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
Country created by: `PPsyrius <https://github.com/PPsyrius>`__
|
|
59
|
-
|
|
60
|
-
Country maintained by: `PPsyrius <https://github.com/PPsyrius>`__
|
|
49
|
+
- Laotian holidays only works from 1976 onwards, and are only 100% accurate from 2018
|
|
50
|
+
onwards.
|
|
51
|
+
- Laotian Lunar Calendar Holidays only work from 1941 (B.E. 2485) onwards until 2157
|
|
52
|
+
(B.E. 2701) as we only have Thai year-type data for cross-checking until then.
|
|
61
53
|
"""
|
|
62
54
|
|
|
63
55
|
country = "LA"
|
holidays/countries/latvia.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -18,10 +18,12 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SAT_SUN_TO_NEXT_
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Latvia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
21
|
-
"""
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
"""Latvia holidays.
|
|
22
|
+
|
|
23
|
+
References:
|
|
24
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Latvia>
|
|
25
|
+
* <https://information.lv/>
|
|
26
|
+
* <https://likumi.lv/ta/id/72608-par-svetku-atceres-un-atzimejamam-dienam>
|
|
25
27
|
"""
|
|
26
28
|
|
|
27
29
|
country = "LV"
|
holidays/countries/lesotho.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -16,11 +16,12 @@ from holidays.holiday_base import HolidayBase
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class Lesotho(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
19
|
-
"""
|
|
19
|
+
"""Lesotho holidays.
|
|
20
|
+
|
|
20
21
|
References:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Lesotho>
|
|
23
|
+
* <https://www.ilo.org/dyn/travail/docs/2093/Public%20Holidays%20Act%201995.pdf>
|
|
24
|
+
* <https://www.timeanddate.com/holidays/lesotho/>
|
|
24
25
|
"""
|
|
25
26
|
|
|
26
27
|
country = "LS"
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -18,11 +18,11 @@ from holidays.holiday_base import HolidayBase
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Liechtenstein(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
21
|
-
"""
|
|
22
|
-
|
|
21
|
+
"""Liechtenstein holidays.
|
|
22
|
+
|
|
23
23
|
References:
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Liechtenstein>
|
|
25
|
+
* <https://www.llb.li/en/contact/bank-holidays>
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
country = "LI"
|
holidays/countries/lithuania.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -17,12 +17,11 @@ from holidays.holiday_base import HolidayBase
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class Lithuania(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
20
|
-
"""
|
|
21
|
-
Lithuania holidays.
|
|
20
|
+
"""Lithuania holidays.
|
|
22
21
|
|
|
23
22
|
References:
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Lithuania>
|
|
24
|
+
* <https://www.kalendorius.today/>
|
|
26
25
|
"""
|
|
27
26
|
|
|
28
27
|
country = "LT"
|
holidays/countries/luxembourg.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -17,8 +17,10 @@ from holidays.holiday_base import HolidayBase
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class Luxembourg(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
20
|
-
"""
|
|
21
|
-
|
|
20
|
+
"""Luxembourg holidays.
|
|
21
|
+
|
|
22
|
+
References:
|
|
23
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Luxembourg>
|
|
22
24
|
"""
|
|
23
25
|
|
|
24
26
|
country = "LU"
|
holidays/countries/macau.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -34,27 +34,30 @@ class Macau(
|
|
|
34
34
|
InternationalHolidays,
|
|
35
35
|
StaticHolidays,
|
|
36
36
|
):
|
|
37
|
-
"""
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
37
|
+
"""Macau holidays.
|
|
38
|
+
|
|
39
|
+
References:
|
|
40
|
+
* [Decreto-Lei n.º 4/82/M](https://bo.io.gov.mo/bo/i/82/04/declei04.asp)
|
|
41
|
+
* [Decreto-Lei n.º 38/87/M](https://bo.io.gov.mo/bo/i/87/25/declei38.asp)
|
|
42
|
+
* [Decreto-Lei n.º 15/93/M](https://bo.io.gov.mo/bo/i/93/17/declei15.asp)
|
|
43
|
+
* [Decreto-Lei n.º 7/97/M](https://bo.io.gov.mo/bo/i/97/11/declei07.asp)
|
|
44
|
+
* [Portaria n.º 85/97/M](https://bo.io.gov.mo/bo/i/97/15/port85.asp)
|
|
45
|
+
* [Portaria n.º 242/98/M](https://bo.io.gov.mo/bo/i/98/48/port242.asp)
|
|
46
|
+
* [Regulamento Administrativo n.º 4/1999](https://bo.io.gov.mo/bo/i/1999/01/regadm04.asp)
|
|
47
|
+
* [Regulamento Administrativo n.º 5/1999](https://bo.io.gov.mo/bo/i/1999/01/regadm05.asp)
|
|
48
|
+
* [Ordem Executiva n.º 60/2000](https://bo.io.gov.mo/bo/i/2000/40/ordem60.asp)
|
|
49
|
+
* [Lei n.º 27/2024](https://bo.io.gov.mo/bo/i/2025/01/lei27.asp#an2l63)
|
|
50
|
+
|
|
49
51
|
Mandatory Holidays References:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
* [Decreto-Lei n.º 101/84/M](https://bo.io.gov.mo/bo/i/84/35/declei101.asp)
|
|
53
|
+
* [Decreto-Lei n.º 24/89/M](https://bo.io.gov.mo/bo/i/89/14/declei24.asp)
|
|
54
|
+
* [Lei n.º 8/2000](https://bo.io.gov.mo/bo/i/2000/19/lei08.asp)
|
|
55
|
+
* [Lei n.º 7/2008](https://bo.io.gov.mo/bo/i/2008/33/lei07.asp)
|
|
56
|
+
|
|
54
57
|
Cross-Checking:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
* [Public Holidays for 2017–2025](https://www.gov.mo/en/public-holidays/year-2017/)
|
|
59
|
+
* [Public Holidays for 2005-2018](https://web.archive.org/web/20171207162948/http://portal.gov.mo/web/guest/info_detail?infoid=1887061)
|
|
60
|
+
* [Mandatory Holidays for 2009-2029](https://www.dsal.gov.mo/pt/standard/holiday_table.html)
|
|
58
61
|
"""
|
|
59
62
|
|
|
60
63
|
country = "MO"
|
|
@@ -402,14 +405,17 @@ class MAC(Macau):
|
|
|
402
405
|
|
|
403
406
|
|
|
404
407
|
class MacauStaticHolidays:
|
|
405
|
-
"""
|
|
408
|
+
"""Macau special holidays.
|
|
409
|
+
|
|
406
410
|
Special Public and Government Holidays:
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
411
|
+
* <https://www.io.gov.mo/pt/legis/rec/111020>
|
|
412
|
+
|
|
413
|
+
Special Mandatory Holidays:
|
|
414
|
+
* <https://www.dsal.gov.mo/pt/standard/holiday_table.html>
|
|
415
|
+
|
|
410
416
|
Cross-Checking:
|
|
411
|
-
|
|
412
|
-
|
|
417
|
+
* [Public Holidays for 2017–2025](https://www.gov.mo/en/public-holidays/year-2017/)
|
|
418
|
+
* [Public Holidays for 2005-2018](https://web.archive.org/web/20171207162948/http://portal.gov.mo/web/guest/info_detail?infoid=1887061)
|
|
413
419
|
"""
|
|
414
420
|
|
|
415
421
|
# Additional Public Holiday.
|
holidays/countries/madagascar.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -18,10 +18,11 @@ from holidays.holiday_base import HolidayBase
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Madagascar(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
21
|
-
"""
|
|
21
|
+
"""Madagascar holidays.
|
|
22
|
+
|
|
22
23
|
References:
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
* <https://www.officeholidays.com/countries/madagascar>
|
|
25
|
+
* <https://www.timeanddate.com/holidays/madagascar/>
|
|
25
26
|
"""
|
|
26
27
|
|
|
27
28
|
country = "MG"
|
holidays/countries/malawi.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -19,9 +19,11 @@ from holidays.observed_holiday_base import (
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class Malawi(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
22
|
-
"""
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
"""Malawi holidays.
|
|
23
|
+
|
|
24
|
+
References:
|
|
25
|
+
* <https://www.officeholidays.com/countries/malawi>
|
|
26
|
+
* <https://www.timeanddate.com/holidays/malawi/>
|
|
25
27
|
"""
|
|
26
28
|
|
|
27
29
|
country = "MW"
|