holidays 0.73__py3-none-any.whl → 0.75__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- holidays/calendars/__init__.py +1 -1
- holidays/calendars/balinese_saka.py +1 -1
- holidays/calendars/hindu.py +26 -26
- holidays/calendars/islamic.py +161 -0
- holidays/calendars/thai.py +2 -2
- holidays/constants.py +9 -2
- holidays/countries/__init__.py +202 -176
- holidays/countries/afghanistan.py +2 -2
- holidays/countries/aland_islands.py +63 -0
- holidays/countries/albania.py +3 -3
- holidays/countries/algeria.py +3 -3
- holidays/countries/andorra.py +1 -1
- holidays/countries/angola.py +11 -11
- holidays/countries/anguilla.py +175 -0
- holidays/countries/antigua_and_barbuda.py +10 -10
- holidays/countries/argentina.py +107 -104
- holidays/countries/armenia.py +2 -2
- holidays/countries/aruba.py +7 -7
- holidays/countries/australia.py +18 -18
- holidays/countries/azerbaijan.py +14 -14
- holidays/countries/bahamas.py +9 -9
- holidays/countries/bahrain.py +3 -3
- holidays/countries/bangladesh.py +1 -1
- holidays/countries/barbados.py +7 -7
- holidays/countries/belarus.py +9 -9
- holidays/countries/belgium.py +3 -3
- holidays/countries/belize.py +3 -3
- holidays/countries/benin.py +199 -0
- holidays/countries/bermuda.py +152 -0
- holidays/countries/bolivia.py +8 -8
- holidays/countries/bosnia_and_herzegovina.py +4 -4
- holidays/countries/botswana.py +4 -4
- holidays/countries/brazil.py +4 -4
- holidays/countries/british_virgin_islands.py +205 -0
- holidays/countries/brunei.py +43 -43
- holidays/countries/bulgaria.py +3 -3
- holidays/countries/burkina_faso.py +1 -1
- holidays/countries/burundi.py +2 -2
- holidays/countries/cambodia.py +6 -6
- holidays/countries/cameroon.py +3 -3
- holidays/countries/canada.py +9 -9
- holidays/countries/chad.py +2 -2
- holidays/countries/chile.py +8 -8
- holidays/countries/china.py +31 -31
- holidays/countries/cocos_islands.py +6 -6
- holidays/countries/colombia.py +7 -7
- holidays/countries/congo.py +2 -2
- holidays/countries/cook_islands.py +148 -0
- holidays/countries/costa_rica.py +1 -1
- holidays/countries/croatia.py +1 -1
- holidays/countries/cuba.py +9 -9
- holidays/countries/curacao.py +2 -2
- holidays/countries/cyprus.py +1 -1
- holidays/countries/czechia.py +3 -3
- holidays/countries/denmark.py +2 -2
- holidays/countries/djibouti.py +1 -1
- holidays/countries/dominica.py +11 -11
- holidays/countries/dominican_republic.py +2 -2
- holidays/countries/ecuador.py +1 -1
- holidays/countries/egypt.py +1 -1
- holidays/countries/el_salvador.py +3 -3
- holidays/countries/equatorial_guinea.py +150 -0
- holidays/countries/eswatini.py +3 -3
- holidays/countries/ethiopia.py +6 -6
- holidays/countries/fiji.py +12 -12
- holidays/countries/finland.py +200 -36
- holidays/countries/france.py +1 -1
- holidays/countries/french_southern_territories.py +1 -5
- holidays/countries/gabon.py +4 -4
- holidays/countries/georgia.py +2 -2
- holidays/countries/germany.py +3 -3
- holidays/countries/ghana.py +2 -2
- holidays/countries/greece.py +1 -1
- holidays/countries/greenland.py +2 -2
- holidays/countries/grenada.py +1 -1
- holidays/countries/guatemala.py +4 -4
- holidays/countries/guernsey.py +31 -31
- holidays/countries/guinea.py +6 -6
- holidays/countries/guyana.py +279 -0
- holidays/countries/haiti.py +3 -3
- holidays/countries/honduras.py +2 -2
- holidays/countries/hongkong.py +4 -4
- holidays/countries/hungary.py +98 -16
- holidays/countries/iceland.py +1 -1
- holidays/countries/india.py +8 -8
- holidays/countries/indonesia.py +46 -46
- holidays/countries/iran.py +2 -2
- holidays/countries/ireland.py +1 -1
- holidays/countries/italy.py +1 -1
- holidays/countries/ivory_coast.py +6 -6
- holidays/countries/jamaica.py +1 -1
- holidays/countries/japan.py +1 -1
- holidays/countries/jersey.py +23 -23
- holidays/countries/jordan.py +3 -3
- holidays/countries/kazakhstan.py +45 -45
- holidays/countries/kenya.py +13 -13
- holidays/countries/kuwait.py +4 -4
- holidays/countries/kyrgyzstan.py +1 -1
- holidays/countries/laos.py +7 -7
- holidays/countries/latvia.py +2 -2
- holidays/countries/lesotho.py +2 -2
- holidays/countries/liechtenstein.py +1 -1
- holidays/countries/lithuania.py +1 -1
- holidays/countries/macau.py +19 -19
- holidays/countries/madagascar.py +2 -2
- holidays/countries/malawi.py +2 -2
- holidays/countries/malaysia.py +6 -6
- holidays/countries/maldives.py +3 -3
- holidays/countries/malta.py +6 -6
- holidays/countries/marshall_islands.py +2 -2
- holidays/countries/mauritania.py +2 -2
- holidays/countries/mexico.py +4 -4
- holidays/countries/micronesia.py +205 -0
- holidays/countries/monaco.py +1 -1
- holidays/countries/montenegro.py +3 -3
- holidays/countries/morocco.py +4 -4
- holidays/countries/namibia.py +85 -26
- holidays/countries/nauru.py +129 -0
- holidays/countries/nepal.py +16 -16
- holidays/countries/netherlands.py +1 -1
- holidays/countries/new_zealand.py +2 -2
- holidays/countries/nicaragua.py +2 -2
- holidays/countries/niger.py +320 -0
- holidays/countries/nigeria.py +1 -1
- holidays/countries/north_macedonia.py +268 -16
- holidays/countries/norway.py +38 -5
- holidays/countries/oman.py +12 -12
- holidays/countries/pakistan.py +7 -7
- holidays/countries/palau.py +7 -7
- holidays/countries/panama.py +5 -5
- holidays/countries/papua_new_guinea.py +15 -15
- holidays/countries/paraguay.py +7 -7
- holidays/countries/peru.py +1 -1
- holidays/countries/philippines.py +18 -18
- holidays/countries/poland.py +1 -1
- holidays/countries/portugal.py +5 -5
- holidays/countries/qatar.py +7 -7
- holidays/countries/romania.py +1 -1
- holidays/countries/russia.py +28 -28
- holidays/countries/saint_kitts_and_nevis.py +16 -16
- holidays/countries/saint_lucia.py +3 -3
- holidays/countries/samoa.py +3 -3
- holidays/countries/sao_tome_and_principe.py +2 -2
- holidays/countries/saudi_arabia.py +3 -3
- holidays/countries/senegal.py +193 -0
- holidays/countries/seychelles.py +15 -15
- holidays/countries/sierra_leone.py +5 -5
- holidays/countries/singapore.py +12 -8
- holidays/countries/slovakia.py +1 -1
- holidays/countries/slovenia.py +3 -3
- holidays/countries/solomon_islands.py +220 -0
- holidays/countries/south_africa.py +4 -4
- holidays/countries/south_korea.py +7 -7
- holidays/countries/spain.py +18 -18
- holidays/countries/sri_lanka.py +26 -26
- holidays/countries/suriname.py +5 -5
- holidays/countries/svalbard_and_jan_mayen.py +47 -0
- holidays/countries/sweden.py +2 -2
- holidays/countries/switzerland.py +1 -1
- holidays/countries/taiwan.py +41 -41
- holidays/countries/tanzania.py +15 -15
- holidays/countries/thailand.py +85 -85
- holidays/countries/timor_leste.py +106 -104
- holidays/countries/togo.py +3 -3
- holidays/countries/tonga.py +16 -16
- holidays/countries/trinidad_and_tobago.py +4 -4
- holidays/countries/tunisia.py +1 -1
- holidays/countries/turkey.py +4 -4
- holidays/countries/turks_and_caicos_islands.py +134 -0
- holidays/countries/tuvalu.py +7 -7
- holidays/countries/ukraine.py +51 -51
- holidays/countries/united_arab_emirates.py +22 -22
- holidays/countries/united_kingdom.py +2 -2
- holidays/countries/united_states.py +39 -39
- holidays/countries/uruguay.py +6 -6
- holidays/countries/uzbekistan.py +3 -3
- holidays/countries/vanuatu.py +2 -2
- holidays/countries/vatican_city.py +11 -11
- holidays/countries/venezuela.py +8 -8
- holidays/countries/vietnam.py +7 -7
- holidays/countries/yemen.py +207 -0
- holidays/countries/zambia.py +3 -3
- holidays/deprecations/v1_incompatibility.py +1 -1
- holidays/financial/__init__.py +5 -5
- holidays/financial/brasil_bolsa_balcao.py +9 -9
- holidays/financial/european_central_bank.py +3 -3
- holidays/financial/ice_futures_europe.py +2 -2
- holidays/financial/ny_stock_exchange.py +4 -5
- holidays/groups/__init__.py +1 -1
- holidays/groups/chinese.py +3 -3
- holidays/groups/christian.py +4 -4
- holidays/groups/international.py +9 -9
- holidays/groups/islamic.py +16 -6
- holidays/groups/sinhala.py +12 -12
- holidays/groups/thai.py +3 -3
- holidays/locale/ar/LC_MESSAGES/YE.mo +0 -0
- holidays/locale/en_AI/LC_MESSAGES/AI.mo +0 -0
- holidays/locale/en_BM/LC_MESSAGES/BM.mo +0 -0
- holidays/locale/en_CK/LC_MESSAGES/CK.mo +0 -0
- holidays/locale/en_FM/LC_MESSAGES/FM.mo +0 -0
- holidays/locale/en_GY/LC_MESSAGES/GY.mo +0 -0
- holidays/locale/en_NA/LC_MESSAGES/NA.mo +0 -0
- holidays/locale/en_NR/LC_MESSAGES/NR.mo +0 -0
- holidays/locale/en_TC/LC_MESSAGES/TC.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/AI.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/BJ.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/BM.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/FM.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GQ.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GY.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/MK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/NA.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/NE.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/NR.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/SJ.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/SN.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TC.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TH.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/VG.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/YE.mo +0 -0
- holidays/locale/en_VG/LC_MESSAGES/VG.mo +0 -0
- holidays/locale/es/LC_MESSAGES/GQ.mo +0 -0
- holidays/locale/fi/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/fi/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/fr_BJ/LC_MESSAGES/BJ.mo +0 -0
- holidays/locale/fr_NE/LC_MESSAGES/NE.mo +0 -0
- holidays/locale/fr_SN/LC_MESSAGES/SN.mo +0 -0
- holidays/locale/mk/LC_MESSAGES/MK.mo +0 -0
- holidays/locale/no/LC_MESSAGES/SJ.mo +0 -0
- holidays/locale/sv_FI/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/sv_FI/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/th/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/th/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/th/LC_MESSAGES/SJ.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/MK.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/NA.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/SJ.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/TH.mo +0 -0
- holidays/registry.py +16 -0
- holidays/version.py +1 -1
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/METADATA +121 -10
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/RECORD +251 -192
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/WHEEL +1 -1
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/licenses/CONTRIBUTORS +5 -0
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/licenses/LICENSE +0 -0
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# holidays
|
|
2
|
+
# --------
|
|
3
|
+
# A fast, efficient Python library for generating country, province and state
|
|
4
|
+
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
|
+
# specific date is a holiday as fast and flexible as possible.
|
|
6
|
+
#
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see CONTRIBUTORS file)
|
|
8
|
+
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
|
+
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
|
+
# Website: https://github.com/vacanza/holidays
|
|
11
|
+
# License: MIT (see LICENSE file)
|
|
12
|
+
|
|
13
|
+
from gettext import gettext as tr
|
|
14
|
+
|
|
15
|
+
from holidays.calendars.gregorian import JUN
|
|
16
|
+
from holidays.groups import ChristianHolidays, InternationalHolidays
|
|
17
|
+
from holidays.observed_holiday_base import (
|
|
18
|
+
ObservedHolidayBase,
|
|
19
|
+
SAT_SUN_TO_NEXT_MON,
|
|
20
|
+
SAT_SUN_TO_NEXT_MON_TUE,
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class TurksAndCaicosIslands(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
25
|
+
"""Turks and Caicos Islands holidays.
|
|
26
|
+
|
|
27
|
+
References:
|
|
28
|
+
* [Wikipedia](https://en.wikipedia.org/wiki/Public_holidays_in_the_Turks_and_Caicos_Islands)
|
|
29
|
+
* [Public Holidays Ordinance, rev. 2014](https://web.archive.org/web/20250210082429/https://gov.tc/agc/component/edocman/21-02-public-holidays-ordinance-2/viewdocument/599?Itemid=)
|
|
30
|
+
* [Ordinance 5 of 2020](https://web.archive.org/web/20250429025117/https://www.gov.tc/agc/component/edocman/05-of-2020-public-holidays-amendment-ordinance/viewdocument/1419?Itemid=)
|
|
31
|
+
* [Public Holidays Ordinance, rev. 2021](https://web.archive.org/web/20250429025602/https://www.gov.tc/agc/component/edocman/21-02-public-holidays-ordinance-2/viewdocument/2027?Itemid=)
|
|
32
|
+
* [2017](https://web.archive.org/web/20250608202444/https://www.facebook.com/photo/?fbid=1137860329642985&set=a.349345645161128)
|
|
33
|
+
* [2018](https://web.archive.org/web/20180126185141/https://gov.tc/pressoffice/999-listing-of-special-days-public-holidays-for-2018)
|
|
34
|
+
* [2019](https://web.archive.org/web/20250608202446/https://www.facebook.com/photo/?fbid=2514587681970236&set=a.349345645161128)
|
|
35
|
+
* [2020](https://web.archive.org/web/20250608202458/https://www.facebook.com/pressofficetcig/photos/a.349345645161128/2572825079479829/?type=3)
|
|
36
|
+
* [2021](https://www.facebook.com/pressofficetcig/photos/a.349345645161128/3511371698958491/?type=3)
|
|
37
|
+
* [2022](https://www.facebook.com/pressofficetcig/photos/a.349345645161128/4515540038541647/?type=3)
|
|
38
|
+
* [2023](https://web.archive.org/web/20250608202452/https://www.facebook.com/photo/?fbid=557741379734203&set=a.363028765872133)
|
|
39
|
+
* [2025](https://www.facebook.com/photo/?fbid=1019082573584944&set=a.353200576839817)
|
|
40
|
+
* [Destination TCI](https://web.archive.org/web/20250429024708/https://destinationtci.tc/turks-and-caicos-islands-public-holidays/)
|
|
41
|
+
* [Time and Date](https://web.archive.org/web/20250429024853/https://www.timeanddate.com/holidays/turks-and-caicos-islands/)
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
country = "TC"
|
|
45
|
+
default_language = "en_TC"
|
|
46
|
+
# %s (observed).
|
|
47
|
+
observed_label = "%s (observed)"
|
|
48
|
+
# Separated from Jamaica in 1962.
|
|
49
|
+
start_year = 1963
|
|
50
|
+
supported_languages = ("en_TC", "en_US")
|
|
51
|
+
|
|
52
|
+
def __init__(self, *args, **kwargs):
|
|
53
|
+
ChristianHolidays.__init__(self)
|
|
54
|
+
InternationalHolidays.__init__(self)
|
|
55
|
+
# Public Holidays Act 1980 established weekend-to-Monday rule.
|
|
56
|
+
kwargs.setdefault("observed_rule", SAT_SUN_TO_NEXT_MON)
|
|
57
|
+
kwargs.setdefault("observed_since", 1980)
|
|
58
|
+
super().__init__(*args, **kwargs)
|
|
59
|
+
|
|
60
|
+
def _populate_public_holidays(self):
|
|
61
|
+
# New Year's Day.
|
|
62
|
+
self._add_observed(self._add_new_years_day(tr("New Year's Day")))
|
|
63
|
+
|
|
64
|
+
# Commonwealth Day.
|
|
65
|
+
self._add_holiday_2nd_mon_of_mar(tr("Commonwealth Day"))
|
|
66
|
+
|
|
67
|
+
# Good Friday.
|
|
68
|
+
self._add_good_friday(tr("Good Friday"))
|
|
69
|
+
|
|
70
|
+
# Easter Monday.
|
|
71
|
+
self._add_easter_monday(tr("Easter Monday"))
|
|
72
|
+
|
|
73
|
+
self._add_holiday_last_mon_of_may(
|
|
74
|
+
# JAGS McCartney Day.
|
|
75
|
+
tr("JAGS McCartney Day")
|
|
76
|
+
if self._year >= 2020
|
|
77
|
+
# National Heroes Day.
|
|
78
|
+
else tr("National Heroes Day")
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
name = (
|
|
82
|
+
# King's Birthday.
|
|
83
|
+
tr("King's Birthday")
|
|
84
|
+
if self._year >= 2023
|
|
85
|
+
# Queen's Birthday.
|
|
86
|
+
else tr("Queen's Birthday")
|
|
87
|
+
)
|
|
88
|
+
dates_obs = {
|
|
89
|
+
2022: (JUN, 3),
|
|
90
|
+
2023: (JUN, 19),
|
|
91
|
+
2024: (JUN, 17),
|
|
92
|
+
2025: (JUN, 23),
|
|
93
|
+
}
|
|
94
|
+
if self._year in dates_obs:
|
|
95
|
+
self._add_holiday(name, dates_obs.get(self._year))
|
|
96
|
+
else:
|
|
97
|
+
self._add_holiday_2nd_mon_of_jun(name)
|
|
98
|
+
|
|
99
|
+
# Emancipation Day.
|
|
100
|
+
self._add_observed(self._add_holiday_aug_1(tr("Emancipation Day")))
|
|
101
|
+
|
|
102
|
+
# National Youth Day.
|
|
103
|
+
self._add_holiday_last_fri_of_sep(tr("National Youth Day"))
|
|
104
|
+
|
|
105
|
+
self._add_holiday_2nd_mon_of_oct(
|
|
106
|
+
# National Heritage Day.
|
|
107
|
+
tr("National Heritage Day")
|
|
108
|
+
if self._year >= 2014
|
|
109
|
+
# Columbus Day.
|
|
110
|
+
else tr("Columbus Day")
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
# National Day of Thanksgiving.
|
|
114
|
+
self._add_holiday_4th_fri_of_nov(tr("National Day of Thanksgiving"))
|
|
115
|
+
|
|
116
|
+
self._add_observed(
|
|
117
|
+
# Christmas Day.
|
|
118
|
+
self._add_christmas_day(tr("Christmas Day")),
|
|
119
|
+
rule=SAT_SUN_TO_NEXT_MON_TUE,
|
|
120
|
+
)
|
|
121
|
+
|
|
122
|
+
self._add_observed(
|
|
123
|
+
# Boxing Day.
|
|
124
|
+
self._add_christmas_day_two(tr("Boxing Day")),
|
|
125
|
+
rule=SAT_SUN_TO_NEXT_MON_TUE,
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
class TC(TurksAndCaicosIslands):
|
|
130
|
+
pass
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
class TCA(TurksAndCaicosIslands):
|
|
134
|
+
pass
|
holidays/countries/tuvalu.py
CHANGED
|
@@ -25,12 +25,12 @@ class Tuvalu(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
25
25
|
|
|
26
26
|
References:
|
|
27
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://
|
|
31
|
-
* [Public Holidays (Amendment) Act 2018](https://
|
|
32
|
-
* [Public Holidays (Amendment) Act 2020](https://
|
|
33
|
-
* [Public Holidays Act 2](https://
|
|
28
|
+
* [Today's and Upcoming Holidays in Tuvalu](https://web.archive.org/web/20250310164727/https://www.timeanddate.com/holidays/tuvalu/)
|
|
29
|
+
* [Public Holidays (Amendment) Act 1990](https://web.archive.org/web/20250429073846/https://www.paclii.org/cgi-bin/sinodisp/tv/legis/num_act/pha1990243/pha1990243.html)
|
|
30
|
+
* [Public Holidays Act 1](https://archive.org/details/tuvalu-public-holidays-act-revised-2008)
|
|
31
|
+
* [Public Holidays (Amendment) Act 2018](https://archive.org/details/tuvalu-public-holidays-amendment-act-2018)
|
|
32
|
+
* [Public Holidays (Amendment) Act 2020](https://archive.org/details/tuvalu-public-holidays-amendment-act-2020)
|
|
33
|
+
* [Public Holidays Act 2](https://archive.org/details/tuvalu-public-holidays-act-revised-2022)
|
|
34
34
|
* [Codes for the representation of names of countries and their subdivisions](https://www.iso.org/obp/ui/#iso:code:3166:TV)
|
|
35
35
|
* [TUVALU-NEWS.TV](https://web.archive.org/web/20140915180104/http://www.tuvalu-news.tv/archives/2007/01/island_special_public_holidays.html)
|
|
36
36
|
"""
|
|
@@ -115,7 +115,7 @@ class Tuvalu(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
115
115
|
self._add_observed(self._add_holiday_oct_1(name), rule=SAT_SUN_TO_NEXT_MON_TUE)
|
|
116
116
|
self._add_observed(self._add_holiday_oct_2(name), rule=SAT_SUN_TO_NEXT_MON_TUE)
|
|
117
117
|
|
|
118
|
-
# https://en.wikipedia.org/wiki/King
|
|
118
|
+
# https://en.wikipedia.org/wiki/King's_Official_Birthday#Tuvalu
|
|
119
119
|
if self._year <= 2022:
|
|
120
120
|
# Heir to the Throne's Birthday.
|
|
121
121
|
self._add_holiday_2nd_mon_of_nov(tr("Aso fanau o te sui ote Tupu"))
|
holidays/countries/ukraine.py
CHANGED
|
@@ -25,8 +25,8 @@ class Ukraine(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Sta
|
|
|
25
25
|
"""Ukraine holidays.
|
|
26
26
|
|
|
27
27
|
References:
|
|
28
|
-
* [Labor Code of Ukraine, Art. 73](https://zakon1.rada.gov.ua/laws/show/322-08/paran454
|
|
29
|
-
* <https://zakon.rada.gov.ua/laws/show/585-12>
|
|
28
|
+
* [Labor Code of Ukraine, Art. 73](https://web.archive.org/web/20240607021920/https://zakon1.rada.gov.ua/laws/show/322-08/paran454)
|
|
29
|
+
* <https://web.archive.org/web/20240612025118/https://zakon.rada.gov.ua/laws/show/585-12>
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
32
|
country = "UA"
|
|
@@ -47,16 +47,16 @@ class Ukraine(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Sta
|
|
|
47
47
|
|
|
48
48
|
def _is_observed(self, dt: date) -> bool:
|
|
49
49
|
# 27.01.1995: holiday on weekend move to next workday
|
|
50
|
-
# https://zakon.rada.gov.ua/laws/show/35/95
|
|
50
|
+
# https://web.archive.org/web/20230731064358/https://zakon.rada.gov.ua/laws/show/35/95-вр#Text
|
|
51
51
|
# 10.01.1998: cancelled
|
|
52
|
-
# https://zakon.rada.gov.ua/laws/show/785/97-вр
|
|
52
|
+
# https://web.archive.org/web/20250121184919/https://zakon.rada.gov.ua/laws/show/785/97-вр
|
|
53
53
|
# 23.04.1999: holiday on weekend move to next workday
|
|
54
|
-
# https://zakon.rada.gov.ua/laws/show/576-14
|
|
54
|
+
# https://web.archive.org/web/20240315074159/http://zakon.rada.gov.ua/laws/show/576-14
|
|
55
55
|
return date(1995, JAN, 27) <= dt <= date(1998, JAN, 9) or dt >= date(1999, APR, 23)
|
|
56
56
|
|
|
57
57
|
def _populate_common(self, is_martial_law: bool = False):
|
|
58
58
|
# There is no public holidays in Ukraine during the period of martial law
|
|
59
|
-
# https://zakon.rada.gov.ua/laws/show/2136-20
|
|
59
|
+
# https://web.archive.org/web/20250418204733/https://zakon.rada.gov.ua/laws/show/2136-20
|
|
60
60
|
# law is in force from March 15, 2022
|
|
61
61
|
dts_observed = set()
|
|
62
62
|
|
|
@@ -169,53 +169,53 @@ class UkraineStaticHolidays:
|
|
|
169
169
|
"""Ukraine special holidays.
|
|
170
170
|
|
|
171
171
|
Substituted holidays References:
|
|
172
|
-
* [1991](https://zakon.rada.gov.ua/laws/show/60-91
|
|
173
|
-
* [1992 [1]](https://zakon.rada.gov.ua/laws/show/202-92
|
|
174
|
-
* [1992 [2]](https://zakon.rada.gov.ua/laws/show/377-91
|
|
175
|
-
* [1993 [1]](https://zakon.rada.gov.ua/laws/show/563-93
|
|
176
|
-
* [1993 [2]](https://zakon.rada.gov.ua/laws/show/725-92
|
|
177
|
-
* [1994](https://zakon.rada.gov.ua/laws/show/98-94
|
|
178
|
-
* [1995 [1]](https://zakon.rada.gov.ua/laws/show/852-95
|
|
179
|
-
* [1995 [2]](https://zakon.rada.gov.ua/laws/show/634-95
|
|
180
|
-
* [1995 [3]](https://zakon.rada.gov.ua/laws/show/266-95
|
|
181
|
-
* [1996](https://zakon.rada.gov.ua/laws/show/424-96
|
|
182
|
-
* [1997 [1]](https://zakon.rada.gov.ua/laws/show/326-97
|
|
183
|
-
* [1997 [2]](https://zakon.rada.gov.ua/laws/show/1547-96
|
|
184
|
-
* [1998](https://zakon.rada.gov.ua/laws/show/1404-97
|
|
185
|
-
* [1999 [1]](https://zakon.rada.gov.ua/laws/show/1433-99
|
|
186
|
-
* [1999 [2]](https://zakon.rada.gov.ua/laws/show/558-99
|
|
187
|
-
* [1999 [3]](https://zakon.rada.gov.ua/laws/show/2070-98
|
|
188
|
-
* [2000 [1]](https://zakon.rada.gov.ua/laws/show/1251-2000
|
|
189
|
-
* [2000 [2]](https://zakon.rada.gov.ua/laws/show/717-2000
|
|
190
|
-
* [2001 [1]](https://zakon.rada.gov.ua/laws/show/138-2001
|
|
191
|
-
* [2001 [2]](https://zakon.rada.gov.ua/laws/show/210-2001
|
|
192
|
-
* [2002](https://zakon.rada.gov.ua/laws/show/202-2002
|
|
193
|
-
* [2002 - 2003](https
|
|
194
|
-
* [2004](https://zakon.rada.gov.ua/laws/show/773-2003
|
|
195
|
-
* [2005 [1]](https://zakon.rada.gov.ua/laws/show/936-2004
|
|
196
|
-
* [2005 [2]](https://zakon.rada.gov.ua/laws/show/133-2005
|
|
197
|
-
* [2006 [1]](https://zakon.rada.gov.ua/laws/show/490-2005
|
|
198
|
-
* [2006 [2]](https://zakon.rada.gov.ua/laws/show/562-2005
|
|
199
|
-
* [2007](https://zakon.rada.gov.ua/laws/show/612-2006
|
|
200
|
-
* [2008 [1]](https://zakon.rada.gov.ua/laws/show/1059-2007
|
|
201
|
-
* [2008 [2]](https://zakon.rada.gov.ua/laws/show/538-2008
|
|
202
|
-
* [2009](https://zakon.rada.gov.ua/laws/show/1458-2008
|
|
203
|
-
* [2010](https://zakon.rada.gov.ua/laws/show/1412-2009
|
|
204
|
-
* [2011](https://zakon.rada.gov.ua/laws/show/2130-2010
|
|
205
|
-
* [2012](https://zakon.rada.gov.ua/laws/show/1210-2011
|
|
206
|
-
* [2013](https://zakon.rada.gov.ua/laws/show/1043-2012
|
|
207
|
-
* [2014](https://zakon.rada.gov.ua/laws/show/920-2013
|
|
208
|
-
* [2015](https://zakon.rada.gov.ua/laws/show/1084-2014
|
|
209
|
-
* [2016](https://zakon.rada.gov.ua/laws/show/1155-2015
|
|
210
|
-
* [2017](https://zakon.rada.gov.ua/laws/show/850-2016
|
|
211
|
-
* [2018](https://zakon.rada.gov.ua/laws/show/1-2018
|
|
212
|
-
* [2019](https://zakon.rada.gov.ua/laws/show/7-2019
|
|
213
|
-
* [2020](https://zakon.rada.gov.ua/laws/show/995-2019
|
|
214
|
-
* [2021](https://zakon.rada.gov.ua/laws/show/1191-2020
|
|
215
|
-
* [2022](https://zakon.rada.gov.ua/laws/show/1004-2021
|
|
172
|
+
* [1991](https://web.archive.org/web/20220830105426/https://zakon.rada.gov.ua/laws/show/60-91-п)
|
|
173
|
+
* [1992 [1]](https://web.archive.org/web/20220816132241/https://zakon.rada.gov.ua/laws/show/202-92-п)
|
|
174
|
+
* [1992 [2]](https://web.archive.org/web/20220514124422/https://zakon.rada.gov.ua/laws/show/377-91-п)
|
|
175
|
+
* [1993 [1]](https://web.archive.org/web/20220429231922/https://zakon.rada.gov.ua/laws/show/563-93-п/)
|
|
176
|
+
* [1993 [2]](https://web.archive.org/web/20220501192004/https://zakon.rada.gov.ua/laws/show/725-92-п/)
|
|
177
|
+
* [1994](https://web.archive.org/web/20220423134711/https://zakon.rada.gov.ua/laws/show/98-94-п)
|
|
178
|
+
* [1995 [1]](https://web.archive.org/web/20220416193351/https://zakon.rada.gov.ua/laws/show/852-95-п/)
|
|
179
|
+
* [1995 [2]](https://web.archive.org/web/20220727233924/https://zakon.rada.gov.ua/laws/show/634-95-п)
|
|
180
|
+
* [1995 [3]](https://web.archive.org/web/20220404230852/https://zakon.rada.gov.ua/laws/show/266-95-п)
|
|
181
|
+
* [1996](https://web.archive.org/web/20220703182454/https://zakon.rada.gov.ua/laws/show/424-96-п)
|
|
182
|
+
* [1997 [1]](https://web.archive.org/web/20220710133208/https://zakon.rada.gov.ua/laws/show/326-97-п)
|
|
183
|
+
* [1997 [2]](https://web.archive.org/web/20240707083032/https://zakon.rada.gov.ua/laws/show/1547-96-п)
|
|
184
|
+
* [1998](https://web.archive.org/web/20220516171244/https://zakon.rada.gov.ua/laws/show/1404-97-п>)
|
|
185
|
+
* [1999 [1]](https://web.archive.org/web/20220721004702/https://zakon.rada.gov.ua/laws/show/1433-99-п>)
|
|
186
|
+
* [1999 [2]](https://web.archive.org/web/20220701225902/https://zakon.rada.gov.ua/laws/show/558-99-п>)
|
|
187
|
+
* [1999 [3]](https://web.archive.org/web/20220703131420/https://zakon.rada.gov.ua/laws/show/2070-98-п)
|
|
188
|
+
* [2000 [1]](https://web.archive.org/web/20220416193413/https://zakon.rada.gov.ua/laws/show/1251-2000-п/)
|
|
189
|
+
* [2000 [2]](https://web.archive.org/web/20220404231224/https://zakon.rada.gov.ua/laws/show/717-2000-п)
|
|
190
|
+
* [2001 [1]](https://web.archive.org/web/20220312201133/https://zakon.rada.gov.ua/laws/show/138-2001-р/)
|
|
191
|
+
* [2001 [2]](https://web.archive.org/web/20220404230657/https://zakon.rada.gov.ua/laws/show/210-2001-п)
|
|
192
|
+
* [2002](https://web.archive.org/web/20220521085829/https://zakon.rada.gov.ua/laws/show/202-2002-р)
|
|
193
|
+
* [2002 - 2003](https://web.archive.org/web/20220312195735/https://zakon.rada.gov.ua/laws/show/705-2002-р)
|
|
194
|
+
* [2004](https://web.archive.org/web/20220404105708/https://zakon.rada.gov.ua/laws/show/773-2003-р)
|
|
195
|
+
* [2005 [1]](https://web.archive.org/web/20220521235321/https://zakon.rada.gov.ua/laws/show/936-2004-р)
|
|
196
|
+
* [2005 [2]](https://web.archive.org/web/20220611030516/https://zakon.rada.gov.ua/laws/show/133-2005-р)
|
|
197
|
+
* [2006 [1]](https://web.archive.org/web/20240822140051/https://zakon.rada.gov.ua/laws/show/490-2005-р)
|
|
198
|
+
* [2006 [2]](https://web.archive.org/web/20220312195751/https://zakon.rada.gov.ua/laws/show/562-2005-р/)
|
|
199
|
+
* [2007](https://web.archive.org/web/20240823064327/https://zakon.rada.gov.ua/laws/show/612-2006-р)
|
|
200
|
+
* [2008 [1]](https://web.archive.org/web/20240823064327/https://zakon.rada.gov.ua/laws/show/1059-2007-р)
|
|
201
|
+
* [2008 [2]](https://web.archive.org/web/20240901160821/https://zakon.rada.gov.ua/laws/show/538-2008-р)
|
|
202
|
+
* [2009](https://web.archive.org/web/20220312195619/https://zakon.rada.gov.ua/laws/show/1458-2008-р/)
|
|
203
|
+
* [2010](https://web.archive.org/web/20240826001002/https://zakon.rada.gov.ua/laws/show/1412-2009-р)
|
|
204
|
+
* [2011](https://web.archive.org/web/20220312200622/https://zakon.rada.gov.ua/laws/show/2130-2010-р/)
|
|
205
|
+
* [2012](https://web.archive.org/web/20250119122439/https://zakon.rada.gov.ua/laws/show/1210-2011-р)
|
|
206
|
+
* [2013](https://web.archive.org/web/20250119201324/https://zakon.rada.gov.ua/laws/show/1043-2012-р)
|
|
207
|
+
* [2014](https://web.archive.org/web/20250421100048/https://zakon.rada.gov.ua/laws/show/920-2013-р)
|
|
208
|
+
* [2015](https://web.archive.org/web/20240801225558/https://zakon.rada.gov.ua/laws/show/1084-2014-р)
|
|
209
|
+
* [2016](https://web.archive.org/web/20221210054440/https://zakon.rada.gov.ua/laws/show/1155-2015-р)
|
|
210
|
+
* [2017](https://web.archive.org/web/20240609025258/https://zakon.rada.gov.ua/laws/show/850-2016-р)
|
|
211
|
+
* [2018](https://web.archive.org/web/20221210060148/https://zakon.rada.gov.ua/laws/show/1-2018-р)
|
|
212
|
+
* [2019](https://web.archive.org/web/20220316200919/https://zakon.rada.gov.ua/laws/show/7-2019-р)
|
|
213
|
+
* [2020](https://web.archive.org/web/20250423064733/https://zakon.rada.gov.ua/laws/show/995-2019-р)
|
|
214
|
+
* [2021](https://web.archive.org/web/20250402142530/https://zakon.rada.gov.ua/laws/show/1191-2020-р)
|
|
215
|
+
* [2022](https://web.archive.org/web/20250404010912/https://zakon.rada.gov.ua/laws/show/1004-2021-р)
|
|
216
216
|
|
|
217
217
|
Special holidays References:
|
|
218
|
-
* [1995](https://zakon.rada.gov.ua/laws/show/13/95)
|
|
218
|
+
* [1995](https://web.archive.org/web/20220713111605/https://zakon.rada.gov.ua/laws/show/13/95)
|
|
219
219
|
"""
|
|
220
220
|
|
|
221
221
|
# Date format (see strftime() Format Codes)
|
|
@@ -38,20 +38,20 @@ class UnitedArabEmirates(HolidayBase, InternationalHolidays, IslamicHolidays, St
|
|
|
38
38
|
"""United Arab Emirates holidays.
|
|
39
39
|
|
|
40
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://
|
|
46
|
-
* [2022](https://www.khaleejtimes.com/ramadan/eid-al-fitr-holiday-announced-in-uae-3)
|
|
41
|
+
* [2017](https://web.archive.org/web/20230209125034/https://www.khaleejtimes.com/nation/uae-official-public-holidays-list-2017)
|
|
42
|
+
* [2018](https://web.archive.org/web/20201111212817/https://www.khaleejtimes.com/nation/Here-are-the-holidays-remaining-in-2018-in-UAE)
|
|
43
|
+
* [2019](https://web.archive.org/web/20240513133929/https://www.thenational.ae/uae/government/uae-public-holidays-for-2019-and-2020-announced-by-cabinet-1.833425)
|
|
44
|
+
* [2020](https://web.archive.org/web/20250424164934/https://u.ae/en/information-and-services/public-holidays-and-religious-affairs/public-holidays)
|
|
45
|
+
* [2021](https://web.archive.org/web/20210928140451/http://wam.ae/en/details/1395302957696)
|
|
46
|
+
* [2022](https://web.archive.org/web/20250207171255/https://www.khaleejtimes.com/ramadan/eid-al-fitr-holiday-announced-in-uae-3)
|
|
47
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)
|
|
48
|
+
* <https://web.archive.org/web/20231207191645/https://www.timeoutdubai.com/news/uae-public-holidays-in-2023>
|
|
49
|
+
* <https://web.archive.org/web/20250125141309/https://www.khaleejtimes.com/uae/islamic-new-year-2023-uae-announces-official-holiday-for-public-sector>
|
|
50
|
+
* [2024](https://web.archive.org/web/20241001104607/https://www.timeoutdubai.com/news/uae-public-holidays-in-2024)
|
|
51
|
+
* [2025](https://web.archive.org/web/20250415131512/https://www.timeoutdubai.com/news/uae-public-holidays-2025)
|
|
52
52
|
|
|
53
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)
|
|
54
|
+
08](https://web.archive.org/web/20250304004437/https://www.ilo.org/dyn/natlex/docs/ELECTRONIC/11956/69376/F417089305/ARE11956.pdf)
|
|
55
55
|
for the year 1980.
|
|
56
56
|
|
|
57
57
|
However the law is not applied literally, and was amended often in the past few years.
|
|
@@ -66,7 +66,7 @@ class UnitedArabEmirates(HolidayBase, InternationalHolidays, IslamicHolidays, St
|
|
|
66
66
|
# Founded on DEC 2, 1971.
|
|
67
67
|
start_year = 1972
|
|
68
68
|
|
|
69
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
69
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
70
70
|
"""
|
|
71
71
|
Args:
|
|
72
72
|
islamic_show_estimated:
|
|
@@ -82,7 +82,7 @@ class UnitedArabEmirates(HolidayBase, InternationalHolidays, IslamicHolidays, St
|
|
|
82
82
|
|
|
83
83
|
def _populate_public_holidays(self):
|
|
84
84
|
# The resting days are Saturday and Sunday since Jan 1, 2022.
|
|
85
|
-
# https://time.com/6126260/uae-working-days-weekend/
|
|
85
|
+
# https://web.archive.org/web/20250216144205/https://time.com/6126260/uae-working-days-weekend/
|
|
86
86
|
self.weekend = {FRI, SAT} if self._year <= 2021 else {SAT, SUN}
|
|
87
87
|
|
|
88
88
|
# New Year's Day.
|
|
@@ -201,18 +201,18 @@ class UnitedArabEmiratesStaticHolidays:
|
|
|
201
201
|
"""United Arab Emirates special holidays.
|
|
202
202
|
|
|
203
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)
|
|
204
|
+
* [2019](https://web.archive.org/web/20250429081745/https://www.mohre.gov.ae/en/media-centre/news/30/1/2019/عطلة-رسمية-يوم-زيارة-البابا-للمشاركين-في-فعالياته-من-القطاع-الخاص.aspx?DisableResponsive=1)
|
|
205
|
+
* [2020](https://web.archive.org/web/20210804023600/https://gulfbusiness.com/revealed-uae-private-sector-holidays-for-eid-al-fitr-2020/)
|
|
206
|
+
* [2021](https://web.archive.org/web/20220508191126/https://www.timeoutdubai.com/news/466278-eid-al-fitr-holiday-2021-dubai)
|
|
207
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)
|
|
208
|
+
* <https://web.archive.org/web/20241210072332/https://gulfnews.com/uae/eid-al-fitr-2022-holidays-for-private-and-public-sectors-in-uae-explained-1.1650951429432>
|
|
209
|
+
* <https://web.archive.org/web/20220616134156/https://www.arabianbusiness.com/gcc/uae/uae-suspends-work-for-three-days-marks-40-days-of-mourning-over-sheikh-khalifas-death>
|
|
210
|
+
* [2023](https://web.archive.org/web/20240301231911/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://web.archive.org/web/20240720085937/http://www.timeoutdubai.com/news/eid-al-fitr-2024-expected-dates-ramadan)
|
|
212
|
+
* [2025](https://web.archive.org/web/20250415131512/https://www.timeoutdubai.com/news/uae-public-holidays-2025)
|
|
213
213
|
|
|
214
214
|
Cross-Checked With:
|
|
215
|
-
* <https://www.timeanddate.com/holidays/united-arab-emirates/2021?hol=134217729>
|
|
215
|
+
* <https://web.archive.org/web/20250429081729/https://www.timeanddate.com/holidays/united-arab-emirates/2021?hol=134217729>
|
|
216
216
|
"""
|
|
217
217
|
|
|
218
218
|
# Eid al-Fitr Holiday.
|
|
@@ -29,8 +29,8 @@ class UnitedKingdom(ObservedHolidayBase, ChristianHolidays, InternationalHoliday
|
|
|
29
29
|
References:
|
|
30
30
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_the_United_Kingdom>
|
|
31
31
|
* <https://archive.org/details/treatiseonbanki00walk/page/334/mode/2up>
|
|
32
|
-
* <https://www.gov.uk/bank-holidays>
|
|
33
|
-
* <https://www.timeanddate.com/holidays/uk
|
|
32
|
+
* <https://web.archive.org/web/20250426173714/https://www.gov.uk/bank-holidays>
|
|
33
|
+
* <https://web.archive.org/web/20250423223001/https://www.timeanddate.com/holidays/uk>
|
|
34
34
|
|
|
35
35
|
The Anniversary of the Battle of the Boyne bank holiday is proclaimed annually by the
|
|
36
36
|
Secretary of State for Northern Ireland.
|
|
@@ -36,51 +36,51 @@ class UnitedStates(ObservedHolidayBase, ChristianHolidays, InternationalHolidays
|
|
|
36
36
|
|
|
37
37
|
References:
|
|
38
38
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_the_United_States>
|
|
39
|
-
* [Federal holidays](https://
|
|
39
|
+
* [Federal holidays](https://web.archive.org/web/20250426120914/https://opm.gov/policy-data-oversight/pay-leave/federal-holidays/)
|
|
40
40
|
* Washington's Birthday:
|
|
41
|
-
* [AK](https://doa.alaska.gov/calendar/)
|
|
42
|
-
* [AL](https://admincode.legislature.state.al.us/administrative-code/670-X-12-.01)
|
|
43
|
-
* [AR](https://arkleg.state.ar.us/Home/FTPDocument?path=/ACTS/2001/Public/ACT304.pdf)
|
|
44
|
-
* [AZ](https://www.azleg.gov/ars/1/00301.htm)
|
|
45
|
-
* [CA](https://www.sos.ca.gov/state-holidays)
|
|
46
|
-
* [CO](https://leg.colorado.gov/sites/default/files/images/olls/crs2023-title-24.pdf)
|
|
47
|
-
* [GA](https://www.gasupreme.us/court-information/holidays-2/)
|
|
48
|
-
* [HI](https://www.capitol.hawaii.gov/hrscurrent/Vol01_Ch0001-0042F/HRS0008/HRS_0008-0001.htm)
|
|
49
|
-
* [ID](https://idaho.gov/government/state-holidays/)
|
|
41
|
+
* [AK](https://web.archive.org/web/20250306070343/https://doa.alaska.gov/calendar/)
|
|
42
|
+
* [AL](https://web.archive.org/web/20250125202410/https://admincode.legislature.state.al.us/administrative-code/670-X-12-.01)
|
|
43
|
+
* [AR](https://web.archive.org/web/20250213100442/https://arkleg.state.ar.us/Home/FTPDocument?path=/ACTS/2001/Public/ACT304.pdf)
|
|
44
|
+
* [AZ](https://web.archive.org/web/20250323052619/https://www.azleg.gov/ars/1/00301.htm)
|
|
45
|
+
* [CA](https://web.archive.org/web/20250414210521/http://www.sos.ca.gov/state-holidays/)
|
|
46
|
+
* [CO](https://web.archive.org/web/20250409020643/https://leg.colorado.gov/sites/default/files/images/olls/crs2023-title-24.pdf)
|
|
47
|
+
* [GA](https://web.archive.org/web/20250204223228/https://www.gasupreme.us/court-information/holidays-2/)
|
|
48
|
+
* [HI](https://web.archive.org/web/20250313033818/https://www.capitol.hawaii.gov/hrscurrent/Vol01_Ch0001-0042F/HRS0008/HRS_0008-0001.htm)
|
|
49
|
+
* [ID](https://web.archive.org/web/20250328091357/https://idaho.gov/government/state-holidays/)
|
|
50
50
|
* IN:
|
|
51
|
-
* <https://digital.statelib.lib.in.us/infoexpress/holidays.aspx>
|
|
52
|
-
* <https://www.in.gov/spd/benefits/state-holidays/>
|
|
53
|
-
* [MD](https://msa.maryland.gov/msa/mdmanual/01glance/html/holidayl.html)
|
|
54
|
-
* [MI](https://www.michigan.gov/som/government/state-holidays)
|
|
55
|
-
* [MN](https://www.revisor.mn.gov/statutes/cite/645.44)
|
|
56
|
-
* [MT](https://archive.legmt.gov/bills/mca/title_0010/chapter_0010/part_0020/section_0160/0010-0010-0020-0160.html)
|
|
57
|
-
* [NJ](https://nj.gov/nj/about/facts/holidays/)
|
|
58
|
-
* [OH](https://codes.ohio.gov/ohio-revised-code/section-1.14)
|
|
59
|
-
* [OK](https://oklahoma.gov/omes/divisions/human-capital-management/employee-benefits/leave-holidays/holidays.html)
|
|
60
|
-
* [OR](https://www.oregonlegislature.gov/bills_laws/ors/ors187.html)
|
|
61
|
-
* [PA](https://www.legis.state.pa.us/WU01/LI/LI/US/PDF/1893/0/0138..PDF)
|
|
51
|
+
* <https://web.archive.org/web/20250119103241/https://digital.statelib.lib.in.us/infoexpress/holidays.aspx>
|
|
52
|
+
* <https://web.archive.org/web/20250418142531/https://www.in.gov/spd/benefits/state-holidays/>
|
|
53
|
+
* [MD](https://web.archive.org/web/20250310030503/https://msa.maryland.gov/msa/mdmanual/01glance/html/holidayl.html)
|
|
54
|
+
* [MI](https://web.archive.org/web/20250328094534/https://www.michigan.gov/som/government/state-holidays)
|
|
55
|
+
* [MN](https://web.archive.org/web/20250322174508/https://www.revisor.mn.gov/statutes/cite/645.44)
|
|
56
|
+
* [MT](https://web.archive.org/web/20250408030903/https://archive.legmt.gov/bills/mca/title_0010/chapter_0010/part_0020/section_0160/0010-0010-0020-0160.html)
|
|
57
|
+
* [NJ](https://web.archive.org/web/20250409164919/https://nj.gov/nj/about/facts/holidays/)
|
|
58
|
+
* [OH](https://web.archive.org/web/20250307080858/https://codes.ohio.gov/ohio-revised-code/section-1.14)
|
|
59
|
+
* [OK](https://web.archive.org/web/20250424191658/https://oklahoma.gov/omes/divisions/human-capital-management/employee-benefits/leave-holidays/holidays.html)
|
|
60
|
+
* [OR](https://web.archive.org/web/20250209222310/https://www.oregonlegislature.gov/bills_laws/ors/ors187.html)
|
|
61
|
+
* [PA](https://web.archive.org/web/20241226003617/https://www.legis.state.pa.us/WU01/LI/LI/US/PDF/1893/0/0138..PDF)
|
|
62
62
|
* [PR](https://en.wikipedia.org/wiki/Public_holidays_in_Puerto_Rico)
|
|
63
|
-
* [SC](https://www.scstatehouse.gov/code/t53c005.php)
|
|
64
|
-
* [TN](https://www.tn.gov/about-tn/state-holidays.html)
|
|
65
|
-
* [TX](https://www.tsl.texas.gov/ref/abouttx/holidays)
|
|
66
|
-
* [UT](https://le.utah.gov/xcode/Title63G/Chapter1/63G-1-S301.html)
|
|
67
|
-
* [VA](https://law.lis.virginia.gov/vacode/title2.2/chapter33/section2.2-3300/)
|
|
68
|
-
* [VT](https://legislature.vermont.gov/statutes/section/01/007/00371)
|
|
69
|
-
* [WA](https://app.leg.wa.gov/
|
|
70
|
-
* [WV](https://code.wvlegislature.gov/2-2-1/)
|
|
71
|
-
* [WY](https://ai.wyo.gov/about-us/state-holidays-and-office-closures)
|
|
63
|
+
* [SC](https://web.archive.org/web/20250212044252/https://www.scstatehouse.gov/code/t53c005.php)
|
|
64
|
+
* [TN](https://web.archive.org/web/20250404130210/https://www.tn.gov/about-tn/state-holidays.html)
|
|
65
|
+
* [TX](https://web.archive.org/web/20250314100137/http://www.tsl.texas.gov/ref/abouttx/holidays)
|
|
66
|
+
* [UT](https://web.archive.org/web/20250312095206/https://le.utah.gov/xcode/Title63G/Chapter1/63G-1-S301.html)
|
|
67
|
+
* [VA](https://web.archive.org/web/20250309075526/https://law.lis.virginia.gov/vacode/title2.2/chapter33/section2.2-3300/)
|
|
68
|
+
* [VT](https://web.archive.org/web/20250415013508/https://legislature.vermont.gov/statutes/section/01/007/00371)
|
|
69
|
+
* [WA](https://web.archive.org/web/20250414010238/https://app.leg.wa.gov/RCW/default.aspx?cite=1.16.050)
|
|
70
|
+
* [WV](https://web.archive.org/web/20250328050144/http://code.wvlegislature.gov/2-2-1/)
|
|
71
|
+
* [WY](https://web.archive.org/web/20250405094801/https://ai.wyo.gov/about-us/state-holidays-and-office-closures)
|
|
72
72
|
* Columbus Day / Indigenous Peoples' Day history:
|
|
73
|
-
* <https://www.pewresearch.org/short-reads/2023/10/05/working-on-columbus-day-or-indigenous-peoples-day-it-depends-on-where-your-job-is/>
|
|
74
|
-
* <https://www.officeholidays.com/holidays/usa/columbus-day-state-guide>
|
|
75
|
-
* <https://en.wikipedia.org/wiki/Indigenous_Peoples
|
|
76
|
-
* <https://www.sos.ri.gov/divisions/civics-and-education/reference-desk/ri-state-holidays>
|
|
73
|
+
* <https://web.archive.org/web/20250315203844/https://www.pewresearch.org/short-reads/2023/10/05/working-on-columbus-day-or-indigenous-peoples-day-it-depends-on-where-your-job-is/>
|
|
74
|
+
* <https://web.archive.org/web/20240715051215/https://www.officeholidays.com/holidays/usa/columbus-day-state-guide>
|
|
75
|
+
* <https://en.wikipedia.org/wiki/Indigenous_Peoples'_Day_(United_States)>
|
|
76
|
+
* <https://web.archive.org/web/20250416043551/https://www.sos.ri.gov/divisions/civics-and-education/reference-desk/ri-state-holidays>
|
|
77
77
|
* <https://web.archive.org/web/20080831103521/http://www.dpa.ca.gov/personnel-policies/holidays.htm>
|
|
78
|
-
* [Frances Xavier Cabrini Day](https://leg.colorado.gov/sites/default/files/2020a_1031_signed.pdf)
|
|
78
|
+
* [Frances Xavier Cabrini Day](https://web.archive.org/web/20250405014031/https://leg.colorado.gov/sites/default/files/2020a_1031_signed.pdf)
|
|
79
79
|
* Northern Mariana Islands (subdivision MP):
|
|
80
|
-
* <https://governor.gov.mp/archived-news/executive-actions-archive/memorandum-2022-legal-holidays/>
|
|
81
|
-
* <https://
|
|
80
|
+
* <https://web.archive.org/web/20240727045236/https://governor.gov.mp/archived-news/executive-actions-archive/memorandum-2022-legal-holidays/>
|
|
81
|
+
* <https://web.archive.org/web/20250429140158/https://governor.gov.mp/archived-news/executive-actions-archive/memorandum-2022-legal-holidays/>
|
|
82
82
|
* American Samoa:
|
|
83
|
-
* <https://asbar.org/code-annotated/1-0501-public-holidays/>
|
|
83
|
+
* <https://web.archive.org/web/20240808163628/https://asbar.org/code-annotated/1-0501-public-holidays/>
|
|
84
84
|
"""
|
|
85
85
|
|
|
86
86
|
country = "US"
|
|
@@ -383,7 +383,7 @@ class UnitedStates(ObservedHolidayBase, ChristianHolidays, InternationalHolidays
|
|
|
383
383
|
self._add_holiday_3rd_mon_of_feb("Presidents' Day")
|
|
384
384
|
|
|
385
385
|
# Seward's Day
|
|
386
|
-
# No observance in 1921: https://chroniclingamerica.loc.gov/lccn/sn86072239/1922-03-29/ed-1/seq-8/
|
|
386
|
+
# No observance in 1921: https://web.archive.org/web/20230208015211/https://chroniclingamerica.loc.gov/lccn/sn86072239/1922-03-29/ed-1/seq-8/
|
|
387
387
|
if self._year >= 1918 and self._year != 1921:
|
|
388
388
|
name = "Seward's Day"
|
|
389
389
|
if self._year >= 1955:
|
holidays/countries/uruguay.py
CHANGED
|
@@ -28,12 +28,12 @@ class Uruguay(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Sta
|
|
|
28
28
|
|
|
29
29
|
References:
|
|
30
30
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Uruguay>
|
|
31
|
-
* [Law #6997](https://www.impo.com.uy/diariooficial/1919/10/25/2)
|
|
32
|
-
* [Decree Law #9000](https://www.impo.com.uy/bases/decretos-ley/9000-1933)
|
|
33
|
-
* [Decree Law #14977](https://www.impo.com.uy/bases/decretos-ley/14977-1979)
|
|
34
|
-
* [Decree Law #15535](https://www.impo.com.uy/bases/decretos-ley/15535-1984)
|
|
35
|
-
* [Law #16805](
|
|
36
|
-
* [Law #17414](
|
|
31
|
+
* [Law #6997](https://web.archive.org/web/20250419214344/http://www.impo.com.uy/diariooficial/1919/10/25/2)
|
|
32
|
+
* [Decree Law #9000](https://web.archive.org/web/20231029150729/https://www.impo.com.uy/bases/decretos-ley/9000-1933)
|
|
33
|
+
* [Decree Law #14977](https://web.archive.org/web/20231013033006/https://www.impo.com.uy/bases/decretos-ley/14977-1979)
|
|
34
|
+
* [Decree Law #15535](https://web.archive.org/web/20210519002815/https://www.impo.com.uy/bases/decretos-ley/15535-1984/)
|
|
35
|
+
* [Law #16805](https://web.archive.org/web/20241121064154/https://parlamento.gub.uy/documentosyleyes/leyes/ley/16805)
|
|
36
|
+
* [Law #17414](https://web.archive.org/web/20241121064131/https://parlamento.gub.uy/documentosyleyes/leyes/ley/17414)
|
|
37
37
|
"""
|
|
38
38
|
|
|
39
39
|
country = "UY"
|
holidays/countries/uzbekistan.py
CHANGED
|
@@ -24,8 +24,8 @@ class Uzbekistan(ObservedHolidayBase, InternationalHolidays, IslamicHolidays, St
|
|
|
24
24
|
|
|
25
25
|
References:
|
|
26
26
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Uzbekistan>
|
|
27
|
-
* [Labor Code 21.12.1995](https://lex.uz/docs/-142859)
|
|
28
|
-
* [Labor Code 28.10.2022](https://lex.uz/docs/-6257288)
|
|
27
|
+
* [Labor Code 21.12.1995](https://web.archive.org/web/20250422170827/https://lex.uz/docs/-142859)
|
|
28
|
+
* [Labor Code 28.10.2022](https://web.archive.org/web/20250424164306/https://lex.uz/docs/-6257288)
|
|
29
29
|
"""
|
|
30
30
|
|
|
31
31
|
country = "UZ"
|
|
@@ -39,7 +39,7 @@ class Uzbekistan(ObservedHolidayBase, InternationalHolidays, IslamicHolidays, St
|
|
|
39
39
|
supported_languages = ("en_US", "uk", "uz")
|
|
40
40
|
start_year = 1992
|
|
41
41
|
|
|
42
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
42
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
43
43
|
"""
|
|
44
44
|
Args:
|
|
45
45
|
islamic_show_estimated:
|
holidays/countries/vanuatu.py
CHANGED
|
@@ -20,8 +20,8 @@ class Vanuatu(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Sta
|
|
|
20
20
|
|
|
21
21
|
References:
|
|
22
22
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Vanuatu>
|
|
23
|
-
* <https://www.timeanddate.com/holidays/vanuatu
|
|
24
|
-
* <https://
|
|
23
|
+
* <https://web.archive.org/web/20250419100625/https://www.timeanddate.com/holidays/vanuatu>
|
|
24
|
+
* <https://web.archive.org/web/20250419062251/https://gov.vu/index.php/events/holidays>
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
country = "VU"
|
|
@@ -20,21 +20,21 @@ class VaticanCity(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
20
20
|
"""Vatican City holidays.
|
|
21
21
|
|
|
22
22
|
References:
|
|
23
|
-
* <https://www.vatican.va/roman_curia/labour_office/docs/documents/ulsa_b18_7_it.html>
|
|
24
|
-
* <https://cdn.restorethe54.com/media/pdf/1917-code-of-canon-law-english.pdf>
|
|
25
|
-
* <https://www.vatican.va/archive/cod-iuris-canonici/eng/documents/cic_lib4-cann1244-1253_en.html>
|
|
23
|
+
* <https://web.archive.org/web/20250125172412/https://www.vatican.va/roman_curia/labour_office/docs/documents/ulsa_b18_7_it.html>
|
|
24
|
+
* <https://web.archive.org/web/20250320055902/https://cdn.restorethe54.com/media/pdf/1917-code-of-canon-law-english.pdf>
|
|
25
|
+
* <https://web.archive.org/web/20250425093046/https://www.vatican.va/archive/cod-iuris-canonici/eng/documents/cic_lib4-cann1244-1253_en.html>
|
|
26
26
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Vatican_City>
|
|
27
27
|
* <https://en.wikipedia.org/wiki/Holy_day_of_obligation>
|
|
28
|
-
* <https://www.ewtn.com/catholicism/library/solemnity-of-mary-mother-of-god-5826>
|
|
29
|
-
* <https://www.franciscanmedia.org/saint-of-the-day/saint-joseph-the-worker/>
|
|
28
|
+
* <https://web.archive.org/web/20241004015531/https://www.ewtn.com/catholicism/library/solemnity-of-mary-mother-of-god-5826>
|
|
29
|
+
* <https://web.archive.org/web/20241130180934/https://www.franciscanmedia.org/saint-of-the-day/saint-joseph-the-worker/>
|
|
30
30
|
|
|
31
31
|
Cross-checked With:
|
|
32
|
-
* <https://www.vaticanstate.va/images/pdf/CALENDARIO_2020.pdf>
|
|
33
|
-
* <https://www.farmaciavaticana.va/images/pdf/calendario_2021.pdf>
|
|
34
|
-
* <https://www.farmaciavaticana.va/images/pdf/calendario_2022.pdf>
|
|
35
|
-
* <https://www.farmaciavaticana.va/images/pdf/calendario_2023.pdf>
|
|
36
|
-
* <https://www.farmaciavaticana.va/media/attachments/2024/01/02/calendario_2024.pdf>
|
|
37
|
-
* <https://www.farmaciavaticana.va/media/attachments/2025/01/02/calendario-2025.pdf>
|
|
32
|
+
* <https://web.archive.org/web/20250427173707/https://www.vaticanstate.va/images/pdf/CALENDARIO_2020.pdf>
|
|
33
|
+
* <https://web.archive.org/web/20220723175312/https://www.farmaciavaticana.va/images/pdf/calendario_2021.pdf>
|
|
34
|
+
* <https://web.archive.org/web/20221018201001/https://www.farmaciavaticana.va/images/pdf/calendario_2022.pdf>
|
|
35
|
+
* <https://web.archive.org/web/20231101221620/https://www.farmaciavaticana.va/images/pdf/calendario_2023.pdf>
|
|
36
|
+
* <https://web.archive.org/web/20241208034527/https://www.farmaciavaticana.va/media/attachments/2024/01/02/calendario_2024.pdf>
|
|
37
|
+
* <https://web.archive.org/web/20250208160702/https://www.farmaciavaticana.va/media/attachments/2025/01/02/calendario-2025.pdf>
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
40
|
country = "VA"
|