holidays 0.68__py3-none-any.whl → 0.70__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- holidays/__init__.py +1 -1
- holidays/calendars/__init__.py +2 -1
- holidays/calendars/balinese_saka.py +112 -0
- holidays/calendars/buddhist.py +1 -1
- holidays/calendars/chinese.py +1 -1
- holidays/calendars/custom.py +1 -1
- holidays/calendars/gregorian.py +1 -1
- holidays/calendars/hebrew.py +1 -1
- holidays/calendars/hindu.py +866 -2
- holidays/calendars/islamic.py +161 -1
- holidays/calendars/julian.py +1 -1
- holidays/calendars/julian_revised.py +1 -1
- holidays/calendars/persian.py +1 -1
- holidays/calendars/sinhala.py +1 -1
- holidays/calendars/thai.py +309 -257
- holidays/constants.py +3 -1
- holidays/countries/__init__.py +7 -1
- holidays/countries/afghanistan.py +17 -7
- holidays/countries/albania.py +16 -7
- holidays/countries/algeria.py +14 -10
- holidays/countries/american_samoa.py +12 -6
- holidays/countries/andorra.py +5 -4
- holidays/countries/angola.py +15 -14
- holidays/countries/antigua_and_barbuda.py +145 -0
- holidays/countries/argentina.py +787 -169
- holidays/countries/armenia.py +5 -6
- holidays/countries/aruba.py +11 -9
- holidays/countries/australia.py +21 -20
- holidays/countries/austria.py +3 -1
- holidays/countries/azerbaijan.py +30 -19
- holidays/countries/bahamas.py +13 -11
- holidays/countries/bahrain.py +14 -7
- holidays/countries/bangladesh.py +5 -4
- holidays/countries/barbados.py +11 -9
- holidays/countries/belarus.py +15 -15
- holidays/countries/belgium.py +8 -6
- holidays/countries/belize.py +7 -6
- holidays/countries/bolivia.py +12 -11
- holidays/countries/bosnia_and_herzegovina.py +21 -11
- holidays/countries/botswana.py +8 -6
- holidays/countries/brazil.py +8 -7
- holidays/countries/brunei.py +56 -62
- holidays/countries/bulgaria.py +9 -10
- holidays/countries/burkina_faso.py +14 -5
- holidays/countries/burundi.py +17 -12
- holidays/countries/cambodia.py +15 -24
- holidays/countries/cameroon.py +16 -7
- holidays/countries/canada.py +13 -12
- holidays/countries/chad.py +15 -6
- holidays/countries/chile.py +29 -28
- holidays/countries/china.py +39 -38
- holidays/countries/colombia.py +15 -20
- holidays/countries/congo.py +6 -7
- holidays/countries/costa_rica.py +11 -10
- holidays/countries/croatia.py +8 -5
- holidays/countries/cuba.py +30 -27
- holidays/countries/curacao.py +6 -4
- holidays/countries/cyprus.py +4 -5
- holidays/countries/czechia.py +7 -6
- holidays/countries/denmark.py +5 -6
- holidays/countries/djibouti.py +11 -3
- holidays/countries/dominica.py +18 -16
- holidays/countries/dominican_republic.py +6 -4
- holidays/countries/ecuador.py +5 -4
- holidays/countries/egypt.py +10 -11
- holidays/countries/el_salvador.py +6 -5
- holidays/countries/estonia.py +3 -1
- holidays/countries/eswatini.py +6 -4
- holidays/countries/ethiopia.py +26 -11
- holidays/countries/fiji.py +183 -0
- holidays/countries/finland.py +11 -10
- holidays/countries/france.py +6 -9
- holidays/countries/gabon.py +17 -8
- holidays/countries/georgia.py +7 -7
- holidays/countries/germany.py +11 -11
- holidays/countries/ghana.py +14 -6
- holidays/countries/greece.py +4 -5
- holidays/countries/greenland.py +5 -6
- holidays/countries/guam.py +12 -6
- holidays/countries/guatemala.py +7 -9
- holidays/countries/guernsey.py +37 -34
- holidays/countries/guinea.py +182 -0
- holidays/countries/haiti.py +6 -5
- holidays/countries/honduras.py +8 -4
- holidays/countries/hongkong.py +49 -60
- holidays/countries/hungary.py +26 -23
- holidays/countries/iceland.py +5 -4
- holidays/countries/india.py +494 -174
- holidays/countries/indonesia.py +68 -108
- holidays/countries/iran.py +18 -9
- holidays/countries/ireland.py +5 -4
- holidays/countries/isle_of_man.py +2 -2
- holidays/countries/israel.py +4 -5
- holidays/countries/italy.py +5 -4
- holidays/countries/ivory_coast.py +156 -0
- holidays/countries/jamaica.py +6 -4
- holidays/countries/japan.py +5 -5
- holidays/countries/jersey.py +29 -26
- holidays/countries/jordan.py +13 -6
- holidays/countries/kazakhstan.py +72 -51
- holidays/countries/kenya.py +28 -18
- holidays/countries/kuwait.py +14 -7
- holidays/countries/kyrgyzstan.py +11 -6
- holidays/countries/laos.py +21 -29
- holidays/countries/latvia.py +7 -5
- holidays/countries/lesotho.py +6 -5
- holidays/countries/liechtenstein.py +5 -5
- holidays/countries/lithuania.py +4 -5
- holidays/countries/luxembourg.py +5 -3
- holidays/countries/macau.py +480 -0
- holidays/countries/madagascar.py +5 -4
- holidays/countries/malawi.py +6 -4
- holidays/countries/malaysia.py +30 -18
- holidays/countries/maldives.py +14 -7
- holidays/countries/malta.py +10 -19
- holidays/countries/marshall_islands.py +6 -4
- holidays/countries/mauritania.py +13 -6
- holidays/countries/mexico.py +8 -7
- holidays/countries/moldova.py +6 -4
- holidays/countries/monaco.py +6 -4
- holidays/countries/montenegro.py +16 -7
- holidays/countries/morocco.py +13 -8
- holidays/countries/mozambique.py +3 -1
- holidays/countries/namibia.py +7 -5
- holidays/countries/netherlands.py +6 -6
- holidays/countries/new_zealand.py +3 -1
- holidays/countries/nicaragua.py +6 -5
- holidays/countries/nigeria.py +13 -5
- holidays/countries/north_macedonia.py +13 -5
- holidays/countries/northern_mariana_islands.py +12 -6
- holidays/countries/norway.py +15 -15
- holidays/countries/pakistan.py +48 -18
- holidays/countries/palau.py +13 -11
- holidays/countries/panama.py +9 -8
- holidays/countries/papua_new_guinea.py +25 -21
- holidays/countries/paraguay.py +10 -9
- holidays/countries/peru.py +4 -5
- holidays/countries/philippines.py +32 -18
- holidays/countries/poland.py +7 -6
- holidays/countries/portugal.py +13 -15
- holidays/countries/puerto_rico.py +12 -6
- holidays/countries/qatar.py +172 -0
- holidays/countries/romania.py +6 -4
- holidays/countries/russia.py +6 -4
- holidays/countries/saint_kitts_and_nevis.py +24 -22
- holidays/countries/saint_lucia.py +8 -7
- holidays/countries/samoa.py +7 -6
- holidays/countries/san_marino.py +4 -3
- holidays/countries/saudi_arabia.py +15 -15
- holidays/countries/serbia.py +3 -4
- holidays/countries/seychelles.py +22 -26
- holidays/countries/singapore.py +33 -38
- holidays/countries/slovakia.py +6 -5
- holidays/countries/slovenia.py +7 -6
- holidays/countries/south_africa.py +8 -6
- holidays/countries/south_korea.py +25 -32
- holidays/countries/spain.py +31 -24
- holidays/countries/sri_lanka.py +52 -42
- holidays/countries/sweden.py +20 -19
- holidays/countries/switzerland.py +6 -5
- holidays/countries/taiwan.py +230 -31
- holidays/countries/tanzania.py +34 -27
- holidays/countries/thailand.py +134 -142
- holidays/countries/timor_leste.py +38 -17
- holidays/countries/tonga.py +46 -42
- holidays/countries/tunisia.py +9 -3
- holidays/countries/turkey.py +17 -9
- holidays/countries/tuvalu.py +12 -11
- holidays/countries/ukraine.py +54 -54
- holidays/countries/united_arab_emirates.py +43 -30
- holidays/countries/united_kingdom.py +7 -6
- holidays/countries/united_states.py +130 -86
- holidays/countries/united_states_minor_outlying_islands.py +12 -6
- holidays/countries/united_states_virgin_islands.py +12 -6
- holidays/countries/uruguay.py +10 -9
- holidays/countries/uzbekistan.py +16 -7
- holidays/countries/vanuatu.py +7 -5
- holidays/countries/vatican_city.py +16 -15
- holidays/countries/venezuela.py +11 -14
- holidays/countries/vietnam.py +15 -11
- holidays/countries/zambia.py +8 -6
- holidays/countries/zimbabwe.py +6 -4
- holidays/deprecations/v1_incompatibility.py +1 -1
- holidays/financial/__init__.py +1 -1
- holidays/financial/brasil_bolsa_balcao.py +14 -13
- holidays/financial/european_central_bank.py +7 -6
- holidays/financial/ice_futures_europe.py +7 -6
- holidays/financial/ny_stock_exchange.py +13 -10
- holidays/groups/__init__.py +2 -1
- holidays/groups/balinese_saka.py +45 -0
- holidays/groups/buddhist.py +1 -1
- holidays/groups/chinese.py +69 -4
- holidays/groups/christian.py +1 -1
- holidays/groups/custom.py +1 -1
- holidays/groups/eastern.py +1 -1
- holidays/groups/hebrew.py +1 -1
- holidays/groups/hindu.py +256 -1
- holidays/groups/international.py +1 -1
- holidays/groups/islamic.py +17 -3
- holidays/groups/persian.py +1 -1
- holidays/groups/sinhala.py +1 -1
- holidays/groups/thai.py +1 -7
- holidays/helpers.py +1 -1
- holidays/holiday_base.py +410 -273
- holidays/ical.py +228 -0
- holidays/locale/ar_QA/LC_MESSAGES/QA.mo +0 -0
- holidays/locale/de/LC_MESSAGES/PL.mo +0 -0
- holidays/locale/en_CI/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/en_HK/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/en_IN/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/en_MO/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/en_PK/LC_MESSAGES/PK.mo +0 -0
- holidays/locale/en_TL/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GN.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/PK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/QA.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TW.mo +0 -0
- holidays/locale/es/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/GN.mo +0 -0
- holidays/locale/hi/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/pt_MO/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/pt_TL/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/tet/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/th/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/th/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/th/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/th/LC_MESSAGES/TW.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/ur_PK/LC_MESSAGES/PK.mo +0 -0
- holidays/locale/zh_CN/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/zh_CN/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/zh_CN/LC_MESSAGES/TW.mo +0 -0
- holidays/locale/zh_HK/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/zh_MO/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/zh_TW/LC_MESSAGES/TW.mo +0 -0
- holidays/mixins.py +2 -2
- holidays/observed_holiday_base.py +5 -2
- holidays/registry.py +7 -1
- holidays/utils.py +151 -151
- holidays/version.py +2 -2
- holidays-0.70.dist-info/METADATA +1404 -0
- {holidays-0.68.dist-info → holidays-0.70.dist-info}/RECORD +253 -222
- {holidays-0.68.dist-info → holidays-0.70.dist-info}/WHEEL +1 -1
- holidays-0.68.dist-info/AUTHORS → holidays-0.70.dist-info/licenses/AUTHORS.md +7 -2
- {holidays-0.68.dist-info → holidays-0.70.dist-info/licenses}/LICENSE +1 -1
- holidays-0.68.dist-info/METADATA +0 -1080
- {holidays-0.68.dist-info → holidays-0.70.dist-info}/top_level.txt +0 -0
holidays/countries/jersey.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -25,16 +25,18 @@ from holidays.observed_holiday_base import (
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class Jersey(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
28
|
-
"""
|
|
28
|
+
"""Jersey holidays.
|
|
29
|
+
|
|
29
30
|
References:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Jersey>
|
|
32
|
+
* [2010 Revision](https://www.jerseylaw.je/laws/current/Pages/15.560.20.aspx)
|
|
33
|
+
* [1952 Revision](https://www.jerseylaw.je/laws/superseded/Pages/2006/15.560.20.aspx)
|
|
34
|
+
* [1952 as enacted](https://www.jerseylaw.je/laws/enacted/Pages/RO-3038.aspx)
|
|
35
|
+
* [Bank Holidays](https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20RO%205331.aspx)
|
|
36
|
+
* [May Bank Holiday](https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20RO%206795.aspx)
|
|
37
|
+
|
|
36
38
|
Checked with:
|
|
37
|
-
|
|
39
|
+
* [From 2010 onwards](https://www.gov.je/Leisure/Events/WhatsOn/pages/bankholidaydates.aspx)
|
|
38
40
|
|
|
39
41
|
This has only been cross-checked with the official source from 2010 onwards.
|
|
40
42
|
|
|
@@ -157,24 +159,25 @@ class JEY(Jersey):
|
|
|
157
159
|
|
|
158
160
|
|
|
159
161
|
class JerseyStaticHolidays:
|
|
160
|
-
"""
|
|
162
|
+
"""Jersey special holidays.
|
|
163
|
+
|
|
161
164
|
References:
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
165
|
+
* <https://www.gov.je/News/2019/pages/vedaypublicholiday8may.aspx>
|
|
166
|
+
* <https://www.gov.je/news/2021/pages/cornriots.aspx>
|
|
167
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20R%20%20O%209288.aspx>
|
|
168
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20R%20%20O%209317.aspx>
|
|
169
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20RO%2042-2001.aspx>
|
|
170
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20RO%206350.aspx>
|
|
171
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20RO%206514.aspx>
|
|
172
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20RO%206924.aspx>
|
|
173
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20RO%207689.aspx>
|
|
174
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20RO%207877.aspx>
|
|
175
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20RO%208451.aspx>
|
|
176
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20RO%208596.aspx>
|
|
177
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/RO-050-2021.aspx>
|
|
178
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/RO-108-2009.aspx>
|
|
179
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/RO-3038.aspx>
|
|
180
|
+
* <https://www.jerseylaw.je/laws/enacted/Pages/RO-036-2024.aspx>
|
|
178
181
|
"""
|
|
179
182
|
|
|
180
183
|
# Mostly a direct copy of UnitedKingdomStaticHolidays.
|
holidays/countries/jordan.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -18,10 +18,11 @@ from holidays.holiday_base import HolidayBase
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Jordan(HolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolidays):
|
|
21
|
-
"""
|
|
21
|
+
"""Jordan holidays.
|
|
22
|
+
|
|
22
23
|
References:
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Jordan>
|
|
25
|
+
* <https://www.mfa.gov.jo/content/public-holidays>
|
|
25
26
|
"""
|
|
26
27
|
|
|
27
28
|
country = "JO"
|
|
@@ -30,10 +31,16 @@ class Jordan(HolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolid
|
|
|
30
31
|
estimated_label = tr("(تقدير) %s")
|
|
31
32
|
supported_languages = ("ar", "en_US")
|
|
32
33
|
|
|
33
|
-
def __init__(self, *args, **kwargs):
|
|
34
|
+
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
35
|
+
"""
|
|
36
|
+
Args:
|
|
37
|
+
islamic_show_estimated:
|
|
38
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
39
|
+
if holiday date is estimated.
|
|
40
|
+
"""
|
|
34
41
|
ChristianHolidays.__init__(self)
|
|
35
42
|
InternationalHolidays.__init__(self)
|
|
36
|
-
IslamicHolidays.__init__(self)
|
|
43
|
+
IslamicHolidays.__init__(self, show_estimated=islamic_show_estimated)
|
|
37
44
|
super().__init__(*args, **kwargs)
|
|
38
45
|
|
|
39
46
|
def _populate_public_holidays(self):
|
holidays/countries/kazakhstan.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -27,57 +27,16 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SAT_SUN_TO_NEXT_
|
|
|
27
27
|
class Kazakhstan(
|
|
28
28
|
ObservedHolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolidays, StaticHolidays
|
|
29
29
|
):
|
|
30
|
-
"""
|
|
30
|
+
"""Kazakhstan holidays.
|
|
31
|
+
|
|
31
32
|
References:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Substituted holidays:
|
|
38
|
-
- `2000 <https://adilet.zan.kz/kaz/docs/P000000642%5F>`_
|
|
39
|
-
- 2001: `<https://adilet.zan.kz/kaz/docs/P010000282%5F>`_,
|
|
40
|
-
`<https://adilet.zan.kz/kaz/docs/P010000515%5F>`_,
|
|
41
|
-
`<https://adilet.zan.kz/kaz/docs/P010001604%5F>`_
|
|
42
|
-
- `2002 <https://adilet.zan.kz/kaz/docs/P020000466%5F>`_
|
|
43
|
-
- 2003: `<https://adilet.zan.kz/kaz/docs/P030000338%5F>`_,
|
|
44
|
-
`<https://adilet.zan.kz/kaz/docs/P030001166%5F>`_
|
|
45
|
-
- 2005: `<https://adilet.zan.kz/kaz/docs/P050000142%5F>`_,
|
|
46
|
-
`<https://adilet.zan.kz/kaz/docs/P050000751%5F>`_,
|
|
47
|
-
`<https://adilet.zan.kz/kaz/docs/P050000949%5F>`_
|
|
48
|
-
- 2006: `<https://adilet.zan.kz/kaz/docs/P050001309%5F>`_,
|
|
49
|
-
`<https://adilet.zan.kz/kaz/docs/P060000277%5F>`_
|
|
50
|
-
- 2007: `<https://adilet.zan.kz/kaz/docs/P070000148%5F>`_,
|
|
51
|
-
`<https://adilet.zan.kz/kaz/docs/P070000165%5F>`_,
|
|
52
|
-
`<https://adilet.zan.kz/kaz/docs/P070000713%5F>`_,
|
|
53
|
-
`<https://adilet.zan.kz/kaz/docs/P070000925%5F>`_,
|
|
54
|
-
`<https://adilet.zan.kz/kaz/docs/P070001113%5F>`_
|
|
55
|
-
- `2008 <https://adilet.zan.kz/kaz/docs/P080000364%5F>`_
|
|
56
|
-
- `2009 <https://adilet.zan.kz/kaz/docs/P090001936%5F>`_
|
|
57
|
-
- 2010: `<https://adilet.zan.kz/kaz/docs/P090002216%5F>`_,
|
|
58
|
-
`<https://adilet.zan.kz/kaz/docs/P100000637%5F>`_
|
|
59
|
-
- 2011: `<https://adilet.zan.kz/kaz/docs/P1100000167>`_,
|
|
60
|
-
`<https://adilet.zan.kz/kaz/docs/P1100000948>`_
|
|
61
|
-
- 2012: `<https://adilet.zan.kz/kaz/docs/P1200000268>`_,
|
|
62
|
-
`<https://adilet.zan.kz/kaz/docs/P1200000458>`_,
|
|
63
|
-
`<https://adilet.zan.kz/kaz/docs/P1200001538>`_
|
|
64
|
-
- 2013: `<https://adilet.zan.kz/kaz/docs/P1300000345>`_,
|
|
65
|
-
`<https://adilet.zan.kz/kaz/docs/P1300001068>`_,
|
|
66
|
-
`<https://adilet.zan.kz/kaz/docs/P1300001322>`_
|
|
67
|
-
- `2014 <https://adilet.zan.kz/kaz/docs/P1400000365>`_
|
|
68
|
-
- `2016 <https://adilet.zan.kz/kaz/docs/P1600000067>`_
|
|
69
|
-
- `2017 <https://adilet.zan.kz/kaz/docs/P1700000005>`_
|
|
70
|
-
- `2018 <https://adilet.zan.kz/kaz/docs/P1700000864>`_
|
|
71
|
-
- `2019 <https://adilet.zan.kz/kaz/docs/P1800000888>`_
|
|
72
|
-
- `2020 <https://adilet.zan.kz/kaz/docs/P1900000820>`_
|
|
73
|
-
- `2021 <https://adilet.zan.kz/kaz/docs/P2000000930>`_
|
|
74
|
-
- `2022 <https://adilet.zan.kz/kaz/docs/P2200000796>`_
|
|
75
|
-
- `2023 <https://adilet.zan.kz/kaz/docs/P2300000326>`_
|
|
76
|
-
- `2024 <https://adilet.zan.kz/kaz/docs/G24G0000109>`_
|
|
77
|
-
- `2025 <https://adilet.zan.kz/kaz/docs/G24G0000436>`_
|
|
33
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Kazakhstan>
|
|
34
|
+
* <https://egov.kz/cms/en/articles/holidays-calend>
|
|
35
|
+
* <https://adilet.zan.kz/kaz/docs/Z010000267%5F/history>
|
|
36
|
+
* <https://adilet.zan.kz/kaz/docs/Z990000493%5F#z63>
|
|
78
37
|
|
|
79
38
|
Islamic holidays:
|
|
80
|
-
|
|
39
|
+
* [2025](https://en.inform.kz/news/first-day-of-ramadan-to-fall-on-march-1-2025-ca393f/)
|
|
81
40
|
"""
|
|
82
41
|
|
|
83
42
|
country = "KZ"
|
|
@@ -92,10 +51,18 @@ class Kazakhstan(
|
|
|
92
51
|
# Kazakhstan declared its sovereignty on 25 October 1990.
|
|
93
52
|
start_year = 1991
|
|
94
53
|
|
|
95
|
-
def __init__(self, *args, **kwargs):
|
|
54
|
+
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
55
|
+
"""
|
|
56
|
+
Args:
|
|
57
|
+
islamic_show_estimated:
|
|
58
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
59
|
+
if holiday date is estimated.
|
|
60
|
+
"""
|
|
96
61
|
ChristianHolidays.__init__(self, JULIAN_CALENDAR)
|
|
97
62
|
InternationalHolidays.__init__(self)
|
|
98
|
-
IslamicHolidays.__init__(
|
|
63
|
+
IslamicHolidays.__init__(
|
|
64
|
+
self, cls=KazakhstanIslamicHolidays, show_estimated=islamic_show_estimated
|
|
65
|
+
)
|
|
99
66
|
StaticHolidays.__init__(self, KazakhstanStaticHolidays)
|
|
100
67
|
kwargs.setdefault("observed_rule", SAT_SUN_TO_NEXT_WORKDAY)
|
|
101
68
|
kwargs.setdefault("observed_since", 2002)
|
|
@@ -204,6 +171,60 @@ class KazakhstanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
204
171
|
|
|
205
172
|
|
|
206
173
|
class KazakhstanStaticHolidays:
|
|
174
|
+
"""Kazakhstan special holidays.
|
|
175
|
+
|
|
176
|
+
References:
|
|
177
|
+
* [2000](https://adilet.zan.kz/kaz/docs/P000000642%5F)
|
|
178
|
+
* 2001:
|
|
179
|
+
* <https://adilet.zan.kz/kaz/docs/P010000282%5F>
|
|
180
|
+
* <https://adilet.zan.kz/kaz/docs/P010000515%5F>
|
|
181
|
+
* <https://adilet.zan.kz/kaz/docs/P010001604%5F>
|
|
182
|
+
* [2002](https://adilet.zan.kz/kaz/docs/P020000466%5F)
|
|
183
|
+
* 2003:
|
|
184
|
+
* <https://adilet.zan.kz/kaz/docs/P030000338%5F>
|
|
185
|
+
* <https://adilet.zan.kz/kaz/docs/P030001166%5F>
|
|
186
|
+
* 2005:
|
|
187
|
+
* <https://adilet.zan.kz/kaz/docs/P050000142%5F>
|
|
188
|
+
* <https://adilet.zan.kz/kaz/docs/P050000751%5F>
|
|
189
|
+
* <https://adilet.zan.kz/kaz/docs/P050000949%5F>
|
|
190
|
+
* 2006:
|
|
191
|
+
* <https://adilet.zan.kz/kaz/docs/P050001309%5F>
|
|
192
|
+
* <https://adilet.zan.kz/kaz/docs/P060000277%5F>
|
|
193
|
+
* 2007:
|
|
194
|
+
* <https://adilet.zan.kz/kaz/docs/P070000148%5F>
|
|
195
|
+
* <https://adilet.zan.kz/kaz/docs/P070000165%5F>
|
|
196
|
+
* <https://adilet.zan.kz/kaz/docs/P070000713%5F>
|
|
197
|
+
* <https://adilet.zan.kz/kaz/docs/P070000925%5F>
|
|
198
|
+
* <https://adilet.zan.kz/kaz/docs/P070001113%5F>
|
|
199
|
+
* [2008](https://adilet.zan.kz/kaz/docs/P080000364%5F)
|
|
200
|
+
* [2009](https://adilet.zan.kz/kaz/docs/P090001936%5F)
|
|
201
|
+
* 2010:
|
|
202
|
+
* <https://adilet.zan.kz/kaz/docs/P090002216%5F>
|
|
203
|
+
* <https://adilet.zan.kz/kaz/docs/P100000637%5F>
|
|
204
|
+
* 2011:
|
|
205
|
+
* <https://adilet.zan.kz/kaz/docs/P1100000167>
|
|
206
|
+
* <https://adilet.zan.kz/kaz/docs/P1100000948>
|
|
207
|
+
* 2012:
|
|
208
|
+
* <https://adilet.zan.kz/kaz/docs/P1200000268>
|
|
209
|
+
* <https://adilet.zan.kz/kaz/docs/P1200000458>
|
|
210
|
+
* <https://adilet.zan.kz/kaz/docs/P1200001538>
|
|
211
|
+
* 2013:
|
|
212
|
+
* <https://adilet.zan.kz/kaz/docs/P1300000345>
|
|
213
|
+
* <https://adilet.zan.kz/kaz/docs/P1300001068>
|
|
214
|
+
* <https://adilet.zan.kz/kaz/docs/P1300001322>
|
|
215
|
+
* [2014](https://adilet.zan.kz/kaz/docs/P1400000365)
|
|
216
|
+
* [2016](https://adilet.zan.kz/kaz/docs/P1600000067)
|
|
217
|
+
* [2017](https://adilet.zan.kz/kaz/docs/P1700000005)
|
|
218
|
+
* [2018](https://adilet.zan.kz/kaz/docs/P1700000864)
|
|
219
|
+
* [2019](https://adilet.zan.kz/kaz/docs/P1800000888)
|
|
220
|
+
* [2020](https://adilet.zan.kz/kaz/docs/P1900000820)
|
|
221
|
+
* [2021](https://adilet.zan.kz/kaz/docs/P2000000930)
|
|
222
|
+
* [2022](https://adilet.zan.kz/kaz/docs/P2200000796)
|
|
223
|
+
* [2023](https://adilet.zan.kz/kaz/docs/P2300000326)
|
|
224
|
+
* [2024](https://adilet.zan.kz/kaz/docs/G24G0000109)
|
|
225
|
+
* [2025](https://adilet.zan.kz/kaz/docs/G24G0000436)
|
|
226
|
+
"""
|
|
227
|
+
|
|
207
228
|
# Substituted date format.
|
|
208
229
|
substituted_date_format = tr("%d.%m.%Y")
|
|
209
230
|
# Day off (substituted from %s).
|
holidays/countries/kenya.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -33,11 +33,12 @@ class Kenya(
|
|
|
33
33
|
IslamicHolidays,
|
|
34
34
|
StaticHolidays,
|
|
35
35
|
):
|
|
36
|
-
"""
|
|
36
|
+
"""Kenya holidays.
|
|
37
|
+
|
|
37
38
|
References:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Kenya>
|
|
40
|
+
* [Public Holidays Act Cap. 110](https://new.kenyalaw.org/akn/ke/act/1912/21/eng@2024-04-26)
|
|
41
|
+
* [Constitution of Kenya (Art. 9)](https://new.kenyalaw.org/akn/ke/act/2010/constitution/eng@2010-09-03#chp_Two__sec_9)
|
|
41
42
|
"""
|
|
42
43
|
|
|
43
44
|
country = "KE"
|
|
@@ -53,11 +54,19 @@ class Kenya(
|
|
|
53
54
|
# Kenya gained independence on December 12, 1963.
|
|
54
55
|
start_year = 1964
|
|
55
56
|
|
|
56
|
-
def __init__(self, *args, **kwargs):
|
|
57
|
+
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
58
|
+
"""
|
|
59
|
+
Args:
|
|
60
|
+
islamic_show_estimated:
|
|
61
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
62
|
+
if holiday date is estimated.
|
|
63
|
+
"""
|
|
57
64
|
ChristianHolidays.__init__(self)
|
|
58
65
|
HinduCalendarHolidays.__init__(self, cls=KenyaHinduHolidays)
|
|
59
66
|
InternationalHolidays.__init__(self)
|
|
60
|
-
IslamicHolidays.__init__(
|
|
67
|
+
IslamicHolidays.__init__(
|
|
68
|
+
self, cls=KenyaIslamicHolidays, show_estimated=islamic_show_estimated
|
|
69
|
+
)
|
|
61
70
|
StaticHolidays.__init__(self, cls=KenyaStaticHolidays)
|
|
62
71
|
kwargs.setdefault("observed_rule", SUN_TO_NEXT_WORKDAY)
|
|
63
72
|
kwargs.setdefault("observed_since", 1985)
|
|
@@ -195,18 +204,19 @@ class KenyaIslamicHolidays(_CustomIslamicHolidays):
|
|
|
195
204
|
|
|
196
205
|
|
|
197
206
|
class KenyaStaticHolidays:
|
|
198
|
-
"""
|
|
207
|
+
"""Kenya special holidays.
|
|
208
|
+
|
|
199
209
|
References:
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/2015-11-24/129/eng@2015-11-24>
|
|
211
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/2017-08-01/107/eng@2017-08-01>
|
|
212
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/2017-10-19/156/eng@2017-10-19>
|
|
213
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/2017-10-24/159/eng@2017-10-24>
|
|
214
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/2017-11-23/174/eng@2017-11-23>
|
|
215
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/gazette/2022-07-29/147/eng@2022-07-29>
|
|
216
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/gazette/2022-09-08/182/eng@2022-09-08>
|
|
217
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/gazette/2023-11-06/238/eng@2023-11-06>
|
|
218
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/gazette/2024-05-08/61/eng@2024-05-08>
|
|
219
|
+
* <https://new.kenyalaw.org/akn/ke/officialGazette/2024-10-31/184/eng@2024-10-31>
|
|
210
220
|
"""
|
|
211
221
|
|
|
212
222
|
# Election Day.
|
holidays/countries/kuwait.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -18,11 +18,12 @@ from holidays.holiday_base import HolidayBase
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Kuwait(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
21
|
-
"""
|
|
21
|
+
"""Kuwait holidays.
|
|
22
|
+
|
|
22
23
|
References:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
* <https://en.wikipedia.org/wiki/2024_in_Kuwait>
|
|
25
|
+
* <https://www.officeholidays.com/countries/kuwait>
|
|
26
|
+
* <https://www.timeanddate.com/holidays/kuwait/2024>
|
|
26
27
|
"""
|
|
27
28
|
|
|
28
29
|
country = "KW"
|
|
@@ -31,9 +32,15 @@ class Kuwait(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
|
31
32
|
estimated_label = tr("(تقدير) %s")
|
|
32
33
|
supported_languages = ("ar", "en_US")
|
|
33
34
|
|
|
34
|
-
def __init__(self, *args, **kwargs):
|
|
35
|
+
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
36
|
+
"""
|
|
37
|
+
Args:
|
|
38
|
+
islamic_show_estimated:
|
|
39
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
40
|
+
if holiday date is estimated.
|
|
41
|
+
"""
|
|
35
42
|
InternationalHolidays.__init__(self)
|
|
36
|
-
IslamicHolidays.__init__(self)
|
|
43
|
+
IslamicHolidays.__init__(self, show_estimated=islamic_show_estimated)
|
|
37
44
|
super().__init__(*args, **kwargs)
|
|
38
45
|
|
|
39
46
|
def _populate_public_holidays(self):
|
holidays/countries/kyrgyzstan.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -16,19 +16,24 @@ from holidays.holiday_base import HolidayBase
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class Kyrgyzstan(HolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolidays):
|
|
19
|
-
"""
|
|
20
|
-
Kyrgyzstan holidays.
|
|
19
|
+
"""Kyrgyzstan holidays.
|
|
21
20
|
|
|
22
21
|
References:
|
|
23
|
-
|
|
22
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Kyrgyzstan>
|
|
24
23
|
"""
|
|
25
24
|
|
|
26
25
|
country = "KG"
|
|
27
26
|
|
|
28
|
-
def __init__(self, *args, **kwargs):
|
|
27
|
+
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
28
|
+
"""
|
|
29
|
+
Args:
|
|
30
|
+
islamic_show_estimated:
|
|
31
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
32
|
+
if holiday date is estimated.
|
|
33
|
+
"""
|
|
29
34
|
ChristianHolidays.__init__(self, JULIAN_CALENDAR)
|
|
30
35
|
InternationalHolidays.__init__(self)
|
|
31
|
-
IslamicHolidays.__init__(self)
|
|
36
|
+
IslamicHolidays.__init__(self, show_estimated=islamic_show_estimated)
|
|
32
37
|
super().__init__(*args, **kwargs)
|
|
33
38
|
|
|
34
39
|
def _populate_public_holidays(self):
|
holidays/countries/laos.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -20,44 +20,36 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SAT_SUN_TO_NEXT_
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class Laos(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiCalendarHolidays):
|
|
23
|
-
"""
|
|
24
|
-
A subclass of :py:class:`HolidayBase` representing public holidays in Laos.
|
|
23
|
+
"""Laos holidays.
|
|
25
24
|
|
|
26
25
|
References:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
!!! If Public Holiday falls on weekends, (in lieu) on workday !!!
|
|
26
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Laos>
|
|
27
|
+
* [Decree on Holidays No. 386 / Rev. 15.12.2017](https://juristact.weebly.com/uploads/1/0/9/9/109947087/d17_386.pdf)
|
|
28
|
+
|
|
29
|
+
Checked with:
|
|
30
|
+
* <https://asean.org/wp-content/uploads/2021/12/ASEAN-National-Holidays-2022.pdf>
|
|
31
|
+
* <https://asean.org/wp-content/uploads/2022/12/ASEAN-Public-Holidays-2023.pdf>
|
|
32
|
+
* <https://www.timeanddate.com/holidays/laos/>
|
|
33
|
+
* <https://www.bcel.com.la/bcel/bcel-calendar.html?y=2022>
|
|
34
|
+
* <https://www.bcel.com.la/bcel/bcel-calendar.html?y=2023>
|
|
35
|
+
* <https://www.bcel.com.la/bcel/bcel-calendar.html?y=2024>
|
|
36
|
+
* <http://www.lsx.com.la/cal/getStockCalendar.do?lang=lo> (from 2011 onwards)
|
|
37
|
+
|
|
38
|
+
!!! note "If Public Holiday falls on weekends, (in lieu) on workday"
|
|
41
39
|
Despite the wording, this usually only applies to Monday only for holidays,
|
|
42
40
|
consecutive holidays all have their own special in lieu declared separately.
|
|
43
41
|
|
|
44
|
-
|
|
42
|
+
As featured in Decree on Holidays No. 386:
|
|
45
43
|
- Saturdays and Sundays shall be restdays each week.
|
|
46
44
|
- In-Lieu holidays shall be given if it fall on the weekends.
|
|
47
45
|
|
|
48
|
-
|
|
46
|
+
Although in-lieus has been de facto observed since at least 2012.
|
|
49
47
|
|
|
50
48
|
Limitations:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
(B.E. 2701) as we only have Thai year-type data for cross-checking until then.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
Country created by: `PPsyrius <https://github.com/PPsyrius>`__
|
|
59
|
-
|
|
60
|
-
Country maintained by: `PPsyrius <https://github.com/PPsyrius>`__
|
|
49
|
+
- Laotian holidays only works from 1976 onwards, and are only 100% accurate from 2018
|
|
50
|
+
onwards.
|
|
51
|
+
- Laotian Lunar Calendar Holidays only work from 1941 (B.E. 2485) onwards until 2157
|
|
52
|
+
(B.E. 2701) as we only have Thai year-type data for cross-checking until then.
|
|
61
53
|
"""
|
|
62
54
|
|
|
63
55
|
country = "LA"
|
holidays/countries/latvia.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -18,10 +18,12 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SAT_SUN_TO_NEXT_
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Latvia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
21
|
-
"""
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
"""Latvia holidays.
|
|
22
|
+
|
|
23
|
+
References:
|
|
24
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Latvia>
|
|
25
|
+
* <https://information.lv/>
|
|
26
|
+
* <https://likumi.lv/ta/id/72608-par-svetku-atceres-un-atzimejamam-dienam>
|
|
25
27
|
"""
|
|
26
28
|
|
|
27
29
|
country = "LV"
|
holidays/countries/lesotho.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -16,11 +16,12 @@ from holidays.holiday_base import HolidayBase
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class Lesotho(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
19
|
-
"""
|
|
19
|
+
"""Lesotho holidays.
|
|
20
|
+
|
|
20
21
|
References:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Lesotho>
|
|
23
|
+
* <https://www.ilo.org/dyn/travail/docs/2093/Public%20Holidays%20Act%201995.pdf>
|
|
24
|
+
* <https://www.timeanddate.com/holidays/lesotho/>
|
|
24
25
|
"""
|
|
25
26
|
|
|
26
27
|
country = "LS"
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -18,11 +18,11 @@ from holidays.holiday_base import HolidayBase
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Liechtenstein(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
21
|
-
"""
|
|
22
|
-
|
|
21
|
+
"""Liechtenstein holidays.
|
|
22
|
+
|
|
23
23
|
References:
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Liechtenstein>
|
|
25
|
+
* <https://www.llb.li/en/contact/bank-holidays>
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
country = "LI"
|
holidays/countries/lithuania.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -17,12 +17,11 @@ from holidays.holiday_base import HolidayBase
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class Lithuania(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
20
|
-
"""
|
|
21
|
-
Lithuania holidays.
|
|
20
|
+
"""Lithuania holidays.
|
|
22
21
|
|
|
23
22
|
References:
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Lithuania>
|
|
24
|
+
* <https://www.kalendorius.today/>
|
|
26
25
|
"""
|
|
27
26
|
|
|
28
27
|
country = "LT"
|