holidays 0.82__py3-none-any.whl → 0.84__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/balinese_saka.py +2 -3
- holidays/calendars/buddhist.py +3 -4
- holidays/calendars/burmese.py +9 -10
- holidays/calendars/chinese.py +8 -9
- holidays/calendars/hebrew.py +10 -11
- holidays/calendars/hindu.py +27 -28
- holidays/calendars/islamic.py +26 -6
- holidays/calendars/mandaean.py +2 -3
- holidays/calendars/mongolian.py +4 -5
- holidays/calendars/persian.py +2 -3
- holidays/calendars/sinhala.py +25 -14
- holidays/calendars/thai.py +13 -14
- holidays/calendars/tibetan.py +12 -13
- holidays/countries/__init__.py +1 -0
- holidays/countries/angola.py +1 -2
- holidays/countries/austria.py +1 -1
- holidays/countries/azerbaijan.py +1 -1
- holidays/countries/canada.py +27 -13
- holidays/countries/denmark.py +18 -6
- holidays/countries/fiji.py +2 -3
- holidays/countries/finland.py +3 -6
- holidays/countries/guernsey.py +1 -2
- holidays/countries/guyana.py +24 -32
- holidays/countries/india.py +21 -78
- holidays/countries/iran.py +133 -269
- holidays/countries/ireland.py +1 -1
- holidays/countries/israel.py +1 -1
- holidays/countries/italy.py +2 -2
- holidays/countries/jersey.py +1 -2
- holidays/countries/macau.py +5 -8
- holidays/countries/malta.py +1 -1
- holidays/countries/mauritius.py +10 -9
- holidays/countries/montserrat.py +1 -1
- holidays/countries/myanmar.py +9 -10
- holidays/countries/nepal.py +11 -30
- holidays/countries/netherlands.py +28 -24
- holidays/countries/new_zealand.py +75 -31
- holidays/countries/nigeria.py +53 -75
- holidays/countries/norway.py +1 -1
- holidays/countries/portugal.py +6 -3
- holidays/countries/rwanda.py +2 -2
- holidays/countries/sint_maarten.py +1 -1
- holidays/countries/slovakia.py +23 -4
- holidays/countries/spain.py +418 -214
- holidays/countries/sri_lanka.py +58 -91
- holidays/countries/suriname.py +1 -2
- holidays/countries/sweden.py +1 -1
- holidays/countries/switzerland.py +86 -3
- holidays/countries/taiwan.py +3 -3
- holidays/countries/tanzania.py +19 -29
- holidays/countries/thailand.py +8 -7
- holidays/countries/trinidad_and_tobago.py +1 -1
- holidays/countries/ukraine.py +1 -1
- holidays/countries/united_kingdom.py +2 -3
- holidays/countries/united_states.py +3 -4
- holidays/countries/western_sahara.py +92 -0
- holidays/groups/balinese_saka.py +2 -3
- holidays/groups/buddhist.py +6 -7
- holidays/groups/burmese.py +11 -12
- holidays/groups/chinese.py +23 -21
- holidays/groups/christian.py +30 -0
- holidays/groups/eastern.py +5 -4
- holidays/groups/hebrew.py +7 -10
- holidays/groups/hindu.py +45 -40
- holidays/groups/international.py +1 -1
- holidays/groups/islamic.py +10 -3
- holidays/groups/mandaean.py +13 -14
- holidays/groups/mongolian.py +12 -10
- holidays/groups/persian.py +14 -15
- holidays/groups/sinhala.py +19 -17
- holidays/groups/thai.py +12 -13
- holidays/groups/tibetan.py +21 -19
- holidays/holiday_base.py +54 -54
- holidays/ical.py +1 -2
- holidays/locale/ar/LC_MESSAGES/EH.mo +0 -0
- holidays/locale/ca/LC_MESSAGES/ES.mo +0 -0
- holidays/locale/de/LC_MESSAGES/CH.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CH.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/EH.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/ES.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/LK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/NL.mo +0 -0
- holidays/locale/es/LC_MESSAGES/EH.mo +0 -0
- holidays/locale/es/LC_MESSAGES/ES.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/CH.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/EH.mo +0 -0
- holidays/locale/fy/LC_MESSAGES/NL.mo +0 -0
- holidays/locale/it/LC_MESSAGES/CH.mo +0 -0
- holidays/locale/nl/LC_MESSAGES/NL.mo +0 -0
- holidays/locale/si_LK/LC_MESSAGES/LK.mo +0 -0
- holidays/locale/ta_LK/LC_MESSAGES/LK.mo +0 -0
- holidays/locale/th/LC_MESSAGES/CH.mo +0 -0
- holidays/locale/th/LC_MESSAGES/CN.mo +0 -0
- holidays/locale/th/LC_MESSAGES/DK.mo +0 -0
- holidays/locale/th/LC_MESSAGES/ES.mo +0 -0
- holidays/locale/th/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/th/LC_MESSAGES/KR.mo +0 -0
- holidays/locale/th/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/th/LC_MESSAGES/NL.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/CH.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/ES.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/NL.mo +0 -0
- holidays/mixins/child_entity.py +1 -3
- holidays/observed_holiday_base.py +25 -14
- holidays/registry.py +5 -3
- holidays/utils.py +13 -14
- holidays/version.py +1 -1
- {holidays-0.82.dist-info → holidays-0.84.dist-info}/METADATA +20 -19
- {holidays-0.82.dist-info → holidays-0.84.dist-info}/RECORD +113 -104
- {holidays-0.82.dist-info → holidays-0.84.dist-info}/WHEEL +0 -0
- {holidays-0.82.dist-info → holidays-0.84.dist-info}/licenses/CONTRIBUTORS +0 -0
- {holidays-0.82.dist-info → holidays-0.84.dist-info}/licenses/LICENSE +0 -0
- {holidays-0.82.dist-info → holidays-0.84.dist-info}/top_level.txt +0 -0
|
@@ -96,7 +96,7 @@ class SintMaarten(ObservedHolidayBase, ChristianHolidays, InternationalHolidays)
|
|
|
96
96
|
self._add_holiday_2nd_mon_of_oct(tr("Dag van de Constitutie"))
|
|
97
97
|
|
|
98
98
|
# Sint Maarten Day.
|
|
99
|
-
self.
|
|
99
|
+
self._add_saint_martins_day(tr("Sint-Maartensdag"))
|
|
100
100
|
|
|
101
101
|
# Replaced by Constitution Day on October 2nd, 2015.
|
|
102
102
|
if self._year <= 2014:
|
holidays/countries/slovakia.py
CHANGED
|
@@ -25,6 +25,9 @@ class Slovakia(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHoli
|
|
|
25
25
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Slovakia>
|
|
26
26
|
* <https://sk.wikipedia.org/wiki/Zoznam_sviatkov_na_Slovensku>
|
|
27
27
|
* <https://web.archive.org/web/20250413192257/https://www.slov-lex.sk/pravne-predpisy/SK/ZZ/1993/241/>
|
|
28
|
+
* [Law 326/2020](https://web.archive.org/web/20250713005858/https://static.slov-lex.sk/static/SK/ZZ/2020/326/20210101.html)
|
|
29
|
+
* [Law 530/2023](https://web.archive.org/web/20250424165411/https://static.slov-lex.sk/static/SK/ZZ/2023/530/20240101.html)
|
|
30
|
+
* [Law 261/2025](https://web.archive.org/web/20251014224441/https://static.slov-lex.sk/static/SK/ZZ/2025/261/20251101.html)
|
|
28
31
|
"""
|
|
29
32
|
|
|
30
33
|
country = "SK"
|
|
@@ -58,7 +61,7 @@ class Slovakia(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHoli
|
|
|
58
61
|
# Labor Day.
|
|
59
62
|
self._add_labor_day(tr("Sviatok práce"))
|
|
60
63
|
|
|
61
|
-
if self._year >= 1997:
|
|
64
|
+
if self._year >= 1997 and self._year != 2026:
|
|
62
65
|
# Day of Victory over Fascism.
|
|
63
66
|
self._add_world_war_two_victory_day(tr("Deň víťazstva nad fašizmom"))
|
|
64
67
|
|
|
@@ -72,13 +75,14 @@ class Slovakia(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHoli
|
|
|
72
75
|
# Constitution Day.
|
|
73
76
|
self._add_holiday_sep_1(tr("Deň Ústavy Slovenskej republiky"))
|
|
74
77
|
|
|
75
|
-
|
|
76
|
-
|
|
78
|
+
if self._year != 2026:
|
|
79
|
+
# Day of Our Lady of the Seven Sorrows.
|
|
80
|
+
self._add_holiday_sep_15(tr("Sedembolestná Panna Mária"))
|
|
77
81
|
|
|
78
82
|
# All Saints' Day.
|
|
79
83
|
self._add_all_saints_day(tr("Sviatok Všetkých svätých"))
|
|
80
84
|
|
|
81
|
-
if self._year
|
|
85
|
+
if 2001 <= self._year <= 2024:
|
|
82
86
|
# Struggle for Freedom and Democracy Day.
|
|
83
87
|
self._add_holiday_nov_17(tr("Deň boja za slobodu a demokraciu"))
|
|
84
88
|
|
|
@@ -94,14 +98,29 @@ class Slovakia(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHoli
|
|
|
94
98
|
def _populate_workday_holidays(self):
|
|
95
99
|
# According to Law 241/1993, these state holidays are not non-working days.
|
|
96
100
|
|
|
101
|
+
# Law 261/2025.
|
|
102
|
+
if self._year == 2026:
|
|
103
|
+
# Day of Victory over Fascism.
|
|
104
|
+
self._add_world_war_two_victory_day(tr("Deň víťazstva nad fašizmom"))
|
|
105
|
+
|
|
106
|
+
# Day of Our Lady of the Seven Sorrows.
|
|
107
|
+
self._add_holiday_sep_15(tr("Sedembolestná Panna Mária"))
|
|
108
|
+
|
|
109
|
+
# Law 530/2023.
|
|
97
110
|
if self._year >= 2024:
|
|
98
111
|
# Constitution Day.
|
|
99
112
|
self._add_holiday_sep_1(tr("Deň Ústavy Slovenskej republiky"))
|
|
100
113
|
|
|
114
|
+
# Law 326/2020.
|
|
101
115
|
if self._year >= 2021:
|
|
102
116
|
# Day of the Establishment of the Independent Czech-Slovak State.
|
|
103
117
|
self._add_holiday_oct_28(tr("Deň vzniku samostatného česko-slovenského štátu"))
|
|
104
118
|
|
|
119
|
+
# Law 261/2025.
|
|
120
|
+
if self._year >= 2025:
|
|
121
|
+
# Struggle for Freedom and Democracy Day.
|
|
122
|
+
self._add_holiday_nov_17(tr("Deň boja za slobodu a demokraciu"))
|
|
123
|
+
|
|
105
124
|
|
|
106
125
|
class SK(Slovakia):
|
|
107
126
|
pass
|