holidays 0.69__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 +1 -1
- holidays/calendars/balinese_saka.py +3 -3
- 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 +1 -1
- 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 +2 -1
- holidays/countries/__init__.py +6 -1
- holidays/countries/afghanistan.py +11 -7
- holidays/countries/albania.py +10 -7
- holidays/countries/algeria.py +10 -10
- holidays/countries/american_samoa.py +6 -4
- 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 +24 -19
- holidays/countries/bahamas.py +13 -11
- holidays/countries/bahrain.py +8 -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 +15 -11
- holidays/countries/botswana.py +8 -6
- holidays/countries/brazil.py +8 -7
- holidays/countries/brunei.py +50 -62
- holidays/countries/bulgaria.py +9 -10
- holidays/countries/burkina_faso.py +8 -5
- holidays/countries/burundi.py +13 -12
- holidays/countries/cambodia.py +15 -24
- holidays/countries/cameroon.py +10 -7
- holidays/countries/canada.py +13 -12
- holidays/countries/chad.py +9 -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 +7 -3
- holidays/countries/dominica.py +18 -16
- holidays/countries/dominican_republic.py +6 -4
- holidays/countries/ecuador.py +5 -4
- holidays/countries/egypt.py +6 -11
- holidays/countries/el_salvador.py +6 -5
- holidays/countries/estonia.py +3 -1
- holidays/countries/eswatini.py +6 -4
- holidays/countries/ethiopia.py +20 -11
- holidays/countries/fiji.py +183 -0
- holidays/countries/finland.py +11 -10
- holidays/countries/france.py +6 -9
- holidays/countries/gabon.py +11 -8
- holidays/countries/georgia.py +7 -7
- holidays/countries/germany.py +11 -11
- holidays/countries/ghana.py +10 -6
- holidays/countries/greece.py +4 -5
- holidays/countries/greenland.py +5 -6
- holidays/countries/guam.py +6 -4
- 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 +11 -8
- holidays/countries/hungary.py +26 -23
- holidays/countries/iceland.py +5 -4
- holidays/countries/india.py +14 -10
- holidays/countries/indonesia.py +57 -53
- holidays/countries/iran.py +12 -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 +9 -6
- holidays/countries/kazakhstan.py +66 -51
- holidays/countries/kenya.py +22 -18
- holidays/countries/kuwait.py +10 -7
- holidays/countries/kyrgyzstan.py +7 -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 +32 -26
- holidays/countries/madagascar.py +5 -4
- holidays/countries/malawi.py +6 -4
- holidays/countries/malaysia.py +24 -18
- holidays/countries/maldives.py +10 -7
- holidays/countries/malta.py +10 -19
- holidays/countries/marshall_islands.py +6 -4
- holidays/countries/mauritania.py +9 -6
- holidays/countries/mexico.py +8 -7
- holidays/countries/moldova.py +6 -4
- holidays/countries/monaco.py +6 -4
- holidays/countries/montenegro.py +10 -7
- holidays/countries/morocco.py +9 -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 +9 -5
- holidays/countries/north_macedonia.py +9 -5
- holidays/countries/northern_mariana_islands.py +6 -4
- holidays/countries/norway.py +15 -15
- holidays/countries/pakistan.py +41 -17
- 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 +25 -21
- holidays/countries/poland.py +6 -5
- holidays/countries/portugal.py +13 -15
- holidays/countries/puerto_rico.py +6 -4
- 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 +11 -15
- holidays/countries/serbia.py +3 -4
- holidays/countries/seychelles.py +22 -26
- holidays/countries/singapore.py +29 -39
- 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 +25 -24
- holidays/countries/sri_lanka.py +46 -42
- holidays/countries/sweden.py +20 -19
- holidays/countries/switzerland.py +6 -5
- holidays/countries/taiwan.py +50 -48
- holidays/countries/tanzania.py +28 -27
- holidays/countries/thailand.py +134 -142
- holidays/countries/timor_leste.py +20 -18
- holidays/countries/tonga.py +46 -42
- holidays/countries/tunisia.py +5 -3
- holidays/countries/turkey.py +11 -9
- holidays/countries/tuvalu.py +12 -11
- holidays/countries/ukraine.py +54 -54
- holidays/countries/united_arab_emirates.py +37 -30
- holidays/countries/united_kingdom.py +7 -6
- holidays/countries/united_states.py +50 -55
- holidays/countries/united_states_minor_outlying_islands.py +6 -4
- holidays/countries/united_states_virgin_islands.py +6 -4
- holidays/countries/uruguay.py +10 -9
- holidays/countries/uzbekistan.py +10 -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 +1 -1
- holidays/groups/balinese_saka.py +1 -1
- holidays/groups/buddhist.py +1 -1
- holidays/groups/chinese.py +1 -1
- 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 +1 -1
- holidays/groups/international.py +1 -1
- holidays/groups/islamic.py +12 -1
- 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 +366 -244
- holidays/ical.py +228 -0
- holidays/locale/ar_QA/LC_MESSAGES/QA.mo +0 -0
- holidays/locale/en_CI/LC_MESSAGES/CI.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/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/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_TL/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/tet/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/th/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/ur_PK/LC_MESSAGES/PK.mo +0 -0
- holidays/mixins.py +2 -2
- holidays/observed_holiday_base.py +5 -2
- holidays/registry.py +6 -1
- holidays/utils.py +151 -151
- holidays/version.py +2 -2
- holidays-0.70.dist-info/METADATA +1404 -0
- {holidays-0.69.dist-info → holidays-0.70.dist-info}/RECORD +235 -217
- {holidays-0.69.dist-info → holidays-0.70.dist-info}/WHEEL +1 -1
- holidays-0.69.dist-info/AUTHORS → holidays-0.70.dist-info/licenses/AUTHORS.md +6 -2
- {holidays-0.69.dist-info → holidays-0.70.dist-info/licenses}/LICENSE +1 -1
- holidays-0.69.dist-info/METADATA +0 -1085
- {holidays-0.69.dist-info → holidays-0.70.dist-info}/top_level.txt +0 -0
holidays/countries/tonga.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
|
|
@@ -24,50 +24,53 @@ from holidays.observed_holiday_base import (
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class Tonga(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
27
|
-
"""
|
|
27
|
+
"""Tonga holidays.
|
|
28
|
+
|
|
28
29
|
References:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
* [1988 Rev. (to)](https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/LaokihengaahiAhoMaloloFaka-Puleanga_1x.pdf)
|
|
31
|
+
* [1988 Rev.](https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/PublicHolidaysAct_1.pdf)
|
|
32
|
+
* [Act 10 of 2010](http://www.paclii.org/to/legis/num_act/pha2010243/)
|
|
33
|
+
* [Act 5 of 2013](http://www.paclii.org/to/legis/num_act/pha2013243/)
|
|
34
|
+
* [2016 Rev.](https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/PublicHolidaysAct_2.pdf)
|
|
35
|
+
* [2020 Rev. (to)](https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/LaokihengaahiAhoMaloloFaka-Puleanga_3x.pdf)
|
|
36
|
+
* [2020 Rev.](https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/PublicHolidaysAct_3.pdf)
|
|
36
37
|
|
|
37
38
|
Checked With:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
* [2017](https://www.officeholidays.com/countries/tonga/2017)
|
|
40
|
+
* [2018](https://www.gov.to/press-release/tonga-public-holidays-for-2018/)
|
|
41
|
+
* [2019](https://www.gov.to/press-release/tonga-public-holidays-for-2019-2/)
|
|
42
|
+
* [2020](https://www.gov.to/press-release/tonga-public-holidays-for-2020/)
|
|
43
|
+
* [2021](https://www.gov.to/press-release/tonga-public-holidays-for-2021/)
|
|
44
|
+
* [2022](https://www.gov.to/press-release/tonga-public-holidays-for-2022/)
|
|
45
|
+
* [2023](https://www.gov.to/press-release/tonga-public-holidays-for-2023/)
|
|
46
|
+
* [2024](https://www.gov.to/press-release/tonga-public-holidays-for-2024/)
|
|
46
47
|
|
|
47
48
|
1988 Revision Observance Rule:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
|
|
50
|
+
Provided always that when any of the days specified falls upon a Sunday,
|
|
51
|
+
the next following Monday shall be a public holiday and that whenever
|
|
52
|
+
the twenty-sixth day of December falls upon a Monday the day following
|
|
53
|
+
shall be a public holiday. (Amended by Act 11 of 1970.)
|
|
52
54
|
|
|
53
55
|
2016 and 2020 Revision Observance Rule:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
56
|
+
|
|
57
|
+
Provided that when any public holidays specified, except Christmas Day, the
|
|
58
|
+
day immediately succeeding Christmas Day, New Years Day, Good Friday,
|
|
59
|
+
Easter Monday, ANZAC Day, Birthday of the reigning Sovereign of Tonga
|
|
60
|
+
and Birthday of the Heir to the Crown of Tonga, falls upon a Thursday,
|
|
61
|
+
Friday, Saturday or Sunday, that public holiday shall be celebrated on the next
|
|
62
|
+
following Monday; and if it falls on a Tuesday or Wednesday, that public
|
|
63
|
+
holiday shall be celebrated on the Monday before the actual public holiday.
|
|
64
|
+
(Amended by Act 10 of 2010: May 18, 2010.)
|
|
65
|
+
"Birthday of the reigning Sovereign of Tonga and Birthday of the Heir to
|
|
66
|
+
the Crown of Tonga" is add to the exempted list as seen above.
|
|
67
|
+
(Amended by Act 5 of 2013: Jun 28, 2013.)
|
|
68
|
+
|
|
69
|
+
Further provided that the Birthday of the reigning Sovereign of Tonga and the
|
|
70
|
+
Birthday of the Heir to the Crown of Tonga shall be celebrated on the day it
|
|
71
|
+
falls, unless it falls on a Sunday in which case it would be celebrated on the
|
|
72
|
+
next following Monday.
|
|
73
|
+
(Inserted by Act 5 of 2013: Jun 28, 2013.)
|
|
71
74
|
"""
|
|
72
75
|
|
|
73
76
|
country = "TO"
|
|
@@ -200,11 +203,12 @@ class TON(Tonga):
|
|
|
200
203
|
|
|
201
204
|
|
|
202
205
|
class TongaStaticHolidays:
|
|
203
|
-
"""
|
|
206
|
+
"""Tonga special holidays.
|
|
207
|
+
|
|
204
208
|
References:
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
209
|
+
* <https://www.stuff.co.nz/sport/league/99338959/tonga-government-declares-public-holiday-over-rugby-league-teams-deeds>
|
|
210
|
+
* <https://www.rnz.co.nz/international/pacific-news/398653/tonga-declares-public-holiday-for-pm-pohiva-s-state-funeral>
|
|
211
|
+
* <https://www.nrl.com/news/2019/11/06/tonga-declare-public-holiday-for-woolfs-winning-warriors/>
|
|
208
212
|
"""
|
|
209
213
|
|
|
210
214
|
# Special Cases.
|
holidays/countries/tunisia.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,8 +27,10 @@ class Tunisia(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
|
27
27
|
|
|
28
28
|
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
29
29
|
"""
|
|
30
|
-
:
|
|
31
|
-
|
|
30
|
+
Args:
|
|
31
|
+
islamic_show_estimated:
|
|
32
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
33
|
+
if holiday date is estimated.
|
|
32
34
|
"""
|
|
33
35
|
InternationalHolidays.__init__(self)
|
|
34
36
|
IslamicHolidays.__init__(self, show_estimated=islamic_show_estimated)
|
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"
|
|
@@ -40,8 +40,10 @@ class Turkey(HolidayBase, InternationalHolidays, IslamicHolidays, StaticHolidays
|
|
|
40
40
|
|
|
41
41
|
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
42
42
|
"""
|
|
43
|
-
:
|
|
44
|
-
|
|
43
|
+
Args:
|
|
44
|
+
islamic_show_estimated:
|
|
45
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
46
|
+
if holiday date is estimated.
|
|
45
47
|
"""
|
|
46
48
|
InternationalHolidays.__init__(self)
|
|
47
49
|
IslamicHolidays.__init__(
|
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"
|
|
@@ -64,8 +68,10 @@ class UnitedArabEmirates(HolidayBase, InternationalHolidays, IslamicHolidays, St
|
|
|
64
68
|
|
|
65
69
|
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
66
70
|
"""
|
|
67
|
-
:
|
|
68
|
-
|
|
71
|
+
Args:
|
|
72
|
+
islamic_show_estimated:
|
|
73
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
74
|
+
if holiday date is estimated.
|
|
69
75
|
"""
|
|
70
76
|
InternationalHolidays.__init__(self)
|
|
71
77
|
IslamicHolidays.__init__(
|
|
@@ -192,20 +198,21 @@ class UnitedArabEmiratesIslamicHolidays(_CustomIslamicHolidays):
|
|
|
192
198
|
|
|
193
199
|
|
|
194
200
|
class UnitedArabEmiratesStaticHolidays:
|
|
195
|
-
"""
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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)
|
|
206
213
|
|
|
207
214
|
Cross-Checked With:
|
|
208
|
-
|
|
215
|
+
* <https://www.timeanddate.com/holidays/united-arab-emirates/2021?hol=134217729>
|
|
209
216
|
"""
|
|
210
217
|
|
|
211
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.
|