holidays 0.78__py3-none-any.whl → 0.80__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 -0
- holidays/calendars/chinese.py +14 -4
- holidays/calendars/ethiopian.py +31 -0
- holidays/calendars/hindu.py +1 -0
- holidays/calendars/islamic.py +16 -4
- holidays/calendars/julian.py +14 -0
- holidays/calendars/mandaean.py +59 -0
- holidays/calendars/tibetan.py +1466 -0
- holidays/constants.py +2 -1
- holidays/countries/__init__.py +20 -0
- holidays/countries/afghanistan.py +6 -39
- holidays/countries/albania.py +3 -22
- holidays/countries/argentina.py +7 -18
- holidays/countries/australia.py +191 -295
- holidays/countries/azerbaijan.py +6 -39
- holidays/countries/bahrain.py +29 -38
- holidays/countries/bhutan.py +194 -0
- holidays/countries/bosnia_and_herzegovina.py +7 -28
- holidays/countries/brunei.py +7 -117
- holidays/countries/burkina_faso.py +9 -15
- holidays/countries/burundi.py +95 -40
- holidays/countries/cameroon.py +8 -34
- holidays/countries/canada.py +9 -1
- holidays/countries/central_african_republic.py +3 -16
- holidays/countries/chad.py +9 -17
- holidays/countries/chile.py +20 -4
- holidays/countries/christmas_island.py +10 -15
- holidays/countries/cocos_islands.py +5 -24
- holidays/countries/comoros.py +121 -0
- holidays/countries/egypt.py +5 -37
- holidays/countries/eritrea.py +104 -0
- holidays/countries/ethiopia.py +18 -47
- holidays/countries/fiji.py +1 -2
- holidays/countries/gabon.py +5 -23
- holidays/countries/gambia.py +168 -0
- holidays/countries/georgia.py +9 -7
- holidays/countries/guinea.py +5 -27
- holidays/countries/guinea_bissau.py +96 -0
- holidays/countries/guyana.py +2 -17
- holidays/countries/india.py +12 -25
- holidays/countries/indonesia.py +6 -158
- holidays/countries/iran.py +16 -126
- holidays/countries/iraq.py +276 -0
- holidays/countries/kazakhstan.py +2 -18
- holidays/countries/kenya.py +2 -8
- holidays/countries/kiribati.py +124 -0
- holidays/countries/kyrgyzstan.py +2 -0
- holidays/countries/lebanon.py +5 -87
- holidays/countries/liberia.py +80 -0
- holidays/countries/libya.py +5 -37
- holidays/countries/macau.py +65 -63
- holidays/countries/malaysia.py +9 -130
- holidays/countries/maldives.py +2 -0
- holidays/countries/mali.py +4 -9
- holidays/countries/mauritania.py +2 -0
- holidays/countries/mauritius.py +1 -2
- holidays/countries/montenegro.py +3 -18
- holidays/countries/nepal.py +42 -44
- holidays/countries/niger.py +14 -74
- holidays/countries/nigeria.py +198 -27
- holidays/countries/north_macedonia.py +3 -39
- holidays/countries/oman.py +6 -28
- holidays/countries/pakistan.py +5 -30
- holidays/countries/palestine.py +2 -5
- holidays/countries/philippines.py +3 -33
- holidays/countries/qatar.py +3 -45
- holidays/countries/rwanda.py +162 -0
- holidays/countries/saudi_arabia.py +3 -0
- holidays/countries/senegal.py +6 -16
- holidays/countries/sierra_leone.py +5 -21
- holidays/countries/singapore.py +7 -59
- holidays/countries/somalia.py +79 -0
- holidays/countries/south_georgia_and_the_south_sandwich_islands.py +160 -0
- holidays/countries/south_sudan.py +133 -0
- holidays/countries/spain.py +7 -10
- holidays/countries/sri_lanka.py +3 -14
- holidays/countries/suriname.py +11 -19
- holidays/countries/syrian_arab_republic.py +134 -0
- holidays/countries/tajikistan.py +116 -0
- holidays/countries/tanzania.py +291 -153
- holidays/countries/timor_leste.py +2 -17
- holidays/countries/togo.py +4 -29
- holidays/countries/trinidad_and_tobago.py +2 -9
- holidays/countries/turkey.py +2 -116
- holidays/countries/turkmenistan.py +164 -0
- holidays/countries/uganda.py +101 -0
- holidays/countries/united_arab_emirates.py +5 -29
- holidays/countries/uzbekistan.py +3 -31
- holidays/countries/yemen.py +8 -52
- holidays/financial/__init__.py +5 -0
- holidays/financial/national_stock_exchange_of_india.py +169 -0
- holidays/groups/__init__.py +2 -0
- holidays/groups/christian.py +48 -12
- holidays/groups/eastern.py +1 -1
- holidays/groups/international.py +17 -1
- holidays/groups/islamic.py +1 -1
- holidays/groups/mandaean.py +107 -0
- holidays/groups/tibetan.py +153 -0
- holidays/holiday_base.py +14 -0
- holidays/locale/ar/LC_MESSAGES/BH.mo +0 -0
- holidays/locale/ar/LC_MESSAGES/IQ.mo +0 -0
- holidays/locale/ar/LC_MESSAGES/SY.mo +0 -0
- holidays/locale/bs/LC_MESSAGES/BA.mo +0 -0
- holidays/locale/en_GM/LC_MESSAGES/GM.mo +0 -0
- holidays/locale/en_GS/LC_MESSAGES/GS.mo +0 -0
- holidays/locale/en_IN/LC_MESSAGES/XNSE.mo +0 -0
- holidays/locale/en_MO/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/en_NG/LC_MESSAGES/NG.mo +0 -0
- holidays/locale/en_SG/LC_MESSAGES/SG.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/BA.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/BH.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/BI.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CL.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/ES.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GE.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GM.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GS.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GW.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/IQ.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/NG.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/RW.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/SG.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/SY.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TJ.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TM.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TZ.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/XNSE.mo +0 -0
- holidays/locale/es/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/es/LC_MESSAGES/ES.mo +0 -0
- holidays/locale/fr/LC_MESSAGES/RW.mo +0 -0
- holidays/locale/fr_BI/LC_MESSAGES/BI.mo +0 -0
- holidays/locale/hi/LC_MESSAGES/XNSE.mo +0 -0
- holidays/locale/ka/LC_MESSAGES/GE.mo +0 -0
- holidays/locale/pt_GW/LC_MESSAGES/GW.mo +0 -0
- holidays/locale/pt_MO/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/ru/LC_MESSAGES/TJ.mo +0 -0
- holidays/locale/ru/LC_MESSAGES/TM.mo +0 -0
- holidays/locale/rw/LC_MESSAGES/RW.mo +0 -0
- holidays/locale/sr/LC_MESSAGES/BA.mo +0 -0
- holidays/locale/sw/LC_MESSAGES/TZ.mo +0 -0
- holidays/locale/tg/LC_MESSAGES/TJ.mo +0 -0
- holidays/locale/th/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/th/LC_MESSAGES/SG.mo +0 -0
- holidays/locale/tk/LC_MESSAGES/TM.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/AR.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/BA.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/CL.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/ES.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/GE.mo +0 -0
- holidays/locale/zh_CN/LC_MESSAGES/MO.mo +0 -0
- holidays/locale/zh_MO/LC_MESSAGES/MO.mo +0 -0
- holidays/registry.py +46 -14
- holidays/version.py +1 -1
- {holidays-0.78.dist-info → holidays-0.80.dist-info}/METADATA +127 -9
- {holidays-0.78.dist-info → holidays-0.80.dist-info}/RECORD +161 -113
- {holidays-0.78.dist-info → holidays-0.80.dist-info}/licenses/CONTRIBUTORS +2 -0
- {holidays-0.78.dist-info → holidays-0.80.dist-info}/WHEEL +0 -0
- {holidays-0.78.dist-info → holidays-0.80.dist-info}/licenses/LICENSE +0 -0
- {holidays-0.78.dist-info → holidays-0.80.dist-info}/top_level.txt +0 -0
holidays/constants.py
CHANGED
|
@@ -42,7 +42,6 @@ ARMED_FORCES = "armed_forces"
|
|
|
42
42
|
BANK = "bank"
|
|
43
43
|
GOVERNMENT = "government"
|
|
44
44
|
HALF_DAY = "half_day"
|
|
45
|
-
MANDATORY = "mandatory"
|
|
46
45
|
OPTIONAL = "optional"
|
|
47
46
|
PUBLIC = "public"
|
|
48
47
|
SCHOOL = "school"
|
|
@@ -56,6 +55,8 @@ HEBREW = "hebrew"
|
|
|
56
55
|
HINDU = "hindu"
|
|
57
56
|
ISLAMIC = "islamic"
|
|
58
57
|
ORTHODOX = "orthodox"
|
|
58
|
+
SABIAN = "sabian"
|
|
59
|
+
YAZIDI = "yazidi"
|
|
59
60
|
|
|
60
61
|
ALBANIAN = "albanian"
|
|
61
62
|
ARMENIAN = "armenian"
|
holidays/countries/__init__.py
CHANGED
|
@@ -36,6 +36,7 @@ from holidays.countries.belgium import Belgium, BE, BEL
|
|
|
36
36
|
from holidays.countries.belize import Belize, BZ, BLZ
|
|
37
37
|
from holidays.countries.benin import Benin, BJ, BEN
|
|
38
38
|
from holidays.countries.bermuda import Bermuda, BM, BMU
|
|
39
|
+
from holidays.countries.bhutan import Bhutan, BT, BTN
|
|
39
40
|
from holidays.countries.bolivia import Bolivia, BO, BOL
|
|
40
41
|
from holidays.countries.bonaire_sint_eustatius_and_saba import BonaireSintEustatiusAndSaba, BQ, BES
|
|
41
42
|
from holidays.countries.bosnia_and_herzegovina import BosniaAndHerzegovina, BA, BIH
|
|
@@ -58,6 +59,7 @@ from holidays.countries.china import China, CN, CHN
|
|
|
58
59
|
from holidays.countries.christmas_island import ChristmasIsland, CX, CXR
|
|
59
60
|
from holidays.countries.cocos_islands import CocosIslands, CC, CCK
|
|
60
61
|
from holidays.countries.colombia import Colombia, CO, COL
|
|
62
|
+
from holidays.countries.comoros import Comoros, KM, COM
|
|
61
63
|
from holidays.countries.congo import Congo, CG, COG
|
|
62
64
|
from holidays.countries.cook_islands import CookIslands, CK, COK
|
|
63
65
|
from holidays.countries.costa_rica import CostaRica, CR, CRI
|
|
@@ -75,6 +77,7 @@ from holidays.countries.ecuador import Ecuador, EC, ECU
|
|
|
75
77
|
from holidays.countries.egypt import Egypt, EG, EGY
|
|
76
78
|
from holidays.countries.el_salvador import ElSalvador, SV, SLV
|
|
77
79
|
from holidays.countries.equatorial_guinea import EquatorialGuinea, GQ, GNQ
|
|
80
|
+
from holidays.countries.eritrea import Eritrea, ER, ERI
|
|
78
81
|
from holidays.countries.estonia import Estonia, EE, EST
|
|
79
82
|
from holidays.countries.eswatini import Eswatini, SZ, SZW, Swaziland
|
|
80
83
|
from holidays.countries.ethiopia import Ethiopia, ET, ETH
|
|
@@ -92,6 +95,7 @@ from holidays.countries.french_southern_territories import (
|
|
|
92
95
|
HolidaysTF,
|
|
93
96
|
)
|
|
94
97
|
from holidays.countries.gabon import Gabon, GA, GAB
|
|
98
|
+
from holidays.countries.gambia import Gambia, GM, GMB
|
|
95
99
|
from holidays.countries.georgia import Georgia, GE, GEO
|
|
96
100
|
from holidays.countries.germany import Germany, DE, DEU
|
|
97
101
|
from holidays.countries.ghana import Ghana, GH, GHA
|
|
@@ -104,6 +108,7 @@ from holidays.countries.guam import Guam, GU, GUM, HolidaysGU
|
|
|
104
108
|
from holidays.countries.guatemala import Guatemala, GT, GUA
|
|
105
109
|
from holidays.countries.guernsey import Guernsey, GG, GGY
|
|
106
110
|
from holidays.countries.guinea import Guinea, GN, GIN
|
|
111
|
+
from holidays.countries.guinea_bissau import GuineaBissau, GW, GNB
|
|
107
112
|
from holidays.countries.guyana import Guyana, GY, GUY
|
|
108
113
|
from holidays.countries.haiti import Haiti, HT, HTI
|
|
109
114
|
from holidays.countries.honduras import Honduras, HN, HND
|
|
@@ -113,6 +118,7 @@ from holidays.countries.iceland import Iceland, IS, ISL
|
|
|
113
118
|
from holidays.countries.india import India, IN, IND
|
|
114
119
|
from holidays.countries.indonesia import Indonesia, ID, IDN
|
|
115
120
|
from holidays.countries.iran import Iran, IR, IRN
|
|
121
|
+
from holidays.countries.iraq import Iraq, IQ, IRQ
|
|
116
122
|
from holidays.countries.ireland import Ireland, IE, IRL
|
|
117
123
|
from holidays.countries.isle_of_man import IsleOfMan, IM, IMN
|
|
118
124
|
from holidays.countries.israel import Israel, IL, ISR
|
|
@@ -124,12 +130,14 @@ from holidays.countries.jersey import Jersey, JE, JEY
|
|
|
124
130
|
from holidays.countries.jordan import Jordan, JO, JOR
|
|
125
131
|
from holidays.countries.kazakhstan import Kazakhstan, KZ, KAZ
|
|
126
132
|
from holidays.countries.kenya import Kenya, KE, KEN
|
|
133
|
+
from holidays.countries.kiribati import Kiribati, KI, KIR
|
|
127
134
|
from holidays.countries.kuwait import Kuwait, KW, KWT
|
|
128
135
|
from holidays.countries.kyrgyzstan import Kyrgyzstan, KG, KGZ
|
|
129
136
|
from holidays.countries.laos import Laos, LA, LAO
|
|
130
137
|
from holidays.countries.latvia import Latvia, LV, LVA
|
|
131
138
|
from holidays.countries.lebanon import Lebanon, LB, LBN
|
|
132
139
|
from holidays.countries.lesotho import Lesotho, LS, LSO
|
|
140
|
+
from holidays.countries.liberia import Liberia, LR, LBR
|
|
133
141
|
from holidays.countries.libya import Libya, LY, LBY
|
|
134
142
|
from holidays.countries.liechtenstein import Liechtenstein, LI, LIE
|
|
135
143
|
from holidays.countries.lithuania import Lithuania, LT, LTU
|
|
@@ -186,6 +194,7 @@ from holidays.countries.qatar import Qatar, QA, QAT
|
|
|
186
194
|
from holidays.countries.reunion import Reunion, RE, REU, HolidaysRE
|
|
187
195
|
from holidays.countries.romania import Romania, RO, ROU
|
|
188
196
|
from holidays.countries.russia import Russia, RU, RUS
|
|
197
|
+
from holidays.countries.rwanda import Rwanda, RW, RWA
|
|
189
198
|
from holidays.countries.saint_barthelemy import SaintBarthelemy, BL, BLM, HolidaysBL
|
|
190
199
|
from holidays.countries.saint_kitts_and_nevis import SaintKittsAndNevis, KN, KNA
|
|
191
200
|
from holidays.countries.saint_lucia import SaintLucia, LC, LCA
|
|
@@ -214,15 +223,24 @@ from holidays.countries.sint_maarten import SintMaarten, SX, SXM
|
|
|
214
223
|
from holidays.countries.slovakia import Slovakia, SK, SVK
|
|
215
224
|
from holidays.countries.slovenia import Slovenia, SI, SVN
|
|
216
225
|
from holidays.countries.solomon_islands import SolomonIslands, SB, SLB
|
|
226
|
+
from holidays.countries.somalia import Somalia, SO, SOM
|
|
217
227
|
from holidays.countries.south_africa import SouthAfrica, ZA, ZAF
|
|
228
|
+
from holidays.countries.south_georgia_and_the_south_sandwich_islands import (
|
|
229
|
+
SouthGeorgiaAndTheSouthSandwichIslands,
|
|
230
|
+
GS,
|
|
231
|
+
SGS,
|
|
232
|
+
)
|
|
218
233
|
from holidays.countries.south_korea import SouthKorea, KR, KOR, Korea
|
|
234
|
+
from holidays.countries.south_sudan import SouthSudan, SS, SSD
|
|
219
235
|
from holidays.countries.spain import Spain, ES, ESP
|
|
220
236
|
from holidays.countries.sri_lanka import SriLanka, LK, LKA
|
|
221
237
|
from holidays.countries.suriname import Suriname, SR, SUR
|
|
222
238
|
from holidays.countries.svalbard_and_jan_mayen import SvalbardAndJanMayen, SJ, SJM, HolidaysSJ
|
|
223
239
|
from holidays.countries.sweden import Sweden, SE, SWE
|
|
224
240
|
from holidays.countries.switzerland import Switzerland, CH, CHE
|
|
241
|
+
from holidays.countries.syrian_arab_republic import SyrianArabRepublic, SY, SYR
|
|
225
242
|
from holidays.countries.taiwan import Taiwan, TW, TWN
|
|
243
|
+
from holidays.countries.tajikistan import Tajikistan, TJ, TJK
|
|
226
244
|
from holidays.countries.tanzania import Tanzania, TZ, TZA
|
|
227
245
|
from holidays.countries.thailand import Thailand, TH, THA
|
|
228
246
|
from holidays.countries.timor_leste import TimorLeste, TL, TLS
|
|
@@ -232,8 +250,10 @@ from holidays.countries.tonga import Tonga, TO, TON
|
|
|
232
250
|
from holidays.countries.trinidad_and_tobago import TrinidadAndTobago, TT, TTO
|
|
233
251
|
from holidays.countries.tunisia import Tunisia, TN, TUN
|
|
234
252
|
from holidays.countries.turkey import Turkey, TR, TUR
|
|
253
|
+
from holidays.countries.turkmenistan import Turkmenistan, TM, TKM
|
|
235
254
|
from holidays.countries.turks_and_caicos_islands import TurksAndCaicosIslands, TC, TCA
|
|
236
255
|
from holidays.countries.tuvalu import Tuvalu, TV, TUV
|
|
256
|
+
from holidays.countries.uganda import Uganda, UG, UGA
|
|
237
257
|
from holidays.countries.ukraine import Ukraine, UA, UKR
|
|
238
258
|
from holidays.countries.united_arab_emirates import UnitedArabEmirates, AE, ARE
|
|
239
259
|
from holidays.countries.united_kingdom import UnitedKingdom, GB, GBR, UK
|
|
@@ -13,21 +13,7 @@
|
|
|
13
13
|
from gettext import gettext as tr
|
|
14
14
|
|
|
15
15
|
from holidays.calendars import _CustomIslamicHolidays
|
|
16
|
-
from holidays.calendars.gregorian import
|
|
17
|
-
JAN,
|
|
18
|
-
MAR,
|
|
19
|
-
APR,
|
|
20
|
-
MAY,
|
|
21
|
-
JUN,
|
|
22
|
-
JUL,
|
|
23
|
-
AUG,
|
|
24
|
-
SEP,
|
|
25
|
-
OCT,
|
|
26
|
-
NOV,
|
|
27
|
-
DEC,
|
|
28
|
-
FRI,
|
|
29
|
-
SAT,
|
|
30
|
-
)
|
|
16
|
+
from holidays.calendars.gregorian import JAN, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC, FRI, SAT
|
|
31
17
|
from holidays.groups import InternationalHolidays, IslamicHolidays, PersianCalendarHolidays
|
|
32
18
|
from holidays.holiday_base import HolidayBase
|
|
33
19
|
|
|
@@ -134,8 +120,8 @@ class AFG(Afghanistan):
|
|
|
134
120
|
|
|
135
121
|
|
|
136
122
|
class AfghanistanIslamicHolidays(_CustomIslamicHolidays):
|
|
123
|
+
ASHURA_DATES_CONFIRMED_YEARS = (2014, 2021)
|
|
137
124
|
ASHURA_DATES = {
|
|
138
|
-
2014: (NOV, 3),
|
|
139
125
|
2015: (OCT, 24),
|
|
140
126
|
2016: (OCT, 12),
|
|
141
127
|
2017: (OCT, 1),
|
|
@@ -145,34 +131,26 @@ class AfghanistanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
145
131
|
2021: (AUG, 19),
|
|
146
132
|
}
|
|
147
133
|
|
|
134
|
+
EID_AL_ADHA_DATES_CONFIRMED_YEARS = (2014, 2024)
|
|
148
135
|
EID_AL_ADHA_DATES = {
|
|
149
136
|
2014: (OCT, 5),
|
|
150
|
-
2015: (SEP, 23),
|
|
151
137
|
2016: (SEP, 13),
|
|
152
138
|
2017: (SEP, 2),
|
|
153
139
|
2018: (AUG, 22),
|
|
154
|
-
2019: (AUG, 11),
|
|
155
|
-
2020: (JUL, 31),
|
|
156
|
-
2021: (JUL, 20),
|
|
157
|
-
2022: (JUL, 9),
|
|
158
|
-
2023: (JUN, 28),
|
|
159
140
|
2024: (JUN, 17),
|
|
160
141
|
}
|
|
161
142
|
|
|
143
|
+
EID_AL_FITR_DATES_CONFIRMED_YEARS = (2014, 2024)
|
|
162
144
|
EID_AL_FITR_DATES = {
|
|
163
145
|
2014: (JUL, 29),
|
|
164
146
|
2015: (JUL, 18),
|
|
165
147
|
2016: (JUL, 7),
|
|
166
148
|
2017: (JUN, 26),
|
|
167
|
-
2018: (JUN, 15),
|
|
168
|
-
2019: (JUN, 4),
|
|
169
|
-
2020: (MAY, 24),
|
|
170
|
-
2021: (MAY, 13),
|
|
171
149
|
2022: (MAY, 1),
|
|
172
150
|
2023: (APR, 22),
|
|
173
|
-
2024: (APR, 10),
|
|
174
151
|
}
|
|
175
152
|
|
|
153
|
+
MAWLID_DATES_CONFIRMED_YEARS = (2014, 2024)
|
|
176
154
|
MAWLID_DATES = {
|
|
177
155
|
2014: (JAN, 14),
|
|
178
156
|
2015: ((JAN, 3), (DEC, 24)),
|
|
@@ -180,23 +158,12 @@ class AfghanistanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
180
158
|
2017: (DEC, 1),
|
|
181
159
|
2018: (NOV, 21),
|
|
182
160
|
2019: (NOV, 10),
|
|
183
|
-
2020: (OCT, 29),
|
|
184
161
|
2021: (OCT, 19),
|
|
185
|
-
2022: (OCT, 8),
|
|
186
|
-
2023: (SEP, 27),
|
|
187
162
|
2024: (SEP, 16),
|
|
188
163
|
}
|
|
189
164
|
|
|
165
|
+
RAMADAN_BEGINNING_DATES_CONFIRMED_YEARS = (2014, 2024)
|
|
190
166
|
RAMADAN_BEGINNING_DATES = {
|
|
191
167
|
2014: (JUN, 29),
|
|
192
|
-
2015: (JUN, 18),
|
|
193
168
|
2016: (JUN, 7),
|
|
194
|
-
2017: (MAY, 27),
|
|
195
|
-
2018: (MAY, 16),
|
|
196
|
-
2019: (MAY, 6),
|
|
197
|
-
2020: (APR, 24),
|
|
198
|
-
2021: (APR, 13),
|
|
199
|
-
2022: (APR, 2),
|
|
200
|
-
2023: (MAR, 23),
|
|
201
|
-
2024: (MAR, 11),
|
|
202
169
|
}
|
holidays/countries/albania.py
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
from gettext import gettext as tr
|
|
14
14
|
|
|
15
15
|
from holidays.calendars import _CustomIslamicHolidays
|
|
16
|
-
from holidays.calendars.gregorian import JAN, MAR
|
|
16
|
+
from holidays.calendars.gregorian import JAN, MAR
|
|
17
17
|
from holidays.calendars.julian import JULIAN_CALENDAR
|
|
18
18
|
from holidays.groups import (
|
|
19
19
|
ChristianHolidays,
|
|
@@ -133,27 +133,8 @@ class ALB(Albania):
|
|
|
133
133
|
|
|
134
134
|
|
|
135
135
|
class AlbaniaIslamicHolidays(_CustomIslamicHolidays):
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
2019: (AUG, 11),
|
|
139
|
-
2020: (JUL, 31),
|
|
140
|
-
2021: (JUL, 20),
|
|
141
|
-
2022: (JUL, 9),
|
|
142
|
-
2023: (JUN, 28),
|
|
143
|
-
2024: (JUN, 16),
|
|
144
|
-
2025: (JUN, 6),
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
EID_AL_FITR_DATES = {
|
|
148
|
-
2018: (JUN, 15),
|
|
149
|
-
2019: (JUN, 4),
|
|
150
|
-
2020: (MAY, 24),
|
|
151
|
-
2021: (MAY, 13),
|
|
152
|
-
2022: (MAY, 2),
|
|
153
|
-
2023: (APR, 21),
|
|
154
|
-
2024: (APR, 10),
|
|
155
|
-
2025: (MAR, 30),
|
|
156
|
-
}
|
|
136
|
+
EID_AL_ADHA_DATES_CONFIRMED_YEARS = (2018, 2025)
|
|
137
|
+
EID_AL_FITR_DATES_CONFIRMED_YEARS = (2018, 2025)
|
|
157
138
|
|
|
158
139
|
|
|
159
140
|
class AlbaniaStaticHolidays:
|
holidays/countries/argentina.py
CHANGED
|
@@ -147,6 +147,10 @@ class Argentina(
|
|
|
147
147
|
|
|
148
148
|
country = "AR"
|
|
149
149
|
default_language = "es"
|
|
150
|
+
# %s (estimated).
|
|
151
|
+
estimated_label = tr("%s (estimado)")
|
|
152
|
+
# %s (observed, estimated).
|
|
153
|
+
observed_estimated_label = tr("%s (observado, estimado)")
|
|
150
154
|
# %s (observed).
|
|
151
155
|
observed_label = tr("%s (observado)")
|
|
152
156
|
# Decree-Law 2446.
|
|
@@ -778,34 +782,19 @@ class ARG(Argentina):
|
|
|
778
782
|
|
|
779
783
|
|
|
780
784
|
class ArgentinaIslamicHolidays(_CustomIslamicHolidays):
|
|
785
|
+
EID_AL_ADHA_DATES_CONFIRMED_YEARS = (2019, 2025)
|
|
781
786
|
EID_AL_ADHA_DATES = {
|
|
782
|
-
2019: (AUG, 11),
|
|
783
|
-
2020: (JUL, 31),
|
|
784
|
-
2021: (JUL, 20),
|
|
785
|
-
2022: (JUL, 9),
|
|
786
|
-
2023: (JUN, 28),
|
|
787
|
-
2024: (JUN, 16),
|
|
788
787
|
2025: (JUN, 10),
|
|
789
788
|
}
|
|
790
789
|
|
|
790
|
+
EID_AL_FITR_DATES_CONFIRMED_YEARS = (2019, 2025)
|
|
791
791
|
EID_AL_FITR_DATES = {
|
|
792
|
-
2019: (JUN, 4),
|
|
793
|
-
2020: (MAY, 24),
|
|
794
|
-
2021: (MAY, 13),
|
|
795
|
-
2022: (MAY, 2),
|
|
796
|
-
2023: (APR, 21),
|
|
797
|
-
2024: (APR, 10),
|
|
798
792
|
2025: (MAR, 31),
|
|
799
793
|
}
|
|
800
794
|
|
|
795
|
+
HIJRI_NEW_YEAR_DATES_CONFIRMED_YEARS = (2019, 2025)
|
|
801
796
|
HIJRI_NEW_YEAR_DATES = {
|
|
802
|
-
2019: (AUG, 31),
|
|
803
|
-
2020: (AUG, 20),
|
|
804
797
|
2021: (AUG, 8),
|
|
805
|
-
2022: (JUL, 30),
|
|
806
|
-
2023: (JUL, 19),
|
|
807
|
-
2024: (JUL, 7),
|
|
808
|
-
2025: (JUN, 26),
|
|
809
798
|
}
|
|
810
799
|
|
|
811
800
|
|