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/lithuania.py
CHANGED
|
@@ -21,7 +21,7 @@ class Lithuania(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
21
21
|
|
|
22
22
|
References:
|
|
23
23
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Lithuania>
|
|
24
|
-
* <https://www.kalendorius.today/>
|
|
24
|
+
* <https://web.archive.org/web/20250415141132/https://www.kalendorius.today/>
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
country = "LT"
|
holidays/countries/macau.py
CHANGED
|
@@ -37,27 +37,27 @@ class Macau(
|
|
|
37
37
|
"""Macau holidays.
|
|
38
38
|
|
|
39
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
|
|
40
|
+
* [Decreto-Lei n.º 4/82/M](https://web.archive.org/web/20250422171106/https://bo.io.gov.mo/bo/i/82/04/declei04.asp)
|
|
41
|
+
* [Decreto-Lei n.º 38/87/M](https://web.archive.org/web/20250421204103/https://bo.io.gov.mo/bo/i/87/25/declei38.asp)
|
|
42
|
+
* [Decreto-Lei n.º 15/93/M](https://web.archive.org/web/20250421233338/https://bo.io.gov.mo/bo/i/93/17/declei15.asp)
|
|
43
|
+
* [Decreto-Lei n.º 7/97/M](https://web.archive.org/web/20250421102457/https://bo.io.gov.mo/bo/i/97/11/declei07.asp)
|
|
44
|
+
* [Portaria n.º 85/97/M](https://web.archive.org/web/20250421075645/https://bo.io.gov.mo/bo/i/97/15/port85.asp)
|
|
45
|
+
* [Portaria n.º 242/98/M](https://web.archive.org/web/20250421194357/https://bo.io.gov.mo/bo/i/98/48/port242.asp)
|
|
46
|
+
* [Regulamento Administrativo n.º 4/1999](https://web.archive.org/web/20250421071204/https://bo.io.gov.mo/bo/i/1999/01/regadm04.asp)
|
|
47
|
+
* [Regulamento Administrativo n.º 5/1999](https://web.archive.org/web/20240529183711/https://bo.io.gov.mo/bo/i/1999/01/regadm05.asp)
|
|
48
|
+
* [Ordem Executiva n.º 60/2000](https://web.archive.org/web/20250421064911/https://bo.io.gov.mo/bo/i/2000/40/ordem60.asp)
|
|
49
|
+
* [Lei n.º 27/2024](https://web.archive.org/web/20250404201226/https://bo.io.gov.mo/bo/i/2025/01/lei27.asp)
|
|
50
50
|
|
|
51
51
|
Mandatory Holidays References:
|
|
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)
|
|
52
|
+
* [Decreto-Lei n.º 101/84/M](https://web.archive.org/web/20240518230957/https://bo.io.gov.mo/bo/i/84/35/declei101.asp)
|
|
53
|
+
* [Decreto-Lei n.º 24/89/M](https://web.archive.org/web/20241215223116/https://bo.io.gov.mo/bo/i/89/14/declei24.asp)
|
|
54
|
+
* [Lei n.º 8/2000](https://web.archive.org/web/20240303230903/https://bo.io.gov.mo/bo/i/2000/19/lei08.asp)
|
|
55
|
+
* [Lei n.º 7/2008](https://web.archive.org/web/20250403121227/https://bo.io.gov.mo/bo/i/2008/33/lei07.asp)
|
|
56
56
|
|
|
57
57
|
Cross-Checking:
|
|
58
|
-
* [Public Holidays for 2017-2025](https://www.gov.mo/en/public-holidays/year-2017/)
|
|
58
|
+
* [Public Holidays for 2017-2025](https://web.archive.org/web/20210509143637/https://www.gov.mo/en/public-holidays/year-2017/)
|
|
59
59
|
* [Public Holidays for 2005-2018](https://web.archive.org/web/20171207162948/http://portal.gov.mo/web/guest/info_detail?infoid=1887061)
|
|
60
|
-
* [Mandatory Holidays for 2009-2029](https://www.dsal.gov.mo/pt/standard/holiday_table.html)
|
|
60
|
+
* [Mandatory Holidays for 2009-2029](https://web.archive.org/web/20250421090753/https://www.dsal.gov.mo/pt/standard/holiday_table.html)
|
|
61
61
|
"""
|
|
62
62
|
|
|
63
63
|
country = "MO"
|
|
@@ -408,13 +408,13 @@ class MacauStaticHolidays:
|
|
|
408
408
|
"""Macau special holidays.
|
|
409
409
|
|
|
410
410
|
Special Public and Government Holidays:
|
|
411
|
-
* <https://www.io.gov.mo/pt/legis/rec/111020>
|
|
411
|
+
* <https://web.archive.org/web/20240421052702/https://www.io.gov.mo/pt/legis/rec/111020>
|
|
412
412
|
|
|
413
413
|
Special Mandatory Holidays:
|
|
414
|
-
* <https://www.dsal.gov.mo/pt/standard/holiday_table.html>
|
|
414
|
+
* <https://web.archive.org/web/20250421090753/https://www.dsal.gov.mo/pt/standard/holiday_table.html>
|
|
415
415
|
|
|
416
416
|
Cross-Checking:
|
|
417
|
-
* [Public Holidays for 2017-2025](https://www.gov.mo/en/public-holidays/year-2017/)
|
|
417
|
+
* [Public Holidays for 2017-2025](https://web.archive.org/web/20210509143637/https://www.gov.mo/en/public-holidays/year-2017/)
|
|
418
418
|
* [Public Holidays for 2005-2018](https://web.archive.org/web/20171207162948/http://portal.gov.mo/web/guest/info_detail?infoid=1887061)
|
|
419
419
|
"""
|
|
420
420
|
|
holidays/countries/madagascar.py
CHANGED
|
@@ -21,8 +21,8 @@ class Madagascar(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
21
21
|
"""Madagascar holidays.
|
|
22
22
|
|
|
23
23
|
References:
|
|
24
|
-
* <https://www.officeholidays.com/countries/madagascar>
|
|
25
|
-
* <https://www.timeanddate.com/holidays/madagascar/>
|
|
24
|
+
* <https://web.archive.org/web/20250114061412/https://www.officeholidays.com/countries/madagascar>
|
|
25
|
+
* <https://web.archive.org/web/20250413112126/https://www.timeanddate.com/holidays/madagascar/>
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
country = "MG"
|
holidays/countries/malawi.py
CHANGED
|
@@ -22,8 +22,8 @@ class Malawi(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
22
22
|
"""Malawi holidays.
|
|
23
23
|
|
|
24
24
|
References:
|
|
25
|
-
* <https://www.officeholidays.com/countries/malawi>
|
|
26
|
-
* <https://www.timeanddate.com/holidays/malawi/>
|
|
25
|
+
* <https://web.archive.org/web/20250414071022/https://www.officeholidays.com/countries/malawi>
|
|
26
|
+
* <https://web.archive.org/web/20250213080059/https://www.timeanddate.com/holidays/malawi/>
|
|
27
27
|
"""
|
|
28
28
|
|
|
29
29
|
country = "MW"
|
holidays/countries/malaysia.py
CHANGED
|
@@ -65,12 +65,12 @@ class Malaysia(
|
|
|
65
65
|
"""Malaysia holidays.
|
|
66
66
|
|
|
67
67
|
References:
|
|
68
|
-
* [Holidays Act 1951](https://www.kabinet.gov.my/bkpp/pdf/akta_warta/1951_12_31_act369.pdf)
|
|
69
|
-
* [Holidays Ordinance (Sabah Cap. 56)](https://sagc.sabah.gov.my/sites/default/files/law/HolidaysOrdinance.pdf)
|
|
70
|
-
* [Public Holidays Ordinance (Sarawak Cap. 8)](https://www.kabinet.gov.my/bkpp/pdf/akta_warta/sarawak_public_holidays_ord_chapter8.pdf)
|
|
68
|
+
* [Holidays Act 1951](https://web.archive.org/web/20241202103403/https://www.kabinet.gov.my/bkpp/pdf/akta_warta/1951_12_31_act369.pdf)
|
|
69
|
+
* [Holidays Ordinance (Sabah Cap. 56)](https://web.archive.org/web/20201028045259/https://sagc.sabah.gov.my/sites/default/files/law/HolidaysOrdinance.pdf)
|
|
70
|
+
* [Public Holidays Ordinance (Sarawak Cap. 8)](https://web.archive.org/web/20221208142318/https://www.kabinet.gov.my/bkpp/pdf/akta_warta/sarawak_public_holidays_ord_chapter8.pdf)
|
|
71
71
|
* [Wikipedia](https://en.wikipedia.org/wiki/Public_holidays_in_Malaysia)
|
|
72
|
-
* <https://www.nst.com.my/news/nation/2020/03/571660/agongs-birthday-moved-june-6-june-8>
|
|
73
|
-
* <https://www.nst.com.my/news/nation/2024/02/1014012/melaka-cm-suggests-declaring-feb-20-federal-public-holiday-mark>
|
|
72
|
+
* <https://web.archive.org/web/20250123115300/https://www.nst.com.my/news/nation/2020/03/571660/agongs-birthday-moved-june-6-june-8>
|
|
73
|
+
* <https://web.archive.org/web/20240228225038/https://www.nst.com.my/news/nation/2024/02/1014012/melaka-cm-suggests-declaring-feb-20-federal-public-holiday-mark>
|
|
74
74
|
|
|
75
75
|
Section 3 of Holidays Act 1951:
|
|
76
76
|
> If any day specified in the Schedule falls on Sunday then the day following shall be
|
|
@@ -144,7 +144,7 @@ class Malaysia(
|
|
|
144
144
|
}
|
|
145
145
|
supported_languages = ("en_US", "ms_MY", "th")
|
|
146
146
|
|
|
147
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
147
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
148
148
|
"""
|
|
149
149
|
Args:
|
|
150
150
|
islamic_show_estimated:
|
holidays/countries/maldives.py
CHANGED
|
@@ -20,14 +20,14 @@ class Maldives(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
|
20
20
|
|
|
21
21
|
References:
|
|
22
22
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_the_Maldives>
|
|
23
|
-
* <https://www.timeanddate.com/holidays/maldives
|
|
24
|
-
* <
|
|
23
|
+
* <https://web.archive.org/web/20250317114653/https://www.timeanddate.com/holidays/maldives>
|
|
24
|
+
* <https://web.archive.org/web/20250427131834/https://www.mma.gov.mv/>
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
country = "MV"
|
|
28
28
|
weekend = {FRI, SAT}
|
|
29
29
|
|
|
30
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
30
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
31
31
|
"""
|
|
32
32
|
Args:
|
|
33
33
|
islamic_show_estimated:
|
holidays/countries/malta.py
CHANGED
|
@@ -20,12 +20,12 @@ class Malta(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
20
20
|
"""Malta holidays.
|
|
21
21
|
|
|
22
22
|
References:
|
|
23
|
-
* <https://www.gov.mt/en/About%20Malta/Pages/Public%20Holidays.aspx>
|
|
24
|
-
* [Att 10 tal-1980 (Oldest Maltese Holidays Law available online in full)](https://legislation.mt/eli/act/1980/10/mlt)
|
|
25
|
-
* [A.L. 40 tal-1987 (Additional Holidays added)](https://legislation.mt/eli/ln/1987/8/mlt)
|
|
26
|
-
* [Att 8 tal-1989 (Additional Holidays added)](https://legislation.mt/eli/act/1989/8)
|
|
27
|
-
* [Att 2 tal-2005 (If fall on weekends then not observed in terms of vacation leave)](https://legislation.mt/eli/act/2005/2/eng)
|
|
28
|
-
* [Att 4 tal-2021 (Revert Act II of 2005 changes for vacation leave)](https://legislation.mt/eli/cap/252/20210212/mlt)
|
|
23
|
+
* <https://web.archive.org/web/20240406224540/https://www.gov.mt/en/About%20Malta/Pages/Public%20Holidays.aspx>
|
|
24
|
+
* [Att 10 tal-1980 (Oldest Maltese Holidays Law available online in full)](https://web.archive.org/web/20250427184411/https://legislation.mt/eli/act/1980/10/mlt)
|
|
25
|
+
* [A.L. 40 tal-1987 (Additional Holidays added)](https://web.archive.org/web/20250427184605/https://legislation.mt/eli/ln/1987/8/mlt)
|
|
26
|
+
* [Att 8 tal-1989 (Additional Holidays added)](https://web.archive.org/web/20250427184429/https://legislation.mt/eli/act/1989/8)
|
|
27
|
+
* [Att 2 tal-2005 (If fall on weekends then not observed in terms of vacation leave)](https://web.archive.org/web/20250427184434/https://legislation.mt/eli/act/2005/2/eng)
|
|
28
|
+
* [Att 4 tal-2021 (Revert Act II of 2005 changes for vacation leave)](https://web.archive.org/web/20240716035452/https://legislation.mt/eli/cap/252/20210212/mlt)
|
|
29
29
|
"""
|
|
30
30
|
|
|
31
31
|
country = "MT"
|
|
@@ -21,8 +21,8 @@ class HolidaysMH(ObservedHolidayBase, ChristianHolidays, InternationalHolidays,
|
|
|
21
21
|
"""Marshall Islands holidays.
|
|
22
22
|
|
|
23
23
|
References:
|
|
24
|
-
* <https://rmiparliament.org/cms/component/content/article/14-pressrelease/49-important-public-holidays.html?Itemid=101>
|
|
25
|
-
* <https://www.rmiembassyus.org/country-profile
|
|
24
|
+
* <https://web.archive.org/web/20240613114250/https://rmiparliament.org/cms/component/content/article/14-pressrelease/49-important-public-holidays.html?Itemid=101>
|
|
25
|
+
* <https://web.archive.org/web/20230528174331/http://www.rmiembassyus.org/country-profile>
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
country = "MH"
|
holidays/countries/mauritania.py
CHANGED
|
@@ -20,13 +20,13 @@ class Mauritania(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
|
20
20
|
|
|
21
21
|
References:
|
|
22
22
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Mauritania>
|
|
23
|
-
* <https://www.timeanddate.com/holidays/mauritania/>
|
|
23
|
+
* <https://web.archive.org/web/20250408205543/https://www.timeanddate.com/holidays/mauritania/>
|
|
24
24
|
"""
|
|
25
25
|
|
|
26
26
|
country = "MR"
|
|
27
27
|
weekend = {FRI, SAT}
|
|
28
28
|
|
|
29
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
29
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
30
30
|
"""
|
|
31
31
|
Args:
|
|
32
32
|
islamic_show_estimated:
|
holidays/countries/mexico.py
CHANGED
|
@@ -21,10 +21,10 @@ class Mexico(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
21
21
|
|
|
22
22
|
References:
|
|
23
23
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Mexico>
|
|
24
|
-
* <https://es.wikipedia.org/wiki/Anexo:
|
|
25
|
-
* <https://www.gob.mx/cms/uploads/attachment/file/156203/1044_Ley_Federal_del_Trabajo.pdf>
|
|
26
|
-
* <http://www.diputados.gob.mx/LeyesBiblio/ref/lft/LFT_orig_01abr70_ima.pdf>
|
|
27
|
-
* <https://www.gob.mx/profedet/es/articulos/sabes-cuales-son-los-dias-de-descanso-obligatorio-para-este-2024>
|
|
24
|
+
* <https://es.wikipedia.org/wiki/Anexo:Días_festivos_en_México>
|
|
25
|
+
* <https://web.archive.org/web/20250421111013/https://www.gob.mx/cms/uploads/attachment/file/156203/1044_Ley_Federal_del_Trabajo.pdf>
|
|
26
|
+
* <https://web.archive.org/web/20250427131751/http://www.diputados.gob.mx/LeyesBiblio/ref/lft/LFT_orig_01abr70_ima.pdf>
|
|
27
|
+
* <https://web.archive.org/web/20250414071145/https://www.gob.mx/profedet/es/articulos/sabes-cuales-son-los-dias-de-descanso-obligatorio-para-este-2024>
|
|
28
28
|
"""
|
|
29
29
|
|
|
30
30
|
country = "MX"
|
|
@@ -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.groups import ChristianHolidays, InternationalHolidays
|
|
16
|
+
from holidays.observed_holiday_base import ObservedHolidayBase, SAT_TO_PREV_FRI, SUN_TO_NEXT_MON
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class Micronesia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
20
|
+
"""Micronesia holidays.
|
|
21
|
+
|
|
22
|
+
References:
|
|
23
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_the_Federated_States_of_Micronesia>
|
|
24
|
+
* <https://web.archive.org/web/20250605035443/https://www.timeanddate.com/holidays/micronesia/>
|
|
25
|
+
* [2014 FSM Code](https://web.archive.org/web/20241213112548/http://www.fsmlaw.org/fsm/code/PDF/FSMCA2014Tit01.pdf)
|
|
26
|
+
* [Section 601, 602, 603](https://web.archive.org/web/20020731194201/http://fsmlaw.org/fsm/code/title01/t01ch06.htm)
|
|
27
|
+
* [United Nations Day](https://web.archive.org/web/20241213120703/http://www.fsmlaw.org/fsm/code/PDF/CODE%201/PL%207-20.pdf)
|
|
28
|
+
* [FSM Veterans of Foreign Wars Day](https://web.archive.org/web/20241213120631/http://www.fsmlaw.org/fsm/code/PDF/CODE%201/PL%2013-38.pdf)
|
|
29
|
+
* [Micronesian Culture and Tradition Day](https://web.archive.org/web/20241213114748/http://fsmlaw.org/fsm/code/PDF/CODE%201/PL%2016-27.pdf)
|
|
30
|
+
* [Presidents Day](https://web.archive.org/web/20241213120719/http://www.fsmlaw.org/fsm/code/PDF/CODE%201/PL%2021-209.pdf)
|
|
31
|
+
|
|
32
|
+
Subdivisions Holidays References:
|
|
33
|
+
* Chuuk:
|
|
34
|
+
* [Chuuk State Code, T. 1, Chap. 3](https://web.archive.org/web/20250214151354/http://fsmlaw.org/chuuk/code/title01/T01_Ch03.htm)
|
|
35
|
+
* [State Charter Day](https://web.archive.org/web/20241213113932/http://fsmlaw.org/chuuk/pdf/tsl_a/TSL%203-10%20EV.pdf)
|
|
36
|
+
* [Chuuk State Constitution Day](https://web.archive.org/web/20241213113821/http://fsmlaw.org/chuuk/pdf/csl_a/CSL%20190-03%20EV.pdf)
|
|
37
|
+
* Kosrae:
|
|
38
|
+
* [Kosrae State Code, Section 2.501](https://web.archive.org/web/20250211055635/http://fsmlaw.org/kosrae/code/title02/t02c05.htm)
|
|
39
|
+
* [Seventh Korsae State Legislature](https://web.archive.org/web/20241213115951/https://fsmlaw.org/kosrae/Law/pdf/123.pdf)
|
|
40
|
+
* [Fourth Kosrae State Legislature](https://web.archive.org/web/20241213115949/https://fsmlaw.org/kosrae/Law/pdf/Kosrae%20State%20Law%201989-90.pdf)
|
|
41
|
+
* [State Law 4-32](https://web.archive.org/web/20250211151328/https://www.kosraestatelegislature.com/4th-ksl-state-laws)
|
|
42
|
+
* [State Law 7-76](https://web.archive.org/web/20250211151710/https://www.kosraestatelegislature.com/7th-ksl-state-laws)
|
|
43
|
+
* [State Law 9-50](https://web.archive.org/web/20250430191523/https://www.kosraestatelegislature.com/9th-ksl-state-laws)
|
|
44
|
+
* [State Law 13-79](https://web.archive.org/web/20241211232231/https://www.kosraestatelegislature.com/_files/ugd/f1e94d_cc244ef15bea4c74ba81cb1a4621c30f.pdf)
|
|
45
|
+
* Pohnpei:
|
|
46
|
+
* [State Code 2012](https://web.archive.org/web/20250209195119/https://fsmlaw.org/pohnpei/code/pdf/pohnpei%20state%202012%20code.pdf)
|
|
47
|
+
* [2025](https://web.archive.org/web/20250124225740/https://pohnpeistate.gov.fm/fy-2025-holiday-schedule/)
|
|
48
|
+
* [Women's Day](https://web.archive.org/web/20250403093235/https://pohnpeistate.gov.fm/2022/02/22/congratulations-pohnpei-womens-council-and-all-who-supported-this-important-undertaking/)
|
|
49
|
+
* [Yap](https://web.archive.org/web/20250223222339/http://fsmlaw.org/yap/code/title01/T01_Ch08.htm)
|
|
50
|
+
|
|
51
|
+
According to Section 602:
|
|
52
|
+
|
|
53
|
+
> All holidays set forth in section 601 shall, if they occur on a Saturday,
|
|
54
|
+
> be observed on the preceding Friday, and shall, if they occur on a Sunday,
|
|
55
|
+
> be observed on the following Monday.
|
|
56
|
+
|
|
57
|
+
According to Kosrae State Legislature State Laws:
|
|
58
|
+
|
|
59
|
+
* 4-32: Government Holidays were amended.
|
|
60
|
+
* 4-135: September 8 was declared a public holiday.
|
|
61
|
+
* 7-27: Good Friday was declared a public holiday.
|
|
62
|
+
* 7-76: Gospel Day was declared a public holiday.
|
|
63
|
+
* 9-50: Thanksgiving Day was declared a public holiday.
|
|
64
|
+
* 13-79: Kosrae Disability Day was declared a public holiday.
|
|
65
|
+
|
|
66
|
+
According to Pohnpei State Code 2012 Section 7-101:
|
|
67
|
+
|
|
68
|
+
* Pohnpei Constitution Day is a public holiday.
|
|
69
|
+
* Liberation Day is a public holiday.
|
|
70
|
+
* Pohnpei Cultural Day is a public holiday.
|
|
71
|
+
* Good Friday is a public holiday.
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
country = "FM"
|
|
75
|
+
default_language = "en_FM"
|
|
76
|
+
# %s (observed).
|
|
77
|
+
observed_label = tr("%s (observed)")
|
|
78
|
+
# Federated States of Micronesia gained independence on November 3, 1986.
|
|
79
|
+
start_year = 1987
|
|
80
|
+
subdivisions = (
|
|
81
|
+
"KSA", # Kosrae.
|
|
82
|
+
"PNI", # Pohnpei.
|
|
83
|
+
"TRK", # Chuuk.
|
|
84
|
+
"YAP", # Yap.
|
|
85
|
+
)
|
|
86
|
+
subdivisions_aliases = {
|
|
87
|
+
"Kosrae": "KSA",
|
|
88
|
+
"Kusaie": "KSA",
|
|
89
|
+
"Pohnpei": "PNI",
|
|
90
|
+
"Ponape": "PNI",
|
|
91
|
+
"Chuuk": "TRK",
|
|
92
|
+
"Truk": "TRK",
|
|
93
|
+
"Yap": "YAP",
|
|
94
|
+
}
|
|
95
|
+
supported_languages = ("en_FM", "en_US")
|
|
96
|
+
|
|
97
|
+
def __init__(self, *args, **kwargs):
|
|
98
|
+
ChristianHolidays.__init__(self)
|
|
99
|
+
InternationalHolidays.__init__(self)
|
|
100
|
+
kwargs.setdefault("observed_rule", SAT_TO_PREV_FRI + SUN_TO_NEXT_MON)
|
|
101
|
+
super().__init__(*args, **kwargs)
|
|
102
|
+
|
|
103
|
+
def _populate_public_holidays(self):
|
|
104
|
+
# New Year's Day.
|
|
105
|
+
name = tr("New Year's Day")
|
|
106
|
+
self._add_observed(self._add_new_years_day(name))
|
|
107
|
+
self._add_observed(self._next_year_new_years_day, name=name, rule=SAT_TO_PREV_FRI)
|
|
108
|
+
|
|
109
|
+
if self._year >= 2011:
|
|
110
|
+
self._add_observed(
|
|
111
|
+
# Micronesian Culture and Tradition Day.
|
|
112
|
+
self._add_holiday_mar_31(tr("Micronesian Culture and Tradition Day"))
|
|
113
|
+
)
|
|
114
|
+
|
|
115
|
+
# Federated States of Micronesia Day.
|
|
116
|
+
self._add_observed(self._add_holiday_may_10(tr("Federated States of Micronesia Day")))
|
|
117
|
+
|
|
118
|
+
if self._year >= 1991:
|
|
119
|
+
# United Nations Day.
|
|
120
|
+
self._add_observed(self._add_united_nations_day(tr("United Nations Day")))
|
|
121
|
+
|
|
122
|
+
# Independence Day.
|
|
123
|
+
self._add_observed(self._add_holiday_nov_3(tr("Independence Day")))
|
|
124
|
+
|
|
125
|
+
if self._year >= 2004:
|
|
126
|
+
# FSM Veterans of Foreign Wars Day.
|
|
127
|
+
self._add_observed(self._add_remembrance_day(tr("FSM Veterans of Foreign Wars Day")))
|
|
128
|
+
|
|
129
|
+
if self._year >= 2021:
|
|
130
|
+
# Presidents Day.
|
|
131
|
+
self._add_observed(self._add_holiday_nov_23(tr("Presidents Day")))
|
|
132
|
+
|
|
133
|
+
# Christmas Day.
|
|
134
|
+
self._add_observed(self._add_christmas_day(tr("Christmas Day")))
|
|
135
|
+
|
|
136
|
+
# Kosrae.
|
|
137
|
+
def _populate_subdiv_ksa_public_holidays(self):
|
|
138
|
+
if self._year >= 1991:
|
|
139
|
+
# Kosrae State Constitution Day.
|
|
140
|
+
self._add_observed(self._add_holiday_jan_11(tr("Kosrae State Constitution Day")))
|
|
141
|
+
|
|
142
|
+
if self._year >= 2000:
|
|
143
|
+
# Good Friday.
|
|
144
|
+
self._add_good_friday(tr("Good Friday"))
|
|
145
|
+
|
|
146
|
+
# Gospel Day.
|
|
147
|
+
self._add_observed(self._add_holiday_aug_21(tr("Gospel Day")))
|
|
148
|
+
|
|
149
|
+
if self._year >= 1991:
|
|
150
|
+
# Kosrae Liberation Day.
|
|
151
|
+
self._add_observed(self._add_holiday_sep_8(tr("Kosrae Liberation Day")))
|
|
152
|
+
|
|
153
|
+
# Self Government Day.
|
|
154
|
+
self._add_observed(self._add_holiday_nov_3(tr("Self Government Day")))
|
|
155
|
+
|
|
156
|
+
if self._year >= 2011:
|
|
157
|
+
# Thanksgiving Day.
|
|
158
|
+
self._add_holiday_4th_thu_of_nov(tr("Thanksgiving Day"))
|
|
159
|
+
|
|
160
|
+
if self._year >= 2024:
|
|
161
|
+
# Kosrae Disability Day.
|
|
162
|
+
self._add_observed(self._add_holiday_dec_3(tr("Kosrae Disability Day")))
|
|
163
|
+
|
|
164
|
+
# Pohnpei.
|
|
165
|
+
def _populate_subdiv_pni_public_holidays(self):
|
|
166
|
+
if self._year >= 2022:
|
|
167
|
+
# Women's Day.
|
|
168
|
+
self._add_observed(self._add_womens_day(tr("Women's Day")))
|
|
169
|
+
|
|
170
|
+
# Pohnpei Cultural Day.
|
|
171
|
+
self._add_observed(self._add_holiday_mar_31(tr("Pohnpei Cultural Day")))
|
|
172
|
+
|
|
173
|
+
# Good Friday.
|
|
174
|
+
self._add_good_friday(tr("Good Friday"))
|
|
175
|
+
|
|
176
|
+
# Liberation Day.
|
|
177
|
+
self._add_observed(self._add_holiday_sep_11(tr("Liberation Day")))
|
|
178
|
+
|
|
179
|
+
# Pohnpei Constitution Day.
|
|
180
|
+
self._add_observed(self._add_holiday_nov_8(tr("Pohnpei Constitution Day")))
|
|
181
|
+
|
|
182
|
+
# Chuuk.
|
|
183
|
+
def _populate_subdiv_trk_public_holidays(self):
|
|
184
|
+
# State Charter Day.
|
|
185
|
+
self._add_observed(self._add_holiday_sep_26(tr("State Charter Day")))
|
|
186
|
+
|
|
187
|
+
if self._year >= 1990:
|
|
188
|
+
# Chuuk State Constitution Day.
|
|
189
|
+
self._add_observed(self._add_holiday_oct_1(tr("Chuuk State Constitution Day")))
|
|
190
|
+
|
|
191
|
+
# Yap.
|
|
192
|
+
def _populate_subdiv_yap_public_holidays(self):
|
|
193
|
+
# Yap Day.
|
|
194
|
+
self._add_observed(self._add_holiday_mar_1(tr("Yap Day")))
|
|
195
|
+
|
|
196
|
+
# Yap State Constitution Day.
|
|
197
|
+
self._add_observed(self._add_holiday_dec_24(tr("Yap State Constitution Day")))
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
class FM(Micronesia):
|
|
201
|
+
pass
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
class FSM(Micronesia):
|
|
205
|
+
pass
|
holidays/countries/monaco.py
CHANGED
|
@@ -22,7 +22,7 @@ class Monaco(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stat
|
|
|
22
22
|
|
|
23
23
|
References:
|
|
24
24
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Monaco>
|
|
25
|
-
* <https://en.service-public-entreprises.gouv.mc/Employment-and-social-affairs/Employment-regulations/Leave/Public-Holidays>
|
|
25
|
+
* <https://web.archive.org/web/20231212161716/https://en.service-public-entreprises.gouv.mc/Employment-and-social-affairs/Employment-regulations/Leave/Public-Holidays>
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
country = "MC"
|
holidays/countries/montenegro.py
CHANGED
|
@@ -38,8 +38,8 @@ class Montenegro(
|
|
|
38
38
|
|
|
39
39
|
References:
|
|
40
40
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Montenegro>
|
|
41
|
-
* [Zakon o državnim i drugim praznicima](https://wapi.gov.me/download-preview/927f23a3-db4e-4f65-9f29-ce3c9dde0c90?version=1.0)
|
|
42
|
-
* [Zakon o svetkovanju vjerskih praznika](https://wapi.gov.me/download-preview/4f0b05a4-c85b-4eb2-bc29-0ad8363a9ba3?version=1.0)
|
|
41
|
+
* [Zakon o državnim i drugim praznicima](https://web.archive.org/web/20241227132503/https://wapi.gov.me/download-preview/927f23a3-db4e-4f65-9f29-ce3c9dde0c90?version=1.0)
|
|
42
|
+
* [Zakon o svetkovanju vjerskih praznika](https://web.archive.org/web/20250427181807/https://wapi.gov.me/download-preview/4f0b05a4-c85b-4eb2-bc29-0ad8363a9ba3?version=1.0)
|
|
43
43
|
"""
|
|
44
44
|
|
|
45
45
|
country = "ME"
|
|
@@ -54,7 +54,7 @@ class Montenegro(
|
|
|
54
54
|
supported_categories = (CATHOLIC, ISLAMIC, HEBREW, ORTHODOX, PUBLIC, WORKDAY)
|
|
55
55
|
start_year = 2007
|
|
56
56
|
|
|
57
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
57
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
58
58
|
"""
|
|
59
59
|
Args:
|
|
60
60
|
islamic_show_estimated:
|
holidays/countries/morocco.py
CHANGED
|
@@ -20,8 +20,8 @@ class Morocco(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
|
20
20
|
"""Morocco holidays.
|
|
21
21
|
|
|
22
22
|
References:
|
|
23
|
-
* <https://fr.wikipedia.org/wiki/
|
|
24
|
-
* <https://www.mmsp.gov.ma/fr/pratiques.aspx?id=38>
|
|
23
|
+
* <https://fr.wikipedia.org/wiki/Fêtes_et_jours_fériés_au_Maroc>
|
|
24
|
+
* <https://web.archive.org/web/20230303001626/http://www.mmsp.gov.ma/fr/pratiques.aspx?id=38>
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
country = "MA"
|
|
@@ -30,7 +30,7 @@ class Morocco(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
|
30
30
|
estimated_label = tr("(تقدير) %s")
|
|
31
31
|
supported_languages = ("ar", "en_US", "fr")
|
|
32
32
|
|
|
33
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
33
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
34
34
|
"""
|
|
35
35
|
Args:
|
|
36
36
|
islamic_show_estimated:
|
|
@@ -50,7 +50,7 @@ class Morocco(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
|
50
50
|
self._add_holiday_jan_11(tr("ذكرى تقديم وثيقة الاستقلال"))
|
|
51
51
|
|
|
52
52
|
# In May 2023, Morocco recognized Berber New Year as official holiday.
|
|
53
|
-
#
|
|
53
|
+
# https://web.archive.org/web/20230515114330/https://www.diplomatie.ma/en/statement-royal-office-12
|
|
54
54
|
if self._year >= 2024:
|
|
55
55
|
# Amazigh New Year.
|
|
56
56
|
self._add_holiday_jan_13(tr("رأس السنة الأمازيغية"))
|