holidays 0.69__py3-none-any.whl → 0.71__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 +10 -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 +7 -10
- holidays/countries/french_southern_territories.py +53 -0
- 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 +29 -19
- 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/oman.py +185 -0
- holidays/countries/pakistan.py +48 -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/sierra_leone.py +149 -0
- 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 +39 -47
- holidays/countries/spain.py +25 -24
- holidays/countries/sri_lanka.py +46 -42
- holidays/countries/suriname.py +227 -0
- holidays/countries/sweden.py +20 -19
- holidays/countries/switzerland.py +6 -5
- holidays/countries/taiwan.py +52 -49
- 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 +22 -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 +393 -245
- holidays/ical.py +228 -0
- holidays/locale/ar/LC_MESSAGES/OM.mo +0 -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_SL/LC_MESSAGES/SL.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/OM.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/SL.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/SR.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TF.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/fr/LC_MESSAGES/TF.mo +0 -0
- holidays/locale/hi/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/nl/LC_MESSAGES/SR.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/uk/LC_MESSAGES/TF.mo +0 -0
- holidays/locale/ur_PK/LC_MESSAGES/PK.mo +0 -0
- holidays/mixins.py +2 -2
- holidays/observed_holiday_base.py +10 -3
- holidays/registry.py +10 -1
- holidays/utils.py +203 -151
- holidays/version.py +2 -2
- holidays-0.71.dist-info/METADATA +1432 -0
- {holidays-0.69.dist-info → holidays-0.71.dist-info}/RECORD +248 -217
- {holidays-0.69.dist-info → holidays-0.71.dist-info}/WHEEL +1 -1
- holidays-0.69.dist-info/AUTHORS → holidays-0.71.dist-info/licenses/AUTHORS.md +9 -2
- {holidays-0.69.dist-info → holidays-0.71.dist-info/licenses}/LICENSE +1 -1
- holidays-0.69.dist-info/METADATA +0 -1085
- {holidays-0.69.dist-info → holidays-0.71.dist-info}/top_level.txt +0 -0
holidays/countries/ethiopia.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,9 +21,10 @@ from holidays.holiday_base import HolidayBase
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
class Ethiopia(HolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolidays):
|
|
24
|
-
"""
|
|
24
|
+
"""Ethiopia holidays.
|
|
25
|
+
|
|
25
26
|
References:
|
|
26
|
-
|
|
27
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Ethiopia>
|
|
27
28
|
"""
|
|
28
29
|
|
|
29
30
|
country = "ET"
|
|
@@ -34,19 +35,27 @@ class Ethiopia(HolidayBase, ChristianHolidays, InternationalHolidays, IslamicHol
|
|
|
34
35
|
start_year = 1898
|
|
35
36
|
|
|
36
37
|
def _is_leap_year(self):
|
|
38
|
+
"""Determine if the Ethiopian calendar year is a leap year.
|
|
39
|
+
|
|
40
|
+
Ethiopian leap years generally align with Gregorian leap years until
|
|
41
|
+
February 2100. However, the Ethiopian calendar starts earlier (on September 11),
|
|
42
|
+
which affects holidays between September 11 and January 1.
|
|
43
|
+
|
|
44
|
+
To account for this shift, the method checks whether next year is a leap year
|
|
45
|
+
in the Gregorian calendar.
|
|
46
|
+
|
|
47
|
+
Returns:
|
|
48
|
+
`True` if the Ethiopian year is a leap year, `False` otherwise.
|
|
37
49
|
"""
|
|
38
|
-
|
|
39
|
-
the end of February 2100. It starts earlier from new year of western calendar.
|
|
40
|
-
Ethiopian leap year starts on Sep 11, so it has an effect on holidays between
|
|
41
|
-
Sep 11 and Jan 1. Therefore, here on the following function we intentionally add 1
|
|
42
|
-
to the leap year to offset the difference.
|
|
43
|
-
"""
|
|
50
|
+
|
|
44
51
|
return isleap(self._year + 1)
|
|
45
52
|
|
|
46
53
|
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
47
54
|
"""
|
|
48
|
-
:
|
|
49
|
-
|
|
55
|
+
Args:
|
|
56
|
+
islamic_show_estimated:
|
|
57
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
58
|
+
if holiday date is estimated.
|
|
50
59
|
"""
|
|
51
60
|
ChristianHolidays.__init__(self, JULIAN_CALENDAR)
|
|
52
61
|
InternationalHolidays.__init__(self)
|
|
@@ -0,0 +1,183 @@
|
|
|
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 AUTHORS.md 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 holidays.calendars import _CustomHinduHolidays, _CustomIslamicHolidays
|
|
14
|
+
from holidays.calendars.gregorian import SEP, OCT, NOV, DEC
|
|
15
|
+
from holidays.constants import PUBLIC, WORKDAY
|
|
16
|
+
from holidays.groups import (
|
|
17
|
+
ChristianHolidays,
|
|
18
|
+
HinduCalendarHolidays,
|
|
19
|
+
InternationalHolidays,
|
|
20
|
+
IslamicHolidays,
|
|
21
|
+
)
|
|
22
|
+
from holidays.observed_holiday_base import (
|
|
23
|
+
ObservedHolidayBase,
|
|
24
|
+
SAT_SUN_TO_NEXT_MON,
|
|
25
|
+
SAT_SUN_TO_NEXT_MON_TUE,
|
|
26
|
+
ALL_TO_NEAREST_MON,
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class Fiji(
|
|
31
|
+
ObservedHolidayBase,
|
|
32
|
+
ChristianHolidays,
|
|
33
|
+
HinduCalendarHolidays,
|
|
34
|
+
InternationalHolidays,
|
|
35
|
+
IslamicHolidays,
|
|
36
|
+
):
|
|
37
|
+
"""Fiji holidays.
|
|
38
|
+
|
|
39
|
+
References:
|
|
40
|
+
* <https://laws.gov.fj/Acts/DisplayAct/2910#>
|
|
41
|
+
* <https://laws.gov.fj/LawsAsMade>
|
|
42
|
+
* <https://www.fiji.gov.fj/About-Fiji/Public-Holidays>
|
|
43
|
+
* <https://www.timeanddate.com/holidays/fiji/>
|
|
44
|
+
* <https://en.wikipedia.org/wiki/List_of_festivals_in_Fiji>
|
|
45
|
+
* <https://www.rnz.co.nz/international/pacific-news/249514/new-public-holiday-for-fiji>
|
|
46
|
+
* <https://www.fijitimes.com.fj/constitution-day-public-holiday-removed-cabinet/>
|
|
47
|
+
* <https://fijivillage.com/news/National-Sports-Day-celebrated-5krs29/>
|
|
48
|
+
* <https://fijivillage.com/news/Cabinet-approves-Ratu-Sir-Lala-Sukuna-Day-and-Girmit-Day-and-removes-Constitution-Day-as-a-public-holiday-f48r5x/>
|
|
49
|
+
|
|
50
|
+
Official Fiji Public Holidays Calendar:
|
|
51
|
+
* [2016](https://www.fiji.gov.fj/Media-Center/Press-Releases/GOVERNMENT-APPROVES-2016-PUBLIC-HOLIDAYS.aspx)
|
|
52
|
+
* [2017](https://www.fiji.gov.fj/Media-Centre/News/GOVERNMENT-APPROVES-2017-PUBLIC-HOLIDAYS)
|
|
53
|
+
* [2018](https://web.archive.org/web/20180727205733/http://www.employment.gov.fj/images/Laws/Press%20Release%20-%20Government%20Approves%202018%20Public%20Holidays.pdf)
|
|
54
|
+
* [2019](https://web.archive.org/web/20191018023027/https://www.fiji.gov.fj/About-Fiji/Public-Holidays)
|
|
55
|
+
* [2020](https://web.archive.org/web/20210103183942/https://www.fiji.gov.fj/About-Fiji/Public-Holidays)
|
|
56
|
+
* [2021-2022](https://web.archive.org/web/20221223004409/https://www.fiji.gov.fj/About-Fiji/Public-Holidays)
|
|
57
|
+
* [2023](https://web.archive.org/web/20231129154609/https://www.fiji.gov.fj/About-Fiji/Public-Holidays)
|
|
58
|
+
* [2024](https://web.archive.org/web/20250121185434/https://www.fiji.gov.fj/About-Fiji/Public-Holidays)
|
|
59
|
+
* [2025](https://web.archive.org/web/20250318092311/https://www.fiji.gov.fj/About-Fiji/Public-Holidays)
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
country = "FJ"
|
|
63
|
+
supported_categories = (PUBLIC, WORKDAY)
|
|
64
|
+
# %s (estimated).
|
|
65
|
+
estimated_label = "%s (estimated)"
|
|
66
|
+
# %s (observed).
|
|
67
|
+
observed_label = "%s (observed)"
|
|
68
|
+
# %s (observed, estimated).
|
|
69
|
+
observed_estimated_label = "%s (observed, estimated)"
|
|
70
|
+
# Act No. 13 of 2015
|
|
71
|
+
start_year = 2016
|
|
72
|
+
|
|
73
|
+
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
74
|
+
"""
|
|
75
|
+
Args:
|
|
76
|
+
islamic_show_estimated:
|
|
77
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
78
|
+
if holiday date is estimated.
|
|
79
|
+
"""
|
|
80
|
+
ChristianHolidays.__init__(self)
|
|
81
|
+
HinduCalendarHolidays.__init__(self, cls=FijiHinduHolidays, show_estimated=True)
|
|
82
|
+
InternationalHolidays.__init__(self)
|
|
83
|
+
IslamicHolidays.__init__(
|
|
84
|
+
self, cls=FijiIslamicHolidays, show_estimated=islamic_show_estimated
|
|
85
|
+
)
|
|
86
|
+
kwargs.setdefault("observed_rule", SAT_SUN_TO_NEXT_MON)
|
|
87
|
+
super().__init__(*args, **kwargs)
|
|
88
|
+
|
|
89
|
+
def _populate_public_holidays(self):
|
|
90
|
+
# New Year's Day.
|
|
91
|
+
self._add_observed(self._add_new_years_day("New Year's Day"))
|
|
92
|
+
|
|
93
|
+
# Good Friday.
|
|
94
|
+
self._add_good_friday("Good Friday")
|
|
95
|
+
|
|
96
|
+
# Easter Saturday.
|
|
97
|
+
self._add_holy_saturday("Easter Saturday")
|
|
98
|
+
|
|
99
|
+
# Easter Monday.
|
|
100
|
+
self._add_easter_monday("Easter Monday")
|
|
101
|
+
|
|
102
|
+
# National Sports Day.
|
|
103
|
+
if self._year <= 2018:
|
|
104
|
+
self._add_holiday_last_fri_of_jun("National Sports Day")
|
|
105
|
+
|
|
106
|
+
if self._year <= 2022:
|
|
107
|
+
# Constitution Day.
|
|
108
|
+
self._add_observed(self._add_holiday_sep_7("Constitution Day"))
|
|
109
|
+
|
|
110
|
+
if self._year >= 2023:
|
|
111
|
+
# Girmit Day.
|
|
112
|
+
self._move_holiday(
|
|
113
|
+
self._add_holiday_may_14("Girmit Day"),
|
|
114
|
+
rule=ALL_TO_NEAREST_MON,
|
|
115
|
+
show_observed_label=False,
|
|
116
|
+
)
|
|
117
|
+
|
|
118
|
+
# Ratu Sir Lala Sukuna Day.
|
|
119
|
+
name = "Ratu Sir Lala Sukuna Day"
|
|
120
|
+
if self._year == 2023:
|
|
121
|
+
self._add_holiday_last_mon_of_may(name)
|
|
122
|
+
elif self._year >= 2024:
|
|
123
|
+
self._add_holiday_last_fri_of_may(name)
|
|
124
|
+
|
|
125
|
+
# Fiji Day.
|
|
126
|
+
self._add_holiday_oct_10("Fiji Day")
|
|
127
|
+
|
|
128
|
+
# Diwali.
|
|
129
|
+
self._add_observed(self._add_diwali_india("Diwali"))
|
|
130
|
+
|
|
131
|
+
# Christmas Day.
|
|
132
|
+
self._add_observed(self._add_christmas_day("Christmas Day"), rule=SAT_SUN_TO_NEXT_MON_TUE)
|
|
133
|
+
|
|
134
|
+
# Boxing Day.
|
|
135
|
+
self._add_observed(self._add_christmas_day_two("Boxing Day"), rule=SAT_SUN_TO_NEXT_MON_TUE)
|
|
136
|
+
|
|
137
|
+
# Prophet Mohammed's Birthday.
|
|
138
|
+
for dt in self._add_mawlid_day("Prophet Mohammed's Birthday"):
|
|
139
|
+
self._add_observed(dt)
|
|
140
|
+
|
|
141
|
+
def _populate_workday_holidays(self):
|
|
142
|
+
if self._year >= 2023:
|
|
143
|
+
# Constitution Day.
|
|
144
|
+
self._add_holiday_sep_7("Constitution Day")
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
class FJ(Fiji):
|
|
148
|
+
pass
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
class FJI(Fiji):
|
|
152
|
+
pass
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
class FijiHinduHolidays(_CustomHinduHolidays):
|
|
156
|
+
# https://www.timeanddate.com/holidays/fiji/diwali
|
|
157
|
+
DIWALI_INDIA_DATES = {
|
|
158
|
+
2016: (OCT, 31),
|
|
159
|
+
2017: (OCT, 19),
|
|
160
|
+
2018: (NOV, 7),
|
|
161
|
+
2019: (OCT, 28),
|
|
162
|
+
2020: (NOV, 14),
|
|
163
|
+
2021: (NOV, 4),
|
|
164
|
+
2022: (OCT, 25),
|
|
165
|
+
2023: (NOV, 13),
|
|
166
|
+
2024: (NOV, 1),
|
|
167
|
+
2025: (OCT, 21),
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
class FijiIslamicHolidays(_CustomIslamicHolidays):
|
|
172
|
+
MAWLID_DATES = {
|
|
173
|
+
2016: (DEC, 12),
|
|
174
|
+
2017: (DEC, 2),
|
|
175
|
+
2018: (NOV, 19),
|
|
176
|
+
2019: (NOV, 9),
|
|
177
|
+
2020: (OCT, 31),
|
|
178
|
+
2021: (OCT, 18),
|
|
179
|
+
2022: (OCT, 7), # looks like observed on FRI
|
|
180
|
+
2023: (SEP, 30),
|
|
181
|
+
2024: (SEP, 16),
|
|
182
|
+
2025: (SEP, 6),
|
|
183
|
+
}
|
holidays/countries/finland.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
|
|
@@ -19,16 +19,17 @@ from holidays.holiday_base import HolidayBase
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class Finland(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
22
|
-
"""
|
|
22
|
+
"""Finland holidays.
|
|
23
|
+
|
|
23
24
|
References:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Finland>
|
|
26
|
+
* [Bank holidays (Finnish)](https://www.suomenpankki.fi/fi/raha-ja-maksaminen/pankkivapaapaivat/)
|
|
27
|
+
* [Bank holidays (English)](https://www.suomenpankki.fi/en/money-and-payments/bank-holidays/)
|
|
28
|
+
* [Bank holidays (Swedish)](https://www.suomenpankki.fi/sv/pengar-och-betalningar/bankfria-dagar-i-finland/)
|
|
29
|
+
* <https://en.wikipedia.org/wiki/Flag_flying_days_in_Finland#Customary_flag_days>
|
|
30
|
+
* <https://intermin.fi/en/flag-and-arms/flag-flying-days>
|
|
31
|
+
* <https://intermin.fi/en/flag-and-arms/flag-days/2024>
|
|
32
|
+
* <https://en.wikipedia.org/wiki/Independence_Day_(Finland)>
|
|
32
33
|
"""
|
|
33
34
|
|
|
34
35
|
country = "FI"
|
holidays/countries/france.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -17,24 +17,21 @@ from holidays.holiday_base import HolidayBase
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class France(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
20
|
-
"""
|
|
20
|
+
"""France holidays.
|
|
21
|
+
|
|
22
|
+
References:
|
|
23
|
+
* <https://fr.wikipedia.org/wiki/Fêtes_et_jours_fériés_en_France>
|
|
24
|
+
* <https://www.service-public.fr/particuliers/vosdroits/F2405>
|
|
21
25
|
|
|
22
26
|
Some provinces have specific holidays, only those are included in the
|
|
23
27
|
PROVINCES, because these provinces have different administrative status,
|
|
24
28
|
which makes it difficult to enumerate.
|
|
25
|
-
|
|
26
|
-
For religious holidays usually happening on Sundays (Easter, Pentecost),
|
|
27
|
-
only the following Monday is considered a holiday.
|
|
28
|
-
|
|
29
|
-
Primary sources:
|
|
30
|
-
https://fr.wikipedia.org/wiki/Fêtes_et_jours_fériés_en_France
|
|
31
|
-
https://www.service-public.fr/particuliers/vosdroits/F2405
|
|
32
29
|
"""
|
|
33
30
|
|
|
34
31
|
country = "FR"
|
|
35
32
|
default_language = "fr"
|
|
36
33
|
supported_languages = ("en_US", "fr", "uk")
|
|
37
|
-
subdivisions = (
|
|
34
|
+
subdivisions: tuple[str, ...] = (
|
|
38
35
|
"BL", # Saint-Barthélemy.
|
|
39
36
|
"GES", # Alsace, Champagne-Ardenne, Lorraine(Moselle).
|
|
40
37
|
"GP", # Guadeloupe.
|
|
@@ -0,0 +1,53 @@
|
|
|
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 AUTHORS.md 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 holidays.countries.france import France
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class HolidaysTF(France):
|
|
17
|
+
"""French Southern Territories holidays.
|
|
18
|
+
|
|
19
|
+
Alias of a French subdivision that is also officially assigned
|
|
20
|
+
its own country code in ISO 31661.
|
|
21
|
+
|
|
22
|
+
!!! note "Note"
|
|
23
|
+
Since most islands doesn't have a permanent population,
|
|
24
|
+
the holidays are just the public ones from France.
|
|
25
|
+
|
|
26
|
+
References:
|
|
27
|
+
* <https://www.iso.org/obp/ui#iso:code:3166:TF>
|
|
28
|
+
* <https://en.wikipedia.org/wiki/French_Southern_and_Antarctic_Lands>
|
|
29
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_France>
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
country = "TF"
|
|
33
|
+
parent_entity = France
|
|
34
|
+
subdivisions = () # Override France subdivisions.
|
|
35
|
+
subdivisions_aliases = {} # Override France subdivisions aliases.
|
|
36
|
+
# This overseas territory was separated in 1955.
|
|
37
|
+
start_year = 1956
|
|
38
|
+
|
|
39
|
+
def _populate_public_holidays(self) -> None:
|
|
40
|
+
self.subdiv = "TF"
|
|
41
|
+
super()._populate_public_holidays()
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class FrenchSouthernTerritories(HolidaysTF):
|
|
45
|
+
pass
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
class TF(HolidaysTF):
|
|
49
|
+
pass
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class ATF(HolidaysTF):
|
|
53
|
+
pass
|
holidays/countries/gabon.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -17,12 +17,13 @@ from holidays.holiday_base import HolidayBase
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class Gabon(HolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolidays):
|
|
20
|
-
"""
|
|
20
|
+
"""Gabon holidays.
|
|
21
|
+
|
|
21
22
|
References:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Gabon>
|
|
24
|
+
* <https://www.timeanddate.com/holidays/gabon>
|
|
25
|
+
* <https://www.officeholidays.com/countries/gabon>
|
|
26
|
+
* <http://www.travail.gouv.ga/402-evenements/489-liste-des-jours-feries/>
|
|
26
27
|
"""
|
|
27
28
|
|
|
28
29
|
country = "GA"
|
|
@@ -31,8 +32,10 @@ class Gabon(HolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolida
|
|
|
31
32
|
|
|
32
33
|
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
33
34
|
"""
|
|
34
|
-
:
|
|
35
|
-
|
|
35
|
+
Args:
|
|
36
|
+
islamic_show_estimated:
|
|
37
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
38
|
+
if holiday date is estimated.
|
|
36
39
|
"""
|
|
37
40
|
ChristianHolidays.__init__(self)
|
|
38
41
|
InternationalHolidays.__init__(self)
|
holidays/countries/georgia.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,12 +20,11 @@ from holidays.holiday_base import HolidayBase
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class Georgia(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
23
|
-
"""
|
|
24
|
-
Georgia holidays.
|
|
23
|
+
"""Georgia holidays.
|
|
25
24
|
|
|
26
25
|
References:
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Georgia_(country)>
|
|
27
|
+
* <https://matsne.gov.ge/en/document/view/1155567?publication=24>
|
|
29
28
|
"""
|
|
30
29
|
|
|
31
30
|
country = "GE"
|
|
@@ -101,9 +100,10 @@ class GEO(Georgia):
|
|
|
101
100
|
|
|
102
101
|
|
|
103
102
|
class GeorgiaStaticHolidays:
|
|
104
|
-
"""
|
|
103
|
+
"""Georgia special holidays.
|
|
104
|
+
|
|
105
105
|
References:
|
|
106
|
-
|
|
106
|
+
* <https://www.matsne.gov.ge/ka/document/view/6173967>
|
|
107
107
|
"""
|
|
108
108
|
|
|
109
109
|
special_government_holidays = {
|
holidays/countries/germany.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
|
|
@@ -19,15 +19,14 @@ from holidays.holiday_base import HolidayBase
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class Germany(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
22
|
-
"""
|
|
22
|
+
"""Germany holidays.
|
|
23
23
|
|
|
24
24
|
This class doesn't return any holidays before 1990-10-03.
|
|
25
25
|
|
|
26
|
-
Before that date the current Germany was separated into the "German
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
countries.
|
|
26
|
+
Before that date the current Germany was separated into the "German Democratic
|
|
27
|
+
Republic" and the "Federal Republic of Germany" which both had somewhat
|
|
28
|
+
different holidays. Since this class is called "Germany" it doesn't really
|
|
29
|
+
make sense to include the days from the two former countries.
|
|
31
30
|
|
|
32
31
|
"Mariä Himmelfahrt" is only a holiday in Bavaria (BY) and "Fronleichnam"
|
|
33
32
|
in Saxony (SN) and Thuringia (TH) if municipality is mostly catholic which
|
|
@@ -241,11 +240,12 @@ class DEU(Germany):
|
|
|
241
240
|
|
|
242
241
|
|
|
243
242
|
class GermanyStaticHolidays:
|
|
244
|
-
"""
|
|
243
|
+
"""Germany special holidays.
|
|
244
|
+
|
|
245
245
|
References:
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
246
|
+
* <https://www.stuttgarter-zeitung.de/inhalt.reformationstag-2017-einmalig-bundesweiter-feiertag.b7e189b3-a33d-41a3-a0f4-141cd13df54e.html>
|
|
247
|
+
* <https://www.bbc.com/news/world-europe-52574748>
|
|
248
|
+
* <https://gesetze.berlin.de/bsbe/document/jlr-FeiertGBEV8P1>
|
|
249
249
|
"""
|
|
250
250
|
|
|
251
251
|
special_public_holidays = {
|
holidays/countries/ghana.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
|
|
@@ -19,9 +19,11 @@ from holidays.observed_holiday_base import (
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class Ghana(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolidays):
|
|
22
|
-
"""
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
"""Ghana holidays.
|
|
23
|
+
|
|
24
|
+
References:
|
|
25
|
+
* <https://www.mint.gov.gh/statutory-public-holidays/>
|
|
26
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Ghana>
|
|
25
27
|
"""
|
|
26
28
|
|
|
27
29
|
country = "GH"
|
|
@@ -32,8 +34,10 @@ class Ghana(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Islam
|
|
|
32
34
|
|
|
33
35
|
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
34
36
|
"""
|
|
35
|
-
:
|
|
36
|
-
|
|
37
|
+
Args:
|
|
38
|
+
islamic_show_estimated:
|
|
39
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
40
|
+
if holiday date is estimated.
|
|
37
41
|
"""
|
|
38
42
|
ChristianHolidays.__init__(self)
|
|
39
43
|
InternationalHolidays.__init__(self)
|
holidays/countries/greece.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
|
|
@@ -23,12 +23,11 @@ from holidays.observed_holiday_base import (
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
class Greece(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
26
|
-
"""
|
|
27
|
-
Greece holidays.
|
|
26
|
+
"""Greece holidays.
|
|
28
27
|
|
|
29
28
|
References:
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Greece>
|
|
30
|
+
* [2024 Labor Day transfer](https://www.et.gr/api/DownloadFeksApi/?fek_pdf=20240201406)
|
|
32
31
|
"""
|
|
33
32
|
|
|
34
33
|
country = "GR"
|
holidays/countries/greenland.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -18,13 +18,12 @@ from holidays.holiday_base import HolidayBase
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Greenland(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
21
|
-
"""
|
|
22
|
-
Greenland holidays.
|
|
21
|
+
"""Greenland holidays.
|
|
23
22
|
|
|
24
23
|
References:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Greenland>
|
|
25
|
+
* [Greenlandic names source](https://nalunaarutit.gl/groenlandsk-lovgivning/2008/bkg-26-2008?sc_lang=kl-GL)
|
|
26
|
+
* [Translation source](https://www.norden.org/en/info-norden/public-holidays-greenland)
|
|
28
27
|
"""
|
|
29
28
|
|
|
30
29
|
country = "GL"
|
holidays/countries/guam.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
|
|
@@ -15,9 +15,11 @@ from holidays.countries.united_states import US
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class HolidaysGU(US):
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
"""Guam holidays.
|
|
19
|
+
|
|
20
|
+
Alias of a US subdivision that is also officially assigned its own country code in ISO 3166-1.
|
|
21
|
+
See <https://en.wikipedia.org/wiki/ISO_3166-2:US#Subdivisions_included_in_ISO_3166-1>
|
|
22
|
+
"""
|
|
21
23
|
|
|
22
24
|
country = "GU"
|
|
23
25
|
supported_categories = (GOVERNMENT, PUBLIC, UNOFFICIAL)
|
holidays/countries/guatemala.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
|
|
@@ -19,17 +19,15 @@ from holidays.observed_holiday_base import ObservedHolidayBase, ALL_TO_NEAREST_M
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class Guatemala(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
22
|
-
"""
|
|
22
|
+
"""Guatemala holidays.
|
|
23
|
+
|
|
23
24
|
References:
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
* <http://www.bvnsa.com.gt/bvnsa/calendario_dias_festivos.php>
|
|
26
|
+
* <https://www.minfin.gob.gt/images/downloads/leyes_acuerdos/decretocong19_101018.pdf>
|
|
26
27
|
|
|
27
28
|
Moving holidays:
|
|
28
|
-
|
|
29
|
-
https://
|
|
30
|
-
|
|
31
|
-
EXPEDIENTE 5536-2018 (CC) start 17 abr 2020
|
|
32
|
-
https://leyes.infile.com/index.php?id=181&id_publicacion=81051
|
|
29
|
+
* [Decree 19-2018 start 18 oct 2018](https://www.minfin.gob.gt/images/downloads/leyes_acuerdos/decretocong19_101018.pdf)
|
|
30
|
+
* [Case 5536-2018 (CC) start 17 abr 2020](https://leyes.infile.com/index.php?id=182&id_publicacion=81055)
|
|
33
31
|
"""
|
|
34
32
|
|
|
35
33
|
country = "GT"
|