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/turkey.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,13 +20,13 @@ from holidays.holiday_base import HolidayBase
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class Turkey(HolidayBase, InternationalHolidays, IslamicHolidays, StaticHolidays):
|
|
23
|
-
"""
|
|
24
|
-
References:
|
|
23
|
+
"""Turkey holidays.
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
References:
|
|
26
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Turkey>
|
|
27
|
+
* [Law 2739](https://www5.tbmm.gov.tr/tutanaklar/KANUNLAR_KARARLAR/kanuntbmmc015/kanuntbmmc015/kanuntbmmc01502739.pdf)
|
|
28
|
+
* [Law 2429](https://www.mevzuat.gov.tr/MevzuatMetin/1.5.2429.pdf)
|
|
29
|
+
* [Hijri calendar holidays](https://vakithesaplama.diyanet.gov.tr/hicriden_miladiye.php)
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
32
|
country = "TR"
|
|
@@ -38,9 +38,17 @@ class Turkey(HolidayBase, InternationalHolidays, IslamicHolidays, StaticHolidays
|
|
|
38
38
|
# Law 2739 of 27 May 1935.
|
|
39
39
|
start_year = 1936
|
|
40
40
|
|
|
41
|
-
def __init__(self, *args, **kwargs):
|
|
41
|
+
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
42
|
+
"""
|
|
43
|
+
Args:
|
|
44
|
+
islamic_show_estimated:
|
|
45
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
46
|
+
if holiday date is estimated.
|
|
47
|
+
"""
|
|
42
48
|
InternationalHolidays.__init__(self)
|
|
43
|
-
IslamicHolidays.__init__(
|
|
49
|
+
IslamicHolidays.__init__(
|
|
50
|
+
self, cls=TurkeyIslamicHolidays, show_estimated=islamic_show_estimated
|
|
51
|
+
)
|
|
44
52
|
StaticHolidays.__init__(self, TurkeyStaticHolidays)
|
|
45
53
|
super().__init__(*args, **kwargs)
|
|
46
54
|
|
holidays/countries/tuvalu.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
|
|
@@ -21,17 +21,18 @@ from holidays.observed_holiday_base import (
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
class Tuvalu(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
24
|
-
"""
|
|
24
|
+
"""Tuvalu holidays.
|
|
25
|
+
|
|
25
26
|
References:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
* [Public holidays in Tuvalu](https://en.wikipedia.org/wiki/Public_holidays_in_Tuvalu)
|
|
28
|
+
* [Today's and Upcoming Holidays in Tuvalu](https://www.timeanddate.com/holidays/tuvalu/)
|
|
29
|
+
* [Public Holidays (Amendment) Act 1990](https://www.paclii.org/cgi-bin/sinodisp/tv/legis/num_act/pha1990243/pha1990243.html)
|
|
30
|
+
* [Public Holidays Act 1](https://tuvalu-legislation.tv/cms/images/LEGISLATION/PRINCIPAL/1937/1937-0005/1937-0005_1.pdf)
|
|
31
|
+
* [Public Holidays (Amendment) Act 2018](https://tuvalu-legislation.tv/cms/images/LEGISLATION/AMENDING/Public%20Holidays%20(Amendment)%20Act/Public%20Holidays%20(Amendment)%20Act%202018/Public%20Holidays%20(Amendment)%20Act%202018.pdf)
|
|
32
|
+
* [Public Holidays (Amendment) Act 2020](https://tuvalu-legislation.tv/cms/images/LEGISLATION/AMENDING/2020/2020-0013/2020-0013.pdf)
|
|
33
|
+
* [Public Holidays Act 2](https://tuvalu-legislation.tv/cms/images/LEGISLATION/PRINCIPAL/1937/1937-0005/1937-0005_2.pdf)
|
|
34
|
+
* [Codes for the representation of names of countries and their subdivisions](https://www.iso.org/obp/ui/#iso:code:3166:TV)
|
|
35
|
+
* [TUVALU-NEWS.TV](https://web.archive.org/web/20140915180104/http://www.tuvalu-news.tv/archives/2007/01/island_special_public_holidays.html)
|
|
35
36
|
"""
|
|
36
37
|
|
|
37
38
|
country = "TV"
|
holidays/countries/ukraine.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
|
|
@@ -22,12 +22,11 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SAT_SUN_TO_NEXT_
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
class Ukraine(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
25
|
-
"""
|
|
26
|
-
Ukraine holidays.
|
|
25
|
+
"""Ukraine holidays.
|
|
27
26
|
|
|
28
27
|
References:
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
* [Labor Code of Ukraine, Art. 73](https://zakon1.rada.gov.ua/laws/show/322-08/paran454#n454)
|
|
29
|
+
* <https://zakon.rada.gov.ua/laws/show/585-12>
|
|
31
30
|
"""
|
|
32
31
|
|
|
33
32
|
country = "UA"
|
|
@@ -167,55 +166,56 @@ class UKR(Ukraine):
|
|
|
167
166
|
|
|
168
167
|
|
|
169
168
|
class UkraineStaticHolidays:
|
|
170
|
-
"""
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
169
|
+
"""Ukraine special holidays.
|
|
170
|
+
|
|
171
|
+
Substituted holidays References:
|
|
172
|
+
* [1991](https://zakon.rada.gov.ua/laws/show/60-91-%D0%BF)
|
|
173
|
+
* [1992 [1]](https://zakon.rada.gov.ua/laws/show/202-92-%D0%BF)
|
|
174
|
+
* [1992 [2]](https://zakon.rada.gov.ua/laws/show/377-91-%D0%BF)
|
|
175
|
+
* [1993 [1]](https://zakon.rada.gov.ua/laws/show/563-93-%D0%BF)
|
|
176
|
+
* [1993 [2]](https://zakon.rada.gov.ua/laws/show/725-92-%D0%BF)
|
|
177
|
+
* [1994](https://zakon.rada.gov.ua/laws/show/98-94-%D0%BF)
|
|
178
|
+
* [1995 [1]](https://zakon.rada.gov.ua/laws/show/852-95-%D0%BF)
|
|
179
|
+
* [1995 [2]](https://zakon.rada.gov.ua/laws/show/634-95-%D0%BF)
|
|
180
|
+
* [1995 [3]](https://zakon.rada.gov.ua/laws/show/266-95-%D0%BF)
|
|
181
|
+
* [1996](https://zakon.rada.gov.ua/laws/show/424-96-%D0%BF)
|
|
182
|
+
* [1997 [1]](https://zakon.rada.gov.ua/laws/show/326-97-%D0%BF)
|
|
183
|
+
* [1997 [2]](https://zakon.rada.gov.ua/laws/show/1547-96-%D0%BF)
|
|
184
|
+
* [1998](https://zakon.rada.gov.ua/laws/show/1404-97-%D0%BF>)
|
|
185
|
+
* [1999 [1]](https://zakon.rada.gov.ua/laws/show/1433-99-%D0%BF>)
|
|
186
|
+
* [1999 [2]](https://zakon.rada.gov.ua/laws/show/558-99-%D0%BF>)
|
|
187
|
+
* [1999 [3]](https://zakon.rada.gov.ua/laws/show/2070-98-%D0%BF)
|
|
188
|
+
* [2000 [1]](https://zakon.rada.gov.ua/laws/show/1251-2000-%D0%BF)
|
|
189
|
+
* [2000 [2]](https://zakon.rada.gov.ua/laws/show/717-2000-%D0%BF)
|
|
190
|
+
* [2001 [1]](https://zakon.rada.gov.ua/laws/show/138-2001-%D1%80)
|
|
191
|
+
* [2001 [2]](https://zakon.rada.gov.ua/laws/show/210-2001-%D0%BF)
|
|
192
|
+
* [2002](https://zakon.rada.gov.ua/laws/show/202-2002-%D1%80)
|
|
193
|
+
* [2002 - 2003](https:/zakon.rada.gov.ua/laws/show/705-2002-%D1%80)
|
|
194
|
+
* [2004](https://zakon.rada.gov.ua/laws/show/773-2003-%D1%80)
|
|
195
|
+
* [2005 [1]](https://zakon.rada.gov.ua/laws/show/936-2004-%D1%80)
|
|
196
|
+
* [2005 [2]](https://zakon.rada.gov.ua/laws/show/133-2005-%D1%80)
|
|
197
|
+
* [2006 [1]](https://zakon.rada.gov.ua/laws/show/490-2005-%D1%80)
|
|
198
|
+
* [2006 [2]](https://zakon.rada.gov.ua/laws/show/562-2005-%D1%80)
|
|
199
|
+
* [2007](https://zakon.rada.gov.ua/laws/show/612-2006-%D1%80)
|
|
200
|
+
* [2008 [1]](https://zakon.rada.gov.ua/laws/show/1059-2007-%D1%80)
|
|
201
|
+
* [2008 [2]](https://zakon.rada.gov.ua/laws/show/538-2008-%D1%80)
|
|
202
|
+
* [2009](https://zakon.rada.gov.ua/laws/show/1458-2008-%D1%80)
|
|
203
|
+
* [2010](https://zakon.rada.gov.ua/laws/show/1412-2009-%D1%80)
|
|
204
|
+
* [2011](https://zakon.rada.gov.ua/laws/show/2130-2010-%D1%80)
|
|
205
|
+
* [2012](https://zakon.rada.gov.ua/laws/show/1210-2011-%D1%80)
|
|
206
|
+
* [2013](https://zakon.rada.gov.ua/laws/show/1043-2012-%D1%80)
|
|
207
|
+
* [2014](https://zakon.rada.gov.ua/laws/show/920-2013-%D1%80)
|
|
208
|
+
* [2015](https://zakon.rada.gov.ua/laws/show/1084-2014-%D1%80)
|
|
209
|
+
* [2016](https://zakon.rada.gov.ua/laws/show/1155-2015-%D1%80)
|
|
210
|
+
* [2017](https://zakon.rada.gov.ua/laws/show/850-2016-%D1%80)
|
|
211
|
+
* [2018](https://zakon.rada.gov.ua/laws/show/1-2018-%D1%80)
|
|
212
|
+
* [2019](https://zakon.rada.gov.ua/laws/show/7-2019-%D1%80)
|
|
213
|
+
* [2020](https://zakon.rada.gov.ua/laws/show/995-2019-%D1%80)
|
|
214
|
+
* [2021](https://zakon.rada.gov.ua/laws/show/1191-2020-%D1%80)
|
|
215
|
+
* [2022](https://zakon.rada.gov.ua/laws/show/1004-2021-%D1%80)
|
|
216
|
+
|
|
217
|
+
Special holidays References:
|
|
218
|
+
* [1995](https://zakon.rada.gov.ua/laws/show/13/95)
|
|
219
219
|
"""
|
|
220
220
|
|
|
221
221
|
# Date format (see strftime() Format Codes)
|
|
@@ -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
|
|
@@ -35,22 +35,26 @@ from holidays.holiday_base import HolidayBase
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class UnitedArabEmirates(HolidayBase, InternationalHolidays, IslamicHolidays, StaticHolidays):
|
|
38
|
-
"""
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
"""United Arab Emirates holidays.
|
|
39
|
+
|
|
40
|
+
References:
|
|
41
|
+
* [2017](https://www.khaleejtimes.com/nation/uae-official-public-holidays-list-2017)
|
|
42
|
+
* [2018](https://www.khaleejtimes.com/nation/Here-are-the-holidays-remaining-in-2018-in-UAE)
|
|
43
|
+
* [2019](https://www.thenational.ae/uae/government/uae-public-holidays-for-2019-and-2020-announced-by-cabinet-1.833425)
|
|
44
|
+
* [2020](https://u.ae/en/information-and-services/public-holidays-and-religious-affairs/public-holidays)
|
|
45
|
+
* [2021](https://www.wam.ae/en/details/1395302957696)
|
|
46
|
+
* [2022](https://www.khaleejtimes.com/ramadan/eid-al-fitr-holiday-announced-in-uae-3)
|
|
47
|
+
* 2023:
|
|
48
|
+
* <https://www.timeoutdubai.com/news/uae-public-holidays-in-2023>
|
|
49
|
+
* <https://www.khaleejtimes.com/uae/islamic-new-year-2023-uae-announces-official-holiday-for-public-sector>
|
|
50
|
+
* [2024](https://www.timeoutdubai.com/news/uae-public-holidays-in-2024)
|
|
51
|
+
* [2025](https://www.timeoutdubai.com/news/uae-public-holidays-2025)
|
|
52
|
+
|
|
53
|
+
Holidays are regulated by the Article 74 of [Federal Law No.
|
|
54
|
+
08](https://www.ilo.org/dyn/natlex/docs/ELECTRONIC/11956/69376/F417089305/ARE11956.pdf)
|
|
55
|
+
for the year 1980.
|
|
56
|
+
|
|
41
57
|
However the law is not applied literally, and was amended often in the past few years.
|
|
42
|
-
Sources:
|
|
43
|
-
2017: https://www.khaleejtimes.com/nation/uae-official-public-holidays-list-2017
|
|
44
|
-
2018: https://www.khaleejtimes.com/nation/Here-are-the-holidays-remaining-in-2018-in-UAE
|
|
45
|
-
2019: https://www.thenational.ae/uae/government/uae-public-holidays-for-2019-and-2020-announced-by-cabinet-1.833425
|
|
46
|
-
2020: https://u.ae/en/information-and-services/public-holidays-and-religious-affairs/public-holidays
|
|
47
|
-
2021: https://www.wam.ae/en/details/1395302957696
|
|
48
|
-
2022: https://www.khaleejtimes.com/ramadan/eid-al-fitr-holiday-announced-in-uae-3
|
|
49
|
-
2023:
|
|
50
|
-
- https://www.timeoutdubai.com/news/uae-public-holidays-in-2023
|
|
51
|
-
- https://www.khaleejtimes.com/uae/islamic-new-year-2023-uae-announces-official-holiday-for-public-sector
|
|
52
|
-
2024: https://www.timeoutdubai.com/news/uae-public-holidays-in-2024
|
|
53
|
-
2025: https://www.timeoutdubai.com/news/uae-public-holidays-2025
|
|
54
58
|
"""
|
|
55
59
|
|
|
56
60
|
country = "AE"
|
|
@@ -62,9 +66,17 @@ class UnitedArabEmirates(HolidayBase, InternationalHolidays, IslamicHolidays, St
|
|
|
62
66
|
# Founded on DEC 2, 1971.
|
|
63
67
|
start_year = 1972
|
|
64
68
|
|
|
65
|
-
def __init__(self, *args, **kwargs):
|
|
69
|
+
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
70
|
+
"""
|
|
71
|
+
Args:
|
|
72
|
+
islamic_show_estimated:
|
|
73
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
74
|
+
if holiday date is estimated.
|
|
75
|
+
"""
|
|
66
76
|
InternationalHolidays.__init__(self)
|
|
67
|
-
IslamicHolidays.__init__(
|
|
77
|
+
IslamicHolidays.__init__(
|
|
78
|
+
self, cls=UnitedArabEmiratesIslamicHolidays, show_estimated=islamic_show_estimated
|
|
79
|
+
)
|
|
68
80
|
StaticHolidays.__init__(self, UnitedArabEmiratesStaticHolidays)
|
|
69
81
|
super().__init__(*args, **kwargs)
|
|
70
82
|
|
|
@@ -186,20 +198,21 @@ class UnitedArabEmiratesIslamicHolidays(_CustomIslamicHolidays):
|
|
|
186
198
|
|
|
187
199
|
|
|
188
200
|
class UnitedArabEmiratesStaticHolidays:
|
|
189
|
-
"""
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
201
|
+
"""United Arab Emirates special holidays.
|
|
202
|
+
|
|
203
|
+
Special Eid al-Fitr entries for Ramadan 29 from 2020 onwards:
|
|
204
|
+
* [2019](https://www.mohre.gov.ae/en/media-centre/news/30/1/2019/عطلة-رسمية-يوم-زيارة-البابا-للمشاركين-في-فعالياته-من-القطاع-الخاص.aspx?DisableResponsive=1)
|
|
205
|
+
* [2020](https://gulfbusiness.com/revealed-uae-private-sector-holidays-for-eid-al-fitr-2020/)
|
|
206
|
+
* [2021](https://www.timeoutdubai.com/news/466278-eid-al-fitr-holiday-2021-dubai)
|
|
207
|
+
* 2022:
|
|
208
|
+
* <https://gulfnews.com/uae/eid-al-fitr-2022-holidays-for-private-and-public-sectors-in-uae-explained-1.1650951429432>
|
|
209
|
+
* <https://www.arabianbusiness.com/gcc/uae/uae-suspends-work-for-three-days-marks-40-days-of-mourning-over-sheikh-khalifas-death>
|
|
210
|
+
* [2023](https://hrme.economictimes.indiatimes.com/news/industry/uae-cabinet-announces-national-day-holiday-for-federal-government-from-2-to-4-december/105455071)
|
|
211
|
+
* [2024](https://www.timeoutdubai.com/news/eid-al-fitr-2024-expected-dates-ramadan)
|
|
212
|
+
* [2025](https://www.timeoutdubai.com/news/uae-public-holidays-2025)
|
|
200
213
|
|
|
201
214
|
Cross-Checked With:
|
|
202
|
-
|
|
215
|
+
* <https://www.timeanddate.com/holidays/united-arab-emirates/2021?hol=134217729>
|
|
203
216
|
"""
|
|
204
217
|
|
|
205
218
|
# Eid al-Fitr Holiday.
|
|
@@ -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
|
|
@@ -24,12 +24,13 @@ from holidays.observed_holiday_base import (
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class UnitedKingdom(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
27
|
-
"""
|
|
27
|
+
"""United Kingdom holidays.
|
|
28
|
+
|
|
28
29
|
References:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_the_United_Kingdom>
|
|
31
|
+
* <https://archive.org/details/treatiseonbanki00walk/page/334/mode/2up>
|
|
32
|
+
* <https://www.gov.uk/bank-holidays>
|
|
33
|
+
* <https://www.timeanddate.com/holidays/uk/>
|
|
33
34
|
|
|
34
35
|
The Anniversary of the Battle of the Boyne bank holiday is proclaimed annually by the
|
|
35
36
|
Secretary of State for Northern Ireland.
|