holidays 0.44__py3-none-any.whl → 0.46__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 +6 -5
- holidays/calendars/__init__.py +5 -4
- holidays/calendars/buddhist.py +5 -4
- holidays/calendars/chinese.py +5 -4
- holidays/calendars/custom.py +5 -4
- holidays/calendars/gregorian.py +5 -4
- holidays/calendars/hebrew.py +5 -4
- holidays/calendars/hindu.py +5 -4
- holidays/calendars/islamic.py +5 -4
- holidays/calendars/julian.py +5 -4
- holidays/calendars/julian_revised.py +5 -4
- holidays/calendars/persian.py +5 -4
- holidays/calendars/thai.py +5 -4
- holidays/constants.py +5 -4
- holidays/countries/__init__.py +7 -4
- holidays/countries/albania.py +5 -4
- holidays/countries/algeria.py +5 -4
- holidays/countries/american_samoa.py +5 -4
- holidays/countries/andorra.py +5 -4
- holidays/countries/angola.py +5 -4
- holidays/countries/argentina.py +5 -4
- holidays/countries/armenia.py +5 -4
- holidays/countries/aruba.py +5 -4
- holidays/countries/australia.py +754 -131
- holidays/countries/austria.py +5 -4
- holidays/countries/azerbaijan.py +5 -4
- holidays/countries/bahamas.py +5 -4
- holidays/countries/bahrain.py +5 -4
- holidays/countries/bangladesh.py +5 -5
- holidays/countries/barbados.py +5 -4
- holidays/countries/belarus.py +5 -4
- holidays/countries/belgium.py +5 -4
- holidays/countries/belize.py +5 -4
- holidays/countries/bolivia.py +5 -5
- holidays/countries/bosnia_and_herzegovina.py +5 -5
- holidays/countries/botswana.py +5 -4
- holidays/countries/brazil.py +5 -4
- holidays/countries/brunei.py +5 -4
- holidays/countries/bulgaria.py +5 -4
- holidays/countries/burkina_faso.py +5 -4
- holidays/countries/burundi.py +5 -4
- holidays/countries/cambodia.py +5 -4
- holidays/countries/cameroon.py +5 -4
- holidays/countries/canada.py +5 -4
- holidays/countries/chad.py +5 -4
- holidays/countries/chile.py +5 -4
- holidays/countries/china.py +5 -4
- holidays/countries/colombia.py +5 -4
- holidays/countries/costa_rica.py +5 -4
- holidays/countries/croatia.py +5 -4
- holidays/countries/cuba.py +5 -4
- holidays/countries/curacao.py +5 -4
- holidays/countries/cyprus.py +5 -4
- holidays/countries/czechia.py +5 -4
- holidays/countries/denmark.py +5 -4
- holidays/countries/djibouti.py +5 -4
- holidays/countries/dominican_republic.py +5 -4
- holidays/countries/ecuador.py +5 -4
- holidays/countries/egypt.py +5 -5
- holidays/countries/el_salvador.py +5 -4
- holidays/countries/estonia.py +5 -4
- holidays/countries/eswatini.py +5 -4
- holidays/countries/ethiopia.py +5 -4
- holidays/countries/finland.py +5 -4
- holidays/countries/france.py +5 -4
- holidays/countries/gabon.py +5 -4
- holidays/countries/georgia.py +5 -4
- holidays/countries/germany.py +5 -4
- holidays/countries/ghana.py +5 -4
- holidays/countries/greece.py +5 -4
- holidays/countries/guam.py +5 -4
- holidays/countries/guatemala.py +5 -4
- holidays/countries/honduras.py +5 -4
- holidays/countries/hongkong.py +5 -4
- holidays/countries/hungary.py +5 -4
- holidays/countries/iceland.py +5 -4
- holidays/countries/india.py +5 -4
- holidays/countries/indonesia.py +5 -4
- holidays/countries/iran.py +5 -4
- holidays/countries/ireland.py +5 -4
- holidays/countries/isle_of_man.py +5 -4
- holidays/countries/israel.py +5 -4
- holidays/countries/italy.py +5 -5
- holidays/countries/jamaica.py +5 -4
- holidays/countries/japan.py +5 -4
- holidays/countries/jersey.py +3 -3
- holidays/countries/kazakhstan.py +5 -4
- holidays/countries/kenya.py +5 -4
- holidays/countries/kuwait.py +78 -0
- holidays/countries/kyrgyzstan.py +5 -4
- holidays/countries/laos.py +5 -4
- holidays/countries/latvia.py +5 -4
- holidays/countries/lesotho.py +5 -4
- holidays/countries/liechtenstein.py +5 -5
- holidays/countries/lithuania.py +5 -4
- holidays/countries/luxembourg.py +5 -4
- holidays/countries/madagascar.py +5 -4
- holidays/countries/malawi.py +5 -4
- holidays/countries/malaysia.py +5 -4
- holidays/countries/maldives.py +5 -4
- holidays/countries/malta.py +5 -4
- holidays/countries/marshall_islands.py +5 -4
- holidays/countries/mexico.py +15 -9
- holidays/countries/moldova.py +11 -10
- holidays/countries/monaco.py +5 -4
- holidays/countries/montenegro.py +5 -4
- holidays/countries/morocco.py +5 -4
- holidays/countries/mozambique.py +5 -4
- holidays/countries/namibia.py +5 -4
- holidays/countries/netherlands.py +5 -4
- holidays/countries/new_zealand.py +5 -4
- holidays/countries/nicaragua.py +5 -4
- holidays/countries/nigeria.py +5 -4
- holidays/countries/north_macedonia.py +5 -4
- holidays/countries/northern_mariana_islands.py +5 -4
- holidays/countries/norway.py +5 -4
- holidays/countries/pakistan.py +5 -4
- holidays/countries/panama.py +5 -4
- holidays/countries/papua_new_guinea.py +5 -4
- holidays/countries/paraguay.py +5 -4
- holidays/countries/peru.py +5 -5
- holidays/countries/philippines.py +5 -5
- holidays/countries/poland.py +5 -4
- holidays/countries/portugal.py +5 -4
- holidays/countries/puerto_rico.py +5 -4
- holidays/countries/romania.py +5 -4
- holidays/countries/russia.py +5 -4
- holidays/countries/san_marino.py +5 -4
- holidays/countries/saudi_arabia.py +5 -4
- holidays/countries/serbia.py +5 -4
- holidays/countries/seychelles.py +175 -0
- holidays/countries/singapore.py +5 -4
- holidays/countries/slovakia.py +5 -4
- holidays/countries/slovenia.py +5 -4
- holidays/countries/south_africa.py +5 -4
- holidays/countries/south_korea.py +5 -4
- holidays/countries/spain.py +5 -4
- holidays/countries/sweden.py +5 -4
- holidays/countries/switzerland.py +5 -4
- holidays/countries/taiwan.py +5 -4
- holidays/countries/tanzania.py +5 -4
- holidays/countries/thailand.py +6 -5
- holidays/countries/timor_leste.py +5 -4
- holidays/countries/tonga.py +5 -4
- holidays/countries/tunisia.py +5 -5
- holidays/countries/turkey.py +5 -4
- holidays/countries/ukraine.py +5 -4
- holidays/countries/united_arab_emirates.py +5 -4
- holidays/countries/united_kingdom.py +7 -5
- holidays/countries/united_states.py +5 -4
- holidays/countries/united_states_minor_outlying_islands.py +5 -4
- holidays/countries/united_states_virgin_islands.py +5 -4
- holidays/countries/uruguay.py +5 -4
- holidays/countries/uzbekistan.py +5 -4
- holidays/countries/vanuatu.py +5 -4
- holidays/countries/vatican_city.py +5 -4
- holidays/countries/venezuela.py +5 -4
- holidays/countries/vietnam.py +5 -4
- holidays/countries/zambia.py +5 -4
- holidays/countries/zimbabwe.py +5 -4
- holidays/financial/__init__.py +5 -4
- holidays/financial/european_central_bank.py +5 -4
- holidays/financial/ny_stock_exchange.py +5 -4
- holidays/groups/__init__.py +5 -4
- holidays/groups/buddhist.py +5 -4
- holidays/groups/chinese.py +5 -4
- holidays/groups/christian.py +5 -4
- holidays/groups/custom.py +5 -4
- holidays/groups/hindu.py +5 -4
- holidays/groups/international.py +5 -4
- holidays/groups/islamic.py +6 -4
- holidays/groups/persian.py +5 -4
- holidays/groups/thai.py +5 -4
- holidays/helpers.py +5 -4
- holidays/holiday_base.py +5 -4
- holidays/locale/am/LC_MESSAGES/ET.po +12 -1
- holidays/locale/ar/LC_MESSAGES/AE.po +12 -1
- holidays/locale/ar/LC_MESSAGES/BH.po +12 -1
- holidays/locale/ar/LC_MESSAGES/CA.po +12 -1
- holidays/locale/ar/LC_MESSAGES/DJ.po +13 -1
- holidays/locale/ar/LC_MESSAGES/DZ.po +12 -1
- holidays/locale/ar/LC_MESSAGES/EG.po +12 -1
- holidays/locale/ar/LC_MESSAGES/ET.po +12 -1
- holidays/locale/ar/LC_MESSAGES/KW.mo +0 -0
- holidays/locale/ar/LC_MESSAGES/KW.po +75 -0
- holidays/locale/ar/LC_MESSAGES/MA.po +12 -1
- holidays/locale/ar/LC_MESSAGES/SA.po +12 -1
- holidays/locale/ar/LC_MESSAGES/TN.po +12 -1
- holidays/locale/ar/LC_MESSAGES/UA.po +12 -1
- holidays/locale/az/LC_MESSAGES/AZ.po +12 -1
- holidays/locale/be/LC_MESSAGES/BY.po +12 -1
- holidays/locale/bg/LC_MESSAGES/BG.po +12 -1
- holidays/locale/bs/LC_MESSAGES/BA.po +12 -1
- holidays/locale/cs/LC_MESSAGES/CZ.po +12 -1
- holidays/locale/da/LC_MESSAGES/DK.po +12 -1
- holidays/locale/de/LC_MESSAGES/AT.po +12 -1
- holidays/locale/de/LC_MESSAGES/BE.po +12 -1
- holidays/locale/de/LC_MESSAGES/CH.po +12 -1
- holidays/locale/de/LC_MESSAGES/DE.po +12 -1
- holidays/locale/de/LC_MESSAGES/LI.po +12 -1
- holidays/locale/de/LC_MESSAGES/LU.po +12 -1
- holidays/locale/el/LC_MESSAGES/CY.po +12 -1
- holidays/locale/el/LC_MESSAGES/GR.po +12 -1
- holidays/locale/en_CA/LC_MESSAGES/CA.po +12 -1
- holidays/locale/en_CY/LC_MESSAGES/CY.po +12 -1
- holidays/locale/en_SC/LC_MESSAGES/SC.mo +0 -0
- holidays/locale/en_SC/LC_MESSAGES/SC.po +117 -0
- holidays/locale/en_US/LC_MESSAGES/AE.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/AM.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/AO.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/AR.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/AT.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/AW.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/AZ.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/BA.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/BE.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/BG.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/BH.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/BN.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/BO.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/BY.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/CA.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/CH.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/CL.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/CN.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/CO.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/CR.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/CU.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/CW.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/CY.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/CZ.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/DE.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/DJ.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/DK.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/DO.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/DZ.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/EC.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/EE.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/EG.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/ES.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/ET.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/FI.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/FR.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/GE.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/GR.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/GT.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/HN.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/HR.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/HU.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/ID.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/IL.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/IR.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/IS.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/JP.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/KH.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/KR.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/KW.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/KW.po +75 -0
- holidays/locale/en_US/LC_MESSAGES/LA.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/LI.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/LT.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/LU.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/LV.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/MA.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/MC.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/MD.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/MD.po +20 -9
- holidays/locale/en_US/LC_MESSAGES/MG.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/MT.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/MX.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/MZ.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/NI.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/NL.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/NO.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/PE.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/PL.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/PT.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/PY.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/RO.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/RS.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/RU.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/SA.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/SC.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/SC.po +117 -0
- holidays/locale/en_US/LC_MESSAGES/SE.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/SI.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/SK.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/TH.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/TL.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/TN.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/TO.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/TR.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/TW.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/TZ.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/UA.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/UY.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/UZ.po +12 -1
- holidays/locale/en_US/LC_MESSAGES/VE.po +12 -1
- holidays/locale/es/LC_MESSAGES/AR.po +12 -1
- holidays/locale/es/LC_MESSAGES/BO.po +12 -1
- holidays/locale/es/LC_MESSAGES/CL.po +12 -1
- holidays/locale/es/LC_MESSAGES/CO.po +12 -1
- holidays/locale/es/LC_MESSAGES/CR.po +12 -1
- holidays/locale/es/LC_MESSAGES/CU.po +12 -1
- holidays/locale/es/LC_MESSAGES/DO.po +12 -1
- holidays/locale/es/LC_MESSAGES/EC.po +12 -1
- holidays/locale/es/LC_MESSAGES/ES.po +12 -1
- holidays/locale/es/LC_MESSAGES/GT.po +12 -1
- holidays/locale/es/LC_MESSAGES/HN.po +12 -1
- holidays/locale/es/LC_MESSAGES/MX.po +12 -1
- holidays/locale/es/LC_MESSAGES/NI.po +12 -1
- holidays/locale/es/LC_MESSAGES/PE.po +12 -1
- holidays/locale/es/LC_MESSAGES/PY.po +12 -1
- holidays/locale/es/LC_MESSAGES/UY.po +12 -1
- holidays/locale/es/LC_MESSAGES/VE.po +12 -1
- holidays/locale/et/LC_MESSAGES/EE.po +12 -1
- holidays/locale/fa/LC_MESSAGES/IR.po +12 -1
- holidays/locale/fi/LC_MESSAGES/FI.po +12 -1
- holidays/locale/fr/LC_MESSAGES/BE.po +12 -1
- holidays/locale/fr/LC_MESSAGES/CA.po +12 -1
- holidays/locale/fr/LC_MESSAGES/CH.po +12 -1
- holidays/locale/fr/LC_MESSAGES/DJ.po +12 -1
- holidays/locale/fr/LC_MESSAGES/DZ.po +12 -1
- holidays/locale/fr/LC_MESSAGES/FR.po +12 -1
- holidays/locale/fr/LC_MESSAGES/LU.po +12 -1
- holidays/locale/fr/LC_MESSAGES/MA.po +12 -1
- holidays/locale/fr/LC_MESSAGES/MC.po +12 -1
- holidays/locale/he/LC_MESSAGES/IL.po +12 -1
- holidays/locale/hr/LC_MESSAGES/HR.po +12 -1
- holidays/locale/hu/LC_MESSAGES/HU.po +12 -1
- holidays/locale/hy/LC_MESSAGES/AM.po +12 -1
- holidays/locale/id/LC_MESSAGES/ID.po +12 -1
- holidays/locale/is/LC_MESSAGES/IS.po +12 -1
- holidays/locale/it/LC_MESSAGES/CH.po +12 -1
- holidays/locale/ja/LC_MESSAGES/JP.po +12 -1
- holidays/locale/ka/LC_MESSAGES/GE.po +12 -1
- holidays/locale/km/LC_MESSAGES/KH.po +12 -1
- holidays/locale/ko/LC_MESSAGES/KR.po +12 -1
- holidays/locale/lb/LC_MESSAGES/LU.po +12 -1
- holidays/locale/lo/LC_MESSAGES/LA.po +12 -1
- holidays/locale/lt/LC_MESSAGES/LT.po +12 -1
- holidays/locale/lv/LC_MESSAGES/LV.po +12 -1
- holidays/locale/mg/LC_MESSAGES/MG.po +12 -1
- holidays/locale/ms/LC_MESSAGES/BN.po +12 -1
- holidays/locale/mt/LC_MESSAGES/MT.po +12 -1
- holidays/locale/nl/LC_MESSAGES/AW.po +12 -1
- holidays/locale/nl/LC_MESSAGES/BE.po +12 -1
- holidays/locale/nl/LC_MESSAGES/CW.po +12 -1
- holidays/locale/nl/LC_MESSAGES/NL.po +12 -1
- holidays/locale/no/LC_MESSAGES/NO.po +12 -1
- holidays/locale/pap/LC_MESSAGES/AW.po +12 -1
- holidays/locale/pap/LC_MESSAGES/CW.po +12 -1
- holidays/locale/pl/LC_MESSAGES/PL.po +12 -1
- holidays/locale/pt_AO/LC_MESSAGES/AO.po +12 -1
- holidays/locale/pt_MZ/LC_MESSAGES/MZ.po +12 -1
- holidays/locale/pt_PT/LC_MESSAGES/PT.po +12 -1
- holidays/locale/pt_TL/LC_MESSAGES/TL.po +12 -1
- holidays/locale/ro/LC_MESSAGES/MD.mo +0 -0
- holidays/locale/ro/LC_MESSAGES/MD.po +20 -9
- holidays/locale/ro/LC_MESSAGES/RO.po +12 -1
- holidays/locale/ru/LC_MESSAGES/RU.po +12 -1
- holidays/locale/sk/LC_MESSAGES/CZ.po +12 -1
- holidays/locale/sk/LC_MESSAGES/SK.po +12 -1
- holidays/locale/sl/LC_MESSAGES/SI.po +12 -1
- holidays/locale/sr/LC_MESSAGES/BA.po +12 -1
- holidays/locale/sr/LC_MESSAGES/RS.po +12 -1
- holidays/locale/sv/LC_MESSAGES/FI.po +12 -1
- holidays/locale/sv/LC_MESSAGES/SE.po +12 -1
- holidays/locale/sw/LC_MESSAGES/TZ.po +12 -1
- holidays/locale/tet/LC_MESSAGES/TL.po +12 -1
- holidays/locale/th/LC_MESSAGES/BN.po +12 -1
- holidays/locale/th/LC_MESSAGES/CA.po +12 -1
- holidays/locale/th/LC_MESSAGES/CN.po +12 -1
- holidays/locale/th/LC_MESSAGES/JP.po +12 -1
- holidays/locale/th/LC_MESSAGES/KH.po +12 -1
- holidays/locale/th/LC_MESSAGES/KR.po +12 -1
- holidays/locale/th/LC_MESSAGES/LA.po +12 -1
- holidays/locale/th/LC_MESSAGES/TH.po +12 -1
- holidays/locale/th/LC_MESSAGES/TW.po +12 -1
- holidays/locale/to/LC_MESSAGES/TO.po +12 -1
- holidays/locale/tr/LC_MESSAGES/TR.po +12 -1
- holidays/locale/uk/LC_MESSAGES/AO.po +12 -1
- holidays/locale/uk/LC_MESSAGES/AR.po +12 -1
- holidays/locale/uk/LC_MESSAGES/AT.po +12 -1
- holidays/locale/uk/LC_MESSAGES/AW.po +12 -1
- holidays/locale/uk/LC_MESSAGES/AZ.po +12 -1
- holidays/locale/uk/LC_MESSAGES/BA.po +12 -1
- holidays/locale/uk/LC_MESSAGES/BE.po +12 -1
- holidays/locale/uk/LC_MESSAGES/BG.po +12 -1
- holidays/locale/uk/LC_MESSAGES/BO.po +12 -1
- holidays/locale/uk/LC_MESSAGES/CH.po +12 -1
- holidays/locale/uk/LC_MESSAGES/CL.po +12 -1
- holidays/locale/uk/LC_MESSAGES/CO.po +12 -1
- holidays/locale/uk/LC_MESSAGES/CR.po +12 -1
- holidays/locale/uk/LC_MESSAGES/CU.po +12 -1
- holidays/locale/uk/LC_MESSAGES/CW.po +12 -1
- holidays/locale/uk/LC_MESSAGES/CY.po +12 -1
- holidays/locale/uk/LC_MESSAGES/CZ.po +12 -1
- holidays/locale/uk/LC_MESSAGES/DE.po +12 -1
- holidays/locale/uk/LC_MESSAGES/DK.po +12 -1
- holidays/locale/uk/LC_MESSAGES/DO.po +12 -1
- holidays/locale/uk/LC_MESSAGES/EC.po +12 -1
- holidays/locale/uk/LC_MESSAGES/EE.po +12 -1
- holidays/locale/uk/LC_MESSAGES/ES.po +12 -1
- holidays/locale/uk/LC_MESSAGES/FI.po +12 -1
- holidays/locale/uk/LC_MESSAGES/FR.po +12 -1
- holidays/locale/uk/LC_MESSAGES/GE.po +12 -1
- holidays/locale/uk/LC_MESSAGES/GR.po +12 -1
- holidays/locale/uk/LC_MESSAGES/HN.po +12 -1
- holidays/locale/uk/LC_MESSAGES/HR.po +12 -1
- holidays/locale/uk/LC_MESSAGES/HU.po +12 -1
- holidays/locale/uk/LC_MESSAGES/ID.po +12 -1
- holidays/locale/uk/LC_MESSAGES/IL.po +12 -1
- holidays/locale/uk/LC_MESSAGES/IS.po +12 -1
- holidays/locale/uk/LC_MESSAGES/LI.po +12 -1
- holidays/locale/uk/LC_MESSAGES/LT.po +12 -1
- holidays/locale/uk/LC_MESSAGES/LU.po +12 -1
- holidays/locale/uk/LC_MESSAGES/LV.po +12 -1
- holidays/locale/uk/LC_MESSAGES/MC.po +12 -1
- holidays/locale/uk/LC_MESSAGES/MD.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/MD.po +20 -9
- holidays/locale/uk/LC_MESSAGES/MG.po +12 -1
- holidays/locale/uk/LC_MESSAGES/MX.po +12 -1
- holidays/locale/uk/LC_MESSAGES/MZ.po +12 -1
- holidays/locale/uk/LC_MESSAGES/NI.po +12 -1
- holidays/locale/uk/LC_MESSAGES/NL.po +12 -1
- holidays/locale/uk/LC_MESSAGES/NO.po +12 -1
- holidays/locale/uk/LC_MESSAGES/PE.po +12 -1
- holidays/locale/uk/LC_MESSAGES/PL.po +12 -1
- holidays/locale/uk/LC_MESSAGES/PT.po +12 -1
- holidays/locale/uk/LC_MESSAGES/PY.po +12 -1
- holidays/locale/uk/LC_MESSAGES/RO.po +12 -1
- holidays/locale/uk/LC_MESSAGES/SE.po +12 -1
- holidays/locale/uk/LC_MESSAGES/SI.po +12 -1
- holidays/locale/uk/LC_MESSAGES/SK.po +12 -1
- holidays/locale/uk/LC_MESSAGES/TR.po +12 -1
- holidays/locale/uk/LC_MESSAGES/UA.po +12 -1
- holidays/locale/uk/LC_MESSAGES/UY.po +12 -1
- holidays/locale/uk/LC_MESSAGES/UZ.po +12 -1
- holidays/locale/uk/LC_MESSAGES/VE.po +12 -1
- holidays/locale/uz/LC_MESSAGES/UZ.po +12 -1
- holidays/locale/zh_CN/LC_MESSAGES/CN.po +12 -1
- holidays/locale/zh_CN/LC_MESSAGES/TW.po +12 -1
- holidays/locale/zh_TW/LC_MESSAGES/CN.po +12 -1
- holidays/locale/zh_TW/LC_MESSAGES/TW.po +12 -1
- holidays/observed_holiday_base.py +5 -4
- holidays/registry.py +7 -4
- holidays/utils.py +5 -4
- {holidays-0.44.dist-info → holidays-0.46.dist-info}/AUTHORS +4 -0
- {holidays-0.44.dist-info → holidays-0.46.dist-info}/LICENSE +5 -2
- {holidays-0.44.dist-info → holidays-0.46.dist-info}/METADATA +72 -55
- holidays-0.46.dist-info/RECORD +711 -0
- {holidays-0.44.dist-info → holidays-0.46.dist-info}/WHEEL +1 -1
- holidays-0.44.dist-info/RECORD +0 -701
- {holidays-0.44.dist-info → holidays-0.46.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,78 @@
|
|
|
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 AUTHORS 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/python-holidays
|
|
11
|
+
# License: MIT (see LICENSE file)
|
|
12
|
+
|
|
13
|
+
from gettext import gettext as tr
|
|
14
|
+
|
|
15
|
+
from holidays.groups import InternationalHolidays, IslamicHolidays
|
|
16
|
+
from holidays.holiday_base import HolidayBase
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class Kuwait(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
20
|
+
"""
|
|
21
|
+
References:
|
|
22
|
+
- https://en.wikipedia.org/wiki/2024_in_Kuwait
|
|
23
|
+
- https://www.officeholidays.com/countries/kuwait
|
|
24
|
+
- https://www.timeanddate.com/holidays/kuwait/2024
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
country = "KW"
|
|
28
|
+
default_language = "ar"
|
|
29
|
+
# %s (estimated).
|
|
30
|
+
estimated_label = tr("(تقدير) %s")
|
|
31
|
+
supported_languages = ("ar", "en_US")
|
|
32
|
+
|
|
33
|
+
def __init__(self, *args, **kwargs):
|
|
34
|
+
InternationalHolidays.__init__(self)
|
|
35
|
+
IslamicHolidays.__init__(self)
|
|
36
|
+
super().__init__(*args, **kwargs)
|
|
37
|
+
|
|
38
|
+
def _populate_public_holidays(self):
|
|
39
|
+
# New Year's Day.
|
|
40
|
+
self._add_new_years_day(tr("رأس السنة الميلادية"))
|
|
41
|
+
|
|
42
|
+
# National Day.
|
|
43
|
+
self._add_holiday_feb_25(tr("اليوم الوطني"))
|
|
44
|
+
|
|
45
|
+
# Liberation Day.
|
|
46
|
+
self._add_holiday_feb_26(tr("يوم التحرير"))
|
|
47
|
+
|
|
48
|
+
# Islamic New Year.
|
|
49
|
+
self._add_islamic_new_year_day(tr("رأس السنة الهجرية"))
|
|
50
|
+
|
|
51
|
+
# Prophet's Birthday.
|
|
52
|
+
self._add_mawlid_day(tr("عيد المولد النبوي"))
|
|
53
|
+
|
|
54
|
+
# Isra and Miraj.
|
|
55
|
+
self._add_isra_and_miraj_day(tr("ليلة المعراج"))
|
|
56
|
+
|
|
57
|
+
# Eid al-Fitr.
|
|
58
|
+
self._add_eid_al_fitr_day(tr("عيد الفطر"))
|
|
59
|
+
# Eid al-Fitr Holiday.
|
|
60
|
+
self._add_eid_al_fitr_day_two(tr("عطلة عيد الفطر"))
|
|
61
|
+
self._add_eid_al_fitr_day_three(tr("عطلة عيد الفطر"))
|
|
62
|
+
|
|
63
|
+
# Arafat Day.
|
|
64
|
+
self._add_arafah_day(tr("يوم عرفة"))
|
|
65
|
+
|
|
66
|
+
# Eid al-Adha.
|
|
67
|
+
self._add_eid_al_adha_day(tr("عيد الأضحى"))
|
|
68
|
+
# Eid al-Adha Holiday.
|
|
69
|
+
self._add_eid_al_adha_day_two(tr("عطلة عيد الأضحى"))
|
|
70
|
+
self._add_eid_al_adha_day_three(tr("عطلة عيد الأضحى"))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
class KW(Kuwait):
|
|
74
|
+
pass
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class KWT(Kuwait):
|
|
78
|
+
pass
|
holidays/countries/kyrgyzstan.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from holidays.calendars.julian import JULIAN_CALENDAR
|
holidays/countries/laos.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from gettext import gettext as tr
|
holidays/countries/latvia.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from datetime import timedelta as td
|
holidays/countries/lesotho.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from holidays.calendars.gregorian import MAY
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
|
-
# Copyright: Kateryna Golovanova <kate@kgthreads.com>, 2022
|
|
12
12
|
|
|
13
13
|
from gettext import gettext as tr
|
|
14
14
|
|
holidays/countries/lithuania.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from gettext import gettext as tr
|
holidays/countries/luxembourg.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from gettext import gettext as tr
|
holidays/countries/madagascar.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from datetime import timedelta as td
|
holidays/countries/malawi.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from holidays.groups import ChristianHolidays, InternationalHolidays
|
holidays/countries/malaysia.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from holidays.calendars import (
|
holidays/countries/maldives.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from holidays.calendars.gregorian import FRI, SAT
|
holidays/countries/malta.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from gettext import gettext as tr
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
import warnings
|
holidays/countries/mexico.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from gettext import gettext as tr
|
|
@@ -18,10 +19,11 @@ from holidays.holiday_base import HolidayBase
|
|
|
18
19
|
class Mexico(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
19
20
|
"""
|
|
20
21
|
References:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
- https://en.wikipedia.org/wiki/Public_holidays_in_Mexico
|
|
23
|
+
- https://es.wikipedia.org/wiki/Anexo:D%C3%ADas_festivos_en_M%C3%A9xico
|
|
24
|
+
- https://www.gob.mx/cms/uploads/attachment/file/156203/1044_Ley_Federal_del_Trabajo.pdf
|
|
25
|
+
- http://www.diputados.gob.mx/LeyesBiblio/ref/lft/LFT_orig_01abr70_ima.pdf
|
|
26
|
+
- https://www.gob.mx/profedet/es/articulos/sabes-cuales-son-los-dias-de-descanso-obligatorio-para-este-2024 # noqa: E501
|
|
25
27
|
"""
|
|
26
28
|
|
|
27
29
|
country = "MX"
|
|
@@ -72,7 +74,11 @@ class Mexico(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
72
74
|
|
|
73
75
|
if self._year >= 1970 and (self._year - 1970) % 6 == 0:
|
|
74
76
|
# Change of Federal Government.
|
|
75
|
-
|
|
77
|
+
name = tr("Transmisión del Poder Ejecutivo Federal")
|
|
78
|
+
if self._year >= 2024:
|
|
79
|
+
self._add_holiday_oct_1(name)
|
|
80
|
+
else:
|
|
81
|
+
self._add_holiday_dec_1(name)
|
|
76
82
|
|
|
77
83
|
# Christmas Day.
|
|
78
84
|
self._add_christmas_day(tr("Navidad"))
|
holidays/countries/moldova.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from datetime import timedelta as td
|
|
@@ -42,10 +43,10 @@ class Moldova(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
42
43
|
|
|
43
44
|
name = (
|
|
44
45
|
# Christmas Day (by old style).
|
|
45
|
-
tr("
|
|
46
|
+
tr("Nașterea lui Iisus Hristos (Crăciunul pe stil vechi)")
|
|
46
47
|
if self._year >= 2014
|
|
47
48
|
# Christmas Day.
|
|
48
|
-
else tr("
|
|
49
|
+
else tr("Nașterea lui Iisus Hristos (Crăciunul)")
|
|
49
50
|
)
|
|
50
51
|
self._add_christmas_day(name)
|
|
51
52
|
self._add_christmas_day_two(name)
|
|
@@ -54,12 +55,12 @@ class Moldova(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
54
55
|
self._add_womens_day(tr("Ziua internatională a femeii"))
|
|
55
56
|
|
|
56
57
|
# Easter.
|
|
57
|
-
name = tr("
|
|
58
|
+
name = tr("Paștele")
|
|
58
59
|
self._add_easter_sunday(name)
|
|
59
60
|
self._add_easter_monday(name)
|
|
60
61
|
|
|
61
62
|
# Day of Rejoicing.
|
|
62
|
-
self._add_holiday(tr("
|
|
63
|
+
self._add_holiday(tr("Paștele blajinilor"), self._easter_sunday + td(days=+8))
|
|
63
64
|
|
|
64
65
|
# International Workers' Solidarity Day.
|
|
65
66
|
self._add_labor_day(tr("Ziua internaţională a solidarităţii oamenilor muncii"))
|
|
@@ -67,7 +68,7 @@ class Moldova(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
67
68
|
may_9 = self._add_world_war_two_victory_day(
|
|
68
69
|
# Victory Day and Commemoration of the heroes fallen for
|
|
69
70
|
# Independence of Fatherland.
|
|
70
|
-
tr("Ziua Victoriei
|
|
71
|
+
tr("Ziua Victoriei și a comemorării eroilor căzuţi pentru Independenţa Patriei")
|
|
71
72
|
)
|
|
72
73
|
|
|
73
74
|
if self._year >= 2017:
|
|
@@ -87,7 +88,7 @@ class Moldova(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
87
88
|
if self._year >= 2013:
|
|
88
89
|
self._add_christmas_day(
|
|
89
90
|
# Christmas Day (by new style).
|
|
90
|
-
tr("
|
|
91
|
+
tr("Nașterea lui Iisus Hristos (Crăciunul pe stil nou)"),
|
|
91
92
|
GREGORIAN_CALENDAR,
|
|
92
93
|
)
|
|
93
94
|
|
holidays/countries/monaco.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from gettext import gettext as tr
|
holidays/countries/montenegro.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from holidays.calendars.julian import JULIAN_CALENDAR
|
holidays/countries/morocco.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from gettext import gettext as tr
|
holidays/countries/mozambique.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from gettext import gettext as tr
|
holidays/countries/namibia.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from holidays.calendars.gregorian import JAN, DEC
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from datetime import date
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from datetime import date
|
holidays/countries/nicaragua.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from gettext import gettext as tr
|
holidays/countries/nigeria.py
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from holidays.calendars.gregorian import FEB, MAY
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
3
|
# A fast, efficient Python library for generating country, province and state
|
|
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:
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
8
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
9
|
-
# Website: https://github.com/
|
|
10
|
+
# Website: https://github.com/vacanza/python-holidays
|
|
10
11
|
# License: MIT (see LICENSE file)
|
|
11
12
|
|
|
12
13
|
from holidays.calendars.julian import JULIAN_CALENDAR
|