holidays 0.68__py3-none-any.whl → 0.70__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- holidays/__init__.py +1 -1
- holidays/calendars/__init__.py +2 -1
- holidays/calendars/balinese_saka.py +112 -0
- holidays/calendars/buddhist.py +1 -1
- holidays/calendars/chinese.py +1 -1
- holidays/calendars/custom.py +1 -1
- holidays/calendars/gregorian.py +1 -1
- holidays/calendars/hebrew.py +1 -1
- holidays/calendars/hindu.py +866 -2
- holidays/calendars/islamic.py +161 -1
- holidays/calendars/julian.py +1 -1
- holidays/calendars/julian_revised.py +1 -1
- holidays/calendars/persian.py +1 -1
- holidays/calendars/sinhala.py +1 -1
- holidays/calendars/thai.py +309 -257
- holidays/constants.py +3 -1
- holidays/countries/__init__.py +7 -1
- holidays/countries/afghanistan.py +17 -7
- holidays/countries/albania.py +16 -7
- holidays/countries/algeria.py +14 -10
- holidays/countries/american_samoa.py +12 -6
- holidays/countries/andorra.py +5 -4
- holidays/countries/angola.py +15 -14
- holidays/countries/antigua_and_barbuda.py +145 -0
- holidays/countries/argentina.py +787 -169
- holidays/countries/armenia.py +5 -6
- holidays/countries/aruba.py +11 -9
- holidays/countries/australia.py +21 -20
- holidays/countries/austria.py +3 -1
- holidays/countries/azerbaijan.py +30 -19
- holidays/countries/bahamas.py +13 -11
- holidays/countries/bahrain.py +14 -7
- holidays/countries/bangladesh.py +5 -4
- holidays/countries/barbados.py +11 -9
- holidays/countries/belarus.py +15 -15
- holidays/countries/belgium.py +8 -6
- holidays/countries/belize.py +7 -6
- holidays/countries/bolivia.py +12 -11
- holidays/countries/bosnia_and_herzegovina.py +21 -11
- holidays/countries/botswana.py +8 -6
- holidays/countries/brazil.py +8 -7
- holidays/countries/brunei.py +56 -62
- holidays/countries/bulgaria.py +9 -10
- holidays/countries/burkina_faso.py +14 -5
- holidays/countries/burundi.py +17 -12
- holidays/countries/cambodia.py +15 -24
- holidays/countries/cameroon.py +16 -7
- holidays/countries/canada.py +13 -12
- holidays/countries/chad.py +15 -6
- holidays/countries/chile.py +29 -28
- holidays/countries/china.py +39 -38
- holidays/countries/colombia.py +15 -20
- holidays/countries/congo.py +6 -7
- holidays/countries/costa_rica.py +11 -10
- holidays/countries/croatia.py +8 -5
- holidays/countries/cuba.py +30 -27
- holidays/countries/curacao.py +6 -4
- holidays/countries/cyprus.py +4 -5
- holidays/countries/czechia.py +7 -6
- holidays/countries/denmark.py +5 -6
- holidays/countries/djibouti.py +11 -3
- holidays/countries/dominica.py +18 -16
- holidays/countries/dominican_republic.py +6 -4
- holidays/countries/ecuador.py +5 -4
- holidays/countries/egypt.py +10 -11
- holidays/countries/el_salvador.py +6 -5
- holidays/countries/estonia.py +3 -1
- holidays/countries/eswatini.py +6 -4
- holidays/countries/ethiopia.py +26 -11
- holidays/countries/fiji.py +183 -0
- holidays/countries/finland.py +11 -10
- holidays/countries/france.py +6 -9
- holidays/countries/gabon.py +17 -8
- holidays/countries/georgia.py +7 -7
- holidays/countries/germany.py +11 -11
- holidays/countries/ghana.py +14 -6
- holidays/countries/greece.py +4 -5
- holidays/countries/greenland.py +5 -6
- holidays/countries/guam.py +12 -6
- holidays/countries/guatemala.py +7 -9
- holidays/countries/guernsey.py +37 -34
- holidays/countries/guinea.py +182 -0
- holidays/countries/haiti.py +6 -5
- holidays/countries/honduras.py +8 -4
- holidays/countries/hongkong.py +49 -60
- holidays/countries/hungary.py +26 -23
- holidays/countries/iceland.py +5 -4
- holidays/countries/india.py +494 -174
- holidays/countries/indonesia.py +68 -108
- holidays/countries/iran.py +18 -9
- holidays/countries/ireland.py +5 -4
- holidays/countries/isle_of_man.py +2 -2
- holidays/countries/israel.py +4 -5
- holidays/countries/italy.py +5 -4
- holidays/countries/ivory_coast.py +156 -0
- holidays/countries/jamaica.py +6 -4
- holidays/countries/japan.py +5 -5
- holidays/countries/jersey.py +29 -26
- holidays/countries/jordan.py +13 -6
- holidays/countries/kazakhstan.py +72 -51
- holidays/countries/kenya.py +28 -18
- holidays/countries/kuwait.py +14 -7
- holidays/countries/kyrgyzstan.py +11 -6
- holidays/countries/laos.py +21 -29
- holidays/countries/latvia.py +7 -5
- holidays/countries/lesotho.py +6 -5
- holidays/countries/liechtenstein.py +5 -5
- holidays/countries/lithuania.py +4 -5
- holidays/countries/luxembourg.py +5 -3
- holidays/countries/macau.py +480 -0
- holidays/countries/madagascar.py +5 -4
- holidays/countries/malawi.py +6 -4
- holidays/countries/malaysia.py +30 -18
- holidays/countries/maldives.py +14 -7
- holidays/countries/malta.py +10 -19
- holidays/countries/marshall_islands.py +6 -4
- holidays/countries/mauritania.py +13 -6
- holidays/countries/mexico.py +8 -7
- holidays/countries/moldova.py +6 -4
- holidays/countries/monaco.py +6 -4
- holidays/countries/montenegro.py +16 -7
- holidays/countries/morocco.py +13 -8
- holidays/countries/mozambique.py +3 -1
- holidays/countries/namibia.py +7 -5
- holidays/countries/netherlands.py +6 -6
- holidays/countries/new_zealand.py +3 -1
- holidays/countries/nicaragua.py +6 -5
- holidays/countries/nigeria.py +13 -5
- holidays/countries/north_macedonia.py +13 -5
- holidays/countries/northern_mariana_islands.py +12 -6
- holidays/countries/norway.py +15 -15
- holidays/countries/pakistan.py +48 -18
- holidays/countries/palau.py +13 -11
- holidays/countries/panama.py +9 -8
- holidays/countries/papua_new_guinea.py +25 -21
- holidays/countries/paraguay.py +10 -9
- holidays/countries/peru.py +4 -5
- holidays/countries/philippines.py +32 -18
- holidays/countries/poland.py +7 -6
- holidays/countries/portugal.py +13 -15
- holidays/countries/puerto_rico.py +12 -6
- holidays/countries/qatar.py +172 -0
- holidays/countries/romania.py +6 -4
- holidays/countries/russia.py +6 -4
- holidays/countries/saint_kitts_and_nevis.py +24 -22
- holidays/countries/saint_lucia.py +8 -7
- holidays/countries/samoa.py +7 -6
- holidays/countries/san_marino.py +4 -3
- holidays/countries/saudi_arabia.py +15 -15
- holidays/countries/serbia.py +3 -4
- holidays/countries/seychelles.py +22 -26
- holidays/countries/singapore.py +33 -38
- holidays/countries/slovakia.py +6 -5
- holidays/countries/slovenia.py +7 -6
- holidays/countries/south_africa.py +8 -6
- holidays/countries/south_korea.py +25 -32
- holidays/countries/spain.py +31 -24
- holidays/countries/sri_lanka.py +52 -42
- holidays/countries/sweden.py +20 -19
- holidays/countries/switzerland.py +6 -5
- holidays/countries/taiwan.py +230 -31
- holidays/countries/tanzania.py +34 -27
- holidays/countries/thailand.py +134 -142
- holidays/countries/timor_leste.py +38 -17
- holidays/countries/tonga.py +46 -42
- holidays/countries/tunisia.py +9 -3
- holidays/countries/turkey.py +17 -9
- holidays/countries/tuvalu.py +12 -11
- holidays/countries/ukraine.py +54 -54
- holidays/countries/united_arab_emirates.py +43 -30
- holidays/countries/united_kingdom.py +7 -6
- holidays/countries/united_states.py +130 -86
- holidays/countries/united_states_minor_outlying_islands.py +12 -6
- holidays/countries/united_states_virgin_islands.py +12 -6
- holidays/countries/uruguay.py +10 -9
- holidays/countries/uzbekistan.py +16 -7
- holidays/countries/vanuatu.py +7 -5
- holidays/countries/vatican_city.py +16 -15
- holidays/countries/venezuela.py +11 -14
- holidays/countries/vietnam.py +15 -11
- holidays/countries/zambia.py +8 -6
- holidays/countries/zimbabwe.py +6 -4
- holidays/deprecations/v1_incompatibility.py +1 -1
- holidays/financial/__init__.py +1 -1
- holidays/financial/brasil_bolsa_balcao.py +14 -13
- holidays/financial/european_central_bank.py +7 -6
- holidays/financial/ice_futures_europe.py +7 -6
- holidays/financial/ny_stock_exchange.py +13 -10
- holidays/groups/__init__.py +2 -1
- holidays/groups/balinese_saka.py +45 -0
- holidays/groups/buddhist.py +1 -1
- holidays/groups/chinese.py +69 -4
- holidays/groups/christian.py +1 -1
- holidays/groups/custom.py +1 -1
- holidays/groups/eastern.py +1 -1
- holidays/groups/hebrew.py +1 -1
- holidays/groups/hindu.py +256 -1
- holidays/groups/international.py +1 -1
- holidays/groups/islamic.py +17 -3
- holidays/groups/persian.py +1 -1
- holidays/groups/sinhala.py +1 -1
- holidays/groups/thai.py +1 -7
- holidays/helpers.py +1 -1
- holidays/holiday_base.py +410 -273
- holidays/ical.py +228 -0
- holidays/locale/ar_QA/LC_MESSAGES/QA.mo +0 -0
- holidays/locale/de/LC_MESSAGES/PL.mo +0 -0
- holidays/locale/en_CI/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/en_HK/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/en_IN/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/en_MO/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/en_PK/LC_MESSAGES/PK.mo +0 -0
- holidays/locale/en_TL/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GN.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/PK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/QA.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TW.mo +0 -0
- holidays/locale/es/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/CI.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/GN.mo +0 -0
- holidays/locale/hi/LC_MESSAGES/IN.mo +0 -0
- holidays/locale/pt_MO/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/pt_TL/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/tet/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/th/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/th/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/th/LC_MESSAGES/TL.mo +0 -0
- holidays/locale/th/LC_MESSAGES/TW.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/ur_PK/LC_MESSAGES/PK.mo +0 -0
- holidays/locale/zh_CN/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/zh_CN/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/zh_CN/LC_MESSAGES/TW.mo +0 -0
- holidays/locale/zh_HK/LC_MESSAGES/HK.mo +0 -0
- holidays/locale/zh_MO/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/zh_TW/LC_MESSAGES/TW.mo +0 -0
- holidays/mixins.py +2 -2
- holidays/observed_holiday_base.py +5 -2
- holidays/registry.py +7 -1
- holidays/utils.py +151 -151
- holidays/version.py +2 -2
- holidays-0.70.dist-info/METADATA +1404 -0
- {holidays-0.68.dist-info → holidays-0.70.dist-info}/RECORD +253 -222
- {holidays-0.68.dist-info → holidays-0.70.dist-info}/WHEEL +1 -1
- holidays-0.68.dist-info/AUTHORS → holidays-0.70.dist-info/licenses/AUTHORS.md +7 -2
- {holidays-0.68.dist-info → holidays-0.70.dist-info/licenses}/LICENSE +1 -1
- holidays-0.68.dist-info/METADATA +0 -1080
- {holidays-0.68.dist-info → holidays-0.70.dist-info}/top_level.txt +0 -0
holidays/countries/indonesia.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,6 +20,7 @@ from holidays.calendars import (
|
|
|
20
20
|
from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC
|
|
21
21
|
from holidays.constants import GOVERNMENT, PUBLIC
|
|
22
22
|
from holidays.groups import (
|
|
23
|
+
BalineseSakaCalendarHolidays,
|
|
23
24
|
BuddhistCalendarHolidays,
|
|
24
25
|
ChineseCalendarHolidays,
|
|
25
26
|
ChristianHolidays,
|
|
@@ -32,6 +33,7 @@ from holidays.observed_holiday_base import ObservedHolidayBase
|
|
|
32
33
|
|
|
33
34
|
class Indonesia(
|
|
34
35
|
ObservedHolidayBase,
|
|
36
|
+
BalineseSakaCalendarHolidays,
|
|
35
37
|
BuddhistCalendarHolidays,
|
|
36
38
|
ChineseCalendarHolidays,
|
|
37
39
|
ChristianHolidays,
|
|
@@ -39,15 +41,14 @@ class Indonesia(
|
|
|
39
41
|
IslamicHolidays,
|
|
40
42
|
StaticHolidays,
|
|
41
43
|
):
|
|
42
|
-
"""
|
|
44
|
+
"""Indonesia holidays.
|
|
45
|
+
|
|
43
46
|
References:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
- https://en.wikipedia.org/wiki/Nyepi
|
|
50
|
-
- https://bali.com/bali/travel-guide/culture/nyepi-balinese-new-year/
|
|
47
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Indonesia>
|
|
48
|
+
* <https://id.wikipedia.org/wiki/Hari_libur_di_Indonesia>
|
|
49
|
+
* <https://www.liburnasional.com/sejarah/>
|
|
50
|
+
* [1963-2025](https://id.wikipedia.org/wiki/Indonesia_dalam_tahun_1963)
|
|
51
|
+
* <https://www.timeanddate.com/holidays/indonesia>
|
|
51
52
|
"""
|
|
52
53
|
|
|
53
54
|
country = "ID"
|
|
@@ -62,12 +63,21 @@ class Indonesia(
|
|
|
62
63
|
supported_categories = (GOVERNMENT, PUBLIC)
|
|
63
64
|
start_year = 1946
|
|
64
65
|
|
|
65
|
-
def __init__(self, *args, **kwargs):
|
|
66
|
+
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
67
|
+
"""
|
|
68
|
+
Args:
|
|
69
|
+
islamic_show_estimated:
|
|
70
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
71
|
+
if holiday date is estimated.
|
|
72
|
+
"""
|
|
73
|
+
BalineseSakaCalendarHolidays.__init__(self)
|
|
66
74
|
BuddhistCalendarHolidays.__init__(self, cls=IndonesiaBuddhistHolidays, show_estimated=True)
|
|
67
75
|
ChineseCalendarHolidays.__init__(self, cls=IndonesiaChineseHolidays, show_estimated=True)
|
|
68
76
|
ChristianHolidays.__init__(self)
|
|
69
77
|
InternationalHolidays.__init__(self)
|
|
70
|
-
IslamicHolidays.__init__(
|
|
78
|
+
IslamicHolidays.__init__(
|
|
79
|
+
self, cls=IndonesiaIslamicHolidays, show_estimated=islamic_show_estimated
|
|
80
|
+
)
|
|
71
81
|
StaticHolidays.__init__(self, cls=IndonesiaStaticHolidays)
|
|
72
82
|
super().__init__(*args, **kwargs)
|
|
73
83
|
|
|
@@ -148,59 +158,8 @@ class Indonesia(
|
|
|
148
158
|
|
|
149
159
|
# Keputusan Presiden no 3 tahun 1983. (1983-01-19; Added Nationally)
|
|
150
160
|
if self._year >= 1983:
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
1984: (MAR, 4),
|
|
154
|
-
1985: (MAR, 22),
|
|
155
|
-
1986: (MAR, 12),
|
|
156
|
-
1987: (MAR, 31),
|
|
157
|
-
1988: (MAR, 19),
|
|
158
|
-
1989: (MAR, 9),
|
|
159
|
-
1990: (MAR, 27),
|
|
160
|
-
1991: (MAR, 17),
|
|
161
|
-
1992: (MAR, 5),
|
|
162
|
-
1993: (MAR, 24),
|
|
163
|
-
1994: (MAR, 12),
|
|
164
|
-
1995: (APR, 1),
|
|
165
|
-
1996: (MAR, 21),
|
|
166
|
-
1997: (APR, 9),
|
|
167
|
-
1998: (MAR, 29),
|
|
168
|
-
1999: (MAR, 18),
|
|
169
|
-
2000: (APR, 4),
|
|
170
|
-
2001: (MAR, 25),
|
|
171
|
-
2002: (APR, 13),
|
|
172
|
-
2003: (APR, 2),
|
|
173
|
-
2004: (MAR, 22),
|
|
174
|
-
2005: (MAR, 11),
|
|
175
|
-
2006: (MAR, 30),
|
|
176
|
-
2007: (MAR, 19),
|
|
177
|
-
2008: (MAR, 7),
|
|
178
|
-
2009: (MAR, 26),
|
|
179
|
-
2010: (MAR, 16),
|
|
180
|
-
2011: (MAR, 5),
|
|
181
|
-
2012: (MAR, 23),
|
|
182
|
-
2013: (MAR, 12),
|
|
183
|
-
2014: (MAR, 31),
|
|
184
|
-
2015: (MAR, 21),
|
|
185
|
-
2016: (MAR, 9),
|
|
186
|
-
2017: (MAR, 28),
|
|
187
|
-
2018: (MAR, 17),
|
|
188
|
-
2019: (MAR, 7),
|
|
189
|
-
2020: (MAR, 25),
|
|
190
|
-
2021: (MAR, 14),
|
|
191
|
-
2022: (MAR, 3),
|
|
192
|
-
2023: (MAR, 22),
|
|
193
|
-
2024: (MAR, 11),
|
|
194
|
-
2025: (MAR, 29),
|
|
195
|
-
2026: (MAR, 19),
|
|
196
|
-
2027: (MAR, 8),
|
|
197
|
-
2028: (MAR, 26),
|
|
198
|
-
2029: (MAR, 15),
|
|
199
|
-
2030: (MAR, 5),
|
|
200
|
-
}
|
|
201
|
-
if self._year in dates_obs:
|
|
202
|
-
# Day of Silence.
|
|
203
|
-
self._add_holiday(tr("Hari Suci Nyepi"), dates_obs[self._year])
|
|
161
|
+
# Day of Silence.
|
|
162
|
+
self._add_nyepi(tr("Hari Suci Nyepi"))
|
|
204
163
|
|
|
205
164
|
# Vesak Day.
|
|
206
165
|
self._add_vesak(tr("Hari Raya Waisak"))
|
|
@@ -631,53 +590,54 @@ class IndonesiaIslamicHolidays(_CustomIslamicHolidays):
|
|
|
631
590
|
|
|
632
591
|
|
|
633
592
|
class IndonesiaStaticHolidays:
|
|
634
|
-
"""
|
|
593
|
+
"""Indonesia special holidays.
|
|
594
|
+
|
|
635
595
|
References (Election Days):
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
596
|
+
* <https://peraturan.bpk.go.id/Details/58370/keppres-no-53-tahun-1999>
|
|
597
|
+
* <https://peraturan.bpk.go.id/Details/55580/keppres-no-26-tahun-2004>
|
|
598
|
+
* <https://peraturan.bpk.go.id/Details/55662/keppres-no-55-tahun-2004>
|
|
599
|
+
* <https://peraturan.bpk.go.id/Details/55763/keppres-no-75-tahun-2004>
|
|
600
|
+
* <https://peraturan.bpk.go.id/Details/55345/keppres-no-7-tahun-2009>
|
|
601
|
+
* <https://peraturan.bpk.go.id/Details/55369/keppres-no-17-tahun-2009>
|
|
602
|
+
* <https://peraturan.bpk.go.id/Details/57563/keppres-no-14-tahun-2014>
|
|
603
|
+
* <https://peraturan.bpk.go.id/Details/57581/keppres-no-24-tahun-2014>
|
|
604
|
+
* <https://peraturan.bpk.go.id/Details/54477/keppres-no-25-tahun-2015>
|
|
605
|
+
* <https://peraturan.bpk.go.id/Details/57397/keppres-no-3-tahun-2017>
|
|
606
|
+
* <https://peraturan.bpk.go.id/Details/82669/keppres-no-15-tahun-2018>
|
|
607
|
+
* <https://peraturan.bpk.go.id/Details/104497/keppres-no-10-tahun-2019>
|
|
608
|
+
* <https://peraturan.bpk.go.id/Details/152704/keppres-no-22-tahun-2020>
|
|
609
|
+
* <https://peraturan.bpk.go.id/Details/277337/keppres-no-10-tahun-2024>
|
|
610
|
+
* <https://www.buduk.desa.id/berita/read/83/surat-edaran-menteri-ketenagakerjaan-republik-indonesia-nomor-1-tahun-2024.html>
|
|
651
611
|
|
|
652
612
|
References (Joint Holidays):
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
613
|
+
* <https://data.santoslolowang.com/viewing/Agama_Nasional_Indonesia/kepbersama_2002.pdf/>
|
|
614
|
+
* <https://nasional.tempo.co/read/5515/tahun-depan-libur-hari-raya-berubah>
|
|
615
|
+
* <https://nasional.tempo.co/read/45224/2005-pemerintah-tetapkan-13-hari-libur-nasional>
|
|
616
|
+
* <https://news.detik.com/berita/d-562326/30-maret-libur-hari-nyepi-31-maret-ditetapkan-cuti-bersama>
|
|
617
|
+
* <https://news.detik.com/berita/d-836627/dari-12-hari-jatah-cuti-tahun-ini-dipaksa-cuti-bareng-11-hari>
|
|
618
|
+
* <https://news.detik.com/berita/d-787189/inilah-jadwal-libur-dan-cuti-bersama-2008>
|
|
619
|
+
* <https://news.detik.com/berita/d-889403/cuti-bersama-dihapus-sisa-4-hari-untuk-lebaran-natal>
|
|
620
|
+
* <https://news.detik.com/berita/d-1263142/kamis-24-desember-cuti-bersama>
|
|
621
|
+
* <https://news.detik.com/berita/d-1179419/daftar-libur-dan-cuti-bersama-2010>
|
|
622
|
+
* <https://news.detik.com/berita/d-1378563/daftar-hari-libur-nasional-dan-cuti-bersama-2011>
|
|
623
|
+
* <https://news.detik.com/berita/d-1639209/pemerintah-tetapkan-senin-16-mei-2011-cuti-bersama>
|
|
624
|
+
* <https://news.detik.com/berita/d-1831855/cuti-bersama-tahun-2012-bertambah-1-hari-jadi-6-hari>
|
|
625
|
+
* <https://news.detik.com/berita/d-1969257/ini-dia-jadwal-hari-libur-nasional-cuti-bersama-tahun-2013>
|
|
626
|
+
* <https://news.detik.com/berita/d-2335984/daftar-cuti-bersama-dan-hari-libur-nasional-2014-termasuk-may-day>
|
|
627
|
+
* <https://news.detik.com/berita/d-2576131/ini-daftar-hari-libur-dan-cuti-bersama-tahun-2015>
|
|
628
|
+
* <https://bkpsdm.salatiga.go.id/pelaksanaan-hari-libur-nasional-dan-cuti-bersama-tahun-2015.html>
|
|
629
|
+
* <https://news.detik.com/berita/d-2952083/ini-rincian-libur-dan-cuti-bersama-2016>
|
|
630
|
+
* <https://news.detik.com/berita/d-3366218/libur-nasional-dan-cuti-bersama-2017-tambah-3-hari-ini-daftar-lengkapnya>
|
|
631
|
+
* <https://setkab.go.id/tidak-kurangi-hak-cuti-tahunan-presiden-jokowi-tetapkan-23-juni-sebagai-cuti-bersama-idul-fitri/>
|
|
632
|
+
* <https://setkab.go.id/pelayanan-publik-tetap-jalan-presiden-jokowi-tetapkan-cuti-bersama-pns-tahun-2018/>
|
|
633
|
+
* <https://setkab.go.id/keppres-no-132019-cuti-bersama-pns-pada-idul-fitri-1440h-tanggal-3-4-dan-7-juni/>
|
|
634
|
+
* <https://setkab.go.id/pemerintah-keluarkan-skb-3-menteri-hapus-tiga-hari-cuti-bersama-2020/>
|
|
635
|
+
* <https://setkab.go.id/inilah-perubahan-hari-libur-nasional-dan-cuti-bersama-tahun-2021/>
|
|
636
|
+
* <https://setkab.go.id/presiden-jokowi-terbitkan-keppres-4-tahun-2022-tentang-cuti-bersama-asn-tahun-2022/>
|
|
637
|
+
* <https://news.detik.com/berita/d-6468002/apakah-ada-cuti-bersama-natal-2022-cek-infonya-di-sini>
|
|
638
|
+
* <https://setkab.go.id/presiden-tandatangani-keppres-perubahan-cuti-bersama-bagi-asn/>
|
|
639
|
+
* <https://setkab.go.id/inilah-keppres-7-2024-tentang-cuti-bersama-asn-tahun-2024/>
|
|
640
|
+
* <https://setkab.go.id/pemerintah-tetapkan-hari-libur-nasional-dan-cuti-bersama-tahun-2025/>
|
|
681
641
|
"""
|
|
682
642
|
|
|
683
643
|
# General Election Day.
|
holidays/countries/iran.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -33,13 +33,14 @@ from holidays.holiday_base import HolidayBase
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
class Iran(HolidayBase, IslamicHolidays, PersianCalendarHolidays):
|
|
36
|
-
"""
|
|
36
|
+
"""Iran holidays.
|
|
37
|
+
|
|
37
38
|
References:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Iran>
|
|
40
|
+
* <https://fa.wikipedia.org/wiki/تعطیلات_عمومی_در_ایران>
|
|
41
|
+
* <https://www.time.ir>
|
|
42
|
+
* <https://web.archive.org/web/20170222200759/http://www.hvm.ir/LawDetailNews.aspx?id=9017>
|
|
43
|
+
* <https://en.wikipedia.org/wiki/Workweek_and_weekend>
|
|
43
44
|
"""
|
|
44
45
|
|
|
45
46
|
country = "IR"
|
|
@@ -50,8 +51,16 @@ class Iran(HolidayBase, IslamicHolidays, PersianCalendarHolidays):
|
|
|
50
51
|
start_year = 1980
|
|
51
52
|
weekend = {FRI}
|
|
52
53
|
|
|
53
|
-
def __init__(self, *args, **kwargs):
|
|
54
|
-
|
|
54
|
+
def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
|
|
55
|
+
"""
|
|
56
|
+
Args:
|
|
57
|
+
islamic_show_estimated:
|
|
58
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
59
|
+
if holiday date is estimated.
|
|
60
|
+
"""
|
|
61
|
+
IslamicHolidays.__init__(
|
|
62
|
+
self, cls=IranIslamicHolidays, show_estimated=islamic_show_estimated
|
|
63
|
+
)
|
|
55
64
|
PersianCalendarHolidays.__init__(self)
|
|
56
65
|
super().__init__(*args, **kwargs)
|
|
57
66
|
|
holidays/countries/ireland.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -16,10 +16,11 @@ from holidays.holiday_base import HolidayBase
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class Ireland(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
19
|
-
"""
|
|
19
|
+
"""Ireland holidays.
|
|
20
|
+
|
|
20
21
|
References:
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_the_Republic_of_Ireland>
|
|
23
|
+
* <https://www.citizensinformation.ie/en/employment/employment_rights_and_conditions/leave_and_holidays/public_holidays_in_ireland.html>
|
|
23
24
|
"""
|
|
24
25
|
|
|
25
26
|
country = "IE"
|
|
@@ -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,7 +18,7 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SAT_SUN_TO_NEXT_
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class IsleOfMan(UnitedKingdom):
|
|
21
|
-
"""
|
|
21
|
+
"""Isle Of Man holidays."""
|
|
22
22
|
|
|
23
23
|
country = "IM"
|
|
24
24
|
parent_entity = UnitedKingdom
|
holidays/countries/israel.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
|
|
@@ -28,12 +28,11 @@ from holidays.observed_holiday_base import (
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class Israel(ObservedHolidayBase, HebrewCalendarHolidays):
|
|
31
|
-
"""
|
|
32
|
-
Israel holidays.
|
|
31
|
+
"""Israel holidays.
|
|
33
32
|
|
|
34
33
|
References:
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Israel>
|
|
35
|
+
* <https://web.archive.org/web/20190923042619/https://www.knesset.gov.il/laws/special/heb/jerusalem_day_law.htm>
|
|
37
36
|
"""
|
|
38
37
|
|
|
39
38
|
country = "IL"
|
holidays/countries/italy.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# specific sets of holidays on the fly. It aims to make determining whether a
|
|
5
5
|
# specific date is a holiday as fast and flexible as possible.
|
|
6
6
|
#
|
|
7
|
-
# Authors: Vacanza Team and individual contributors (see AUTHORS file)
|
|
7
|
+
# Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
|
|
8
8
|
# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
|
|
9
9
|
# ryanss <ryanssdev@icloud.com> (c) 2014-2017
|
|
10
10
|
# Website: https://github.com/vacanza/holidays
|
|
@@ -16,10 +16,11 @@ from holidays.holiday_base import HolidayBase
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class Italy(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
|
|
19
|
-
"""
|
|
19
|
+
"""Italy holidays.
|
|
20
|
+
|
|
20
21
|
References:
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Italy>
|
|
23
|
+
* [Provinces holidays](https://it.wikipedia.org/wiki/Santi_patroni_cattolici_delle_citt%C3%A0_capoluogo_di_provincia_italiane)
|
|
23
24
|
"""
|
|
24
25
|
|
|
25
26
|
country = "IT"
|
|
@@ -0,0 +1,156 @@
|
|
|
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 gettext import gettext as tr
|
|
14
|
+
|
|
15
|
+
from holidays.calendars.gregorian import FEB, OCT
|
|
16
|
+
from holidays.groups import (
|
|
17
|
+
ChristianHolidays,
|
|
18
|
+
InternationalHolidays,
|
|
19
|
+
IslamicHolidays,
|
|
20
|
+
StaticHolidays,
|
|
21
|
+
)
|
|
22
|
+
from holidays.observed_holiday_base import ObservedHolidayBase, SUN_TO_NEXT_MON
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class IvoryCoast(
|
|
26
|
+
ObservedHolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolidays, StaticHolidays
|
|
27
|
+
):
|
|
28
|
+
"""Ivory Coast holidays.
|
|
29
|
+
|
|
30
|
+
References:
|
|
31
|
+
* [Decree No. 96-205](https://www.droit-afrique.com/uploads/RCI-Decret-1996-205-jours-feries.pdf)
|
|
32
|
+
* Decree No. 2011-371:
|
|
33
|
+
* [page 1](https://web.archive.org/web/20180617165811/http://www.cgeci.org/cgeci/docs/documents/Doc-ferie-1.pdf)
|
|
34
|
+
* [page 2](https://web.archive.org/web/20180826205106/http://www.cgeci.org/cgeci/docs/documents/Doc-ferie-2.pdf)
|
|
35
|
+
* <https://fr.wikipedia.org/wiki/Fêtes_et_jours_fériés_en_Côte_d%27Ivoire>
|
|
36
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Ivory_Coast>
|
|
37
|
+
* <https://www.timeanddate.com/holidays/ivory-coast/>
|
|
38
|
+
* [National Peace Day](https://en.wikipedia.org/wiki/Ivory_Coast#Independence)
|
|
39
|
+
|
|
40
|
+
Note:
|
|
41
|
+
The oldest decree available online that underpins the public holidays defined here
|
|
42
|
+
for the Ivory Coast is Decree no. 96-205 of March 7, 1996.
|
|
43
|
+
|
|
44
|
+
In Islamic calendar, days begin at sunset. The naming convention "day after" refers
|
|
45
|
+
to the daylight hours following the night of the celebration, which is technically
|
|
46
|
+
the same Gregorian calendar day.
|
|
47
|
+
|
|
48
|
+
According to Decree no. 2011-371 of 4 November 2011, if Eid al-Fitr, Eid al-Adha
|
|
49
|
+
or Christmas Day falls on a Sunday, the following Monday is also a holiday.
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
country = "CI"
|
|
53
|
+
default_language = "fr"
|
|
54
|
+
# %s (estimated).
|
|
55
|
+
estimated_label = tr("%s (estimé)")
|
|
56
|
+
# Day after the %s.
|
|
57
|
+
observed_label = tr("Lendemain de la %s")
|
|
58
|
+
# Day after the %s (estimated).
|
|
59
|
+
observed_estimated_label = tr("Lendemain de la %s (estimé)")
|
|
60
|
+
start_year = 1997
|
|
61
|
+
supported_languages = ("en_CI", "en_US", "fr")
|
|
62
|
+
|
|
63
|
+
def __init__(self, islamic_show_estimated: bool = False, *args, **kwargs):
|
|
64
|
+
"""
|
|
65
|
+
Args:
|
|
66
|
+
islamic_show_estimated:
|
|
67
|
+
Whether to add "estimated" label to Islamic holidays name
|
|
68
|
+
if holiday date is estimated.
|
|
69
|
+
"""
|
|
70
|
+
ChristianHolidays.__init__(self)
|
|
71
|
+
# The observed dates for the Ivory Coast's islamic holidays have been verified against
|
|
72
|
+
# local references (COSIM) and align with the default Umm al-Qura calculations.
|
|
73
|
+
IslamicHolidays.__init__(self, show_estimated=islamic_show_estimated)
|
|
74
|
+
InternationalHolidays.__init__(self)
|
|
75
|
+
StaticHolidays.__init__(self, IvoryCoastStaticHolidays)
|
|
76
|
+
kwargs.setdefault("observed_rule", SUN_TO_NEXT_MON)
|
|
77
|
+
super().__init__(*args, **kwargs)
|
|
78
|
+
|
|
79
|
+
def _populate_public_holidays(self):
|
|
80
|
+
# New Year's Day.
|
|
81
|
+
self._add_new_years_day(tr("1er janvier"))
|
|
82
|
+
|
|
83
|
+
# Easter Monday.
|
|
84
|
+
self._add_easter_monday(tr("Lundi de Pâques"))
|
|
85
|
+
|
|
86
|
+
# Labor Day.
|
|
87
|
+
self._add_observed(self._add_labor_day(tr("Fête du travail")))
|
|
88
|
+
|
|
89
|
+
# Ascension Day.
|
|
90
|
+
self._add_ascension_thursday(tr("Jour de l’Ascension"))
|
|
91
|
+
|
|
92
|
+
# Whit Monday.
|
|
93
|
+
self._add_whit_monday(tr("Lundi de Pentecôte"))
|
|
94
|
+
|
|
95
|
+
# Independence Day.
|
|
96
|
+
self._add_observed(self._add_holiday_aug_7(tr("Fête Nationale")))
|
|
97
|
+
|
|
98
|
+
# Assumption Day.
|
|
99
|
+
self._add_assumption_of_mary_day(tr("Fête de l’Assomption"))
|
|
100
|
+
|
|
101
|
+
# National Peace Day.
|
|
102
|
+
self._add_holiday_nov_15(tr("Journée Nationale de la Paix"))
|
|
103
|
+
|
|
104
|
+
# All Saints' Day.
|
|
105
|
+
self._add_all_saints_day(tr("Fête de la Toussaint"))
|
|
106
|
+
|
|
107
|
+
if self._year <= 2000:
|
|
108
|
+
self._add_holiday_dec_7(
|
|
109
|
+
# Anniversary of death of President Felix Houphouet-Boigny.
|
|
110
|
+
tr("Anniversaire du décès du Président Felix Houphouet-Boigny")
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
# Christmas Day.
|
|
114
|
+
dt = self._add_christmas_day(tr("Fête de Noël"))
|
|
115
|
+
if self._year >= 2011:
|
|
116
|
+
self._add_observed(dt)
|
|
117
|
+
|
|
118
|
+
# Day after Prophet's Birthday.
|
|
119
|
+
self._add_mawlid_day(tr("Lendemain de l’Anniversaire de la Naissance du Prophète Mahomet"))
|
|
120
|
+
|
|
121
|
+
# Day after Night of Power.
|
|
122
|
+
self._add_laylat_al_qadr_day(tr("Lendemain de la Nuit du Destin"))
|
|
123
|
+
|
|
124
|
+
# Eid al-Fitr.
|
|
125
|
+
for dt in self._add_eid_al_fitr_day(tr("Fête de fin du Ramadan")):
|
|
126
|
+
if self._year >= 2012:
|
|
127
|
+
self._add_observed(dt)
|
|
128
|
+
|
|
129
|
+
# Eid al-Adha.
|
|
130
|
+
for dt in self._add_eid_al_adha_day(tr("Fête de la Tabaski")):
|
|
131
|
+
if self._year >= 2012:
|
|
132
|
+
self._add_observed(dt)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
class CI(IvoryCoast):
|
|
136
|
+
pass
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
class CIV(IvoryCoast):
|
|
140
|
+
pass
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
class IvoryCoastStaticHolidays:
|
|
144
|
+
"""Ivory Coast special holidays.
|
|
145
|
+
|
|
146
|
+
References:
|
|
147
|
+
* [2010 Presidential Election](https://www.gouv.ci/_actualite-article.php?d=4.&recordID=1255&p=366)
|
|
148
|
+
* [2024 AFCON](https://apanews.net/public-holiday-as-cote-divoire-wins-afcon-trophy/)
|
|
149
|
+
"""
|
|
150
|
+
|
|
151
|
+
special_public_holidays = {
|
|
152
|
+
# Public holiday for Presidential election preparation.
|
|
153
|
+
2010: (OCT, 29, tr("Jour férié pour la préparation de l'élection présidentielle")),
|
|
154
|
+
# 2024 African Cup of Nations Victory.
|
|
155
|
+
2024: (FEB, 12, tr("Victoire à la Coupe d’Afrique des Nations 2024")),
|
|
156
|
+
}
|
holidays/countries/jamaica.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,9 +20,11 @@ from holidays.observed_holiday_base import (
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class Jamaica(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
23
|
-
"""
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
"""Jamaica holidays.
|
|
24
|
+
|
|
25
|
+
References:
|
|
26
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Jamaica>
|
|
27
|
+
* <https://www.mlss.gov.jm/wp-content/uploads/2017/11/The-Holidays-Public-General-Act.pdf>
|
|
26
28
|
"""
|
|
27
29
|
|
|
28
30
|
country = "JM"
|
holidays/countries/japan.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
|
|
@@ -32,11 +32,11 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SUN_TO_NEXT_WORK
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
class Japan(ObservedHolidayBase, InternationalHolidays, StaticHolidays):
|
|
35
|
-
"""
|
|
36
|
-
References:
|
|
35
|
+
"""Japan holidays.
|
|
37
36
|
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
References:
|
|
38
|
+
* <https://en.wikipedia.org/wiki/Public_holidays_in_Japan>
|
|
39
|
+
* <https://www.boj.or.jp/en/about/outline/holi.htm>
|
|
40
40
|
"""
|
|
41
41
|
|
|
42
42
|
country = "JP"
|