holidays 0.87__py3-none-any.whl → 0.89__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.
Files changed (71) hide show
  1. holidays/constants.py +1 -0
  2. holidays/countries/american_samoa.py +2 -0
  3. holidays/countries/argentina.py +49 -37
  4. holidays/countries/australia.py +13 -1
  5. holidays/countries/azerbaijan.py +5 -4
  6. holidays/countries/belarus.py +4 -2
  7. holidays/countries/brazil.py +27 -1
  8. holidays/countries/chile.py +2 -3
  9. holidays/countries/estonia.py +5 -5
  10. holidays/countries/guam.py +2 -0
  11. holidays/countries/italy.py +7 -7
  12. holidays/countries/jordan.py +6 -4
  13. holidays/countries/kyrgyzstan.py +3 -2
  14. holidays/countries/macau.py +39 -45
  15. holidays/countries/malaysia.py +171 -71
  16. holidays/countries/new_zealand.py +4 -3
  17. holidays/countries/northern_mariana_islands.py +2 -0
  18. holidays/countries/puerto_rico.py +4 -2
  19. holidays/countries/qatar.py +4 -5
  20. holidays/countries/sweden.py +35 -11
  21. holidays/countries/taiwan.py +6 -5
  22. holidays/countries/timor_leste.py +14 -20
  23. holidays/countries/turks_and_caicos_islands.py +13 -3
  24. holidays/countries/united_states.py +400 -108
  25. holidays/countries/united_states_minor_outlying_islands.py +2 -0
  26. holidays/countries/united_states_virgin_islands.py +2 -0
  27. holidays/countries/uzbekistan.py +12 -1
  28. holidays/countries/venezuela.py +113 -23
  29. holidays/financial/__init__.py +1 -0
  30. holidays/financial/bombay_stock_exchange.py +33 -0
  31. holidays/financial/national_stock_exchange_of_india.py +1 -1
  32. holidays/holiday_base.py +2 -1
  33. holidays/locale/en_AU/LC_MESSAGES/AU.mo +0 -0
  34. holidays/locale/en_IN/LC_MESSAGES/XBOM.mo +0 -0
  35. holidays/locale/en_TC/LC_MESSAGES/TC.mo +0 -0
  36. holidays/locale/en_TL/LC_MESSAGES/TL.mo +0 -0
  37. holidays/locale/en_US/LC_MESSAGES/AU.mo +0 -0
  38. holidays/locale/en_US/LC_MESSAGES/BR.mo +0 -0
  39. holidays/locale/en_US/LC_MESSAGES/MY.mo +0 -0
  40. holidays/locale/en_US/LC_MESSAGES/SE.mo +0 -0
  41. holidays/locale/en_US/LC_MESSAGES/TC.mo +0 -0
  42. holidays/locale/en_US/LC_MESSAGES/TL.mo +0 -0
  43. holidays/locale/en_US/LC_MESSAGES/US.mo +0 -0
  44. holidays/locale/en_US/LC_MESSAGES/VE.mo +0 -0
  45. holidays/locale/en_US/LC_MESSAGES/XBOM.mo +0 -0
  46. holidays/locale/es/LC_MESSAGES/VE.mo +0 -0
  47. holidays/locale/gu/LC_MESSAGES/XBOM.mo +0 -0
  48. holidays/locale/gu/LC_MESSAGES/XNSE.mo +0 -0
  49. holidays/locale/hi/LC_MESSAGES/XBOM.mo +0 -0
  50. holidays/locale/ms_MY/LC_MESSAGES/MY.mo +0 -0
  51. holidays/locale/pt_BR/LC_MESSAGES/BR.mo +0 -0
  52. holidays/locale/pt_TL/LC_MESSAGES/TL.mo +0 -0
  53. holidays/locale/sv/LC_MESSAGES/SE.mo +0 -0
  54. holidays/locale/tet/LC_MESSAGES/TL.mo +0 -0
  55. holidays/locale/th/LC_MESSAGES/AU.mo +0 -0
  56. holidays/locale/th/LC_MESSAGES/MY.mo +0 -0
  57. holidays/locale/th/LC_MESSAGES/SE.mo +0 -0
  58. holidays/locale/th/LC_MESSAGES/TL.mo +0 -0
  59. holidays/locale/th/LC_MESSAGES/US.mo +0 -0
  60. holidays/locale/uk/LC_MESSAGES/BR.mo +0 -0
  61. holidays/locale/uk/LC_MESSAGES/SE.mo +0 -0
  62. holidays/locale/uk/LC_MESSAGES/VE.mo +0 -0
  63. holidays/registry.py +1 -0
  64. holidays/utils.py +52 -0
  65. holidays/version.py +3 -1
  66. {holidays-0.87.dist-info → holidays-0.89.dist-info}/METADATA +18 -18
  67. {holidays-0.87.dist-info → holidays-0.89.dist-info}/RECORD +71 -65
  68. {holidays-0.87.dist-info → holidays-0.89.dist-info}/licenses/CONTRIBUTORS +7 -0
  69. {holidays-0.87.dist-info → holidays-0.89.dist-info}/WHEEL +0 -0
  70. {holidays-0.87.dist-info → holidays-0.89.dist-info}/licenses/LICENSE +0 -0
  71. {holidays-0.87.dist-info → holidays-0.89.dist-info}/top_level.txt +0 -0
holidays/constants.py CHANGED
@@ -38,6 +38,7 @@ HOLIDAY_NAME_DELIMITER = "; " # Holiday names separator.
38
38
  # Supported holiday categories.
39
39
  ARMED_FORCES = "armed_forces"
40
40
  BANK = "bank"
41
+ DE_FACTO = "de_facto"
41
42
  GOVERNMENT = "government"
42
43
  HALF_DAY = "half_day"
43
44
  OPTIONAL = "optional"
@@ -10,6 +10,7 @@
10
10
  # Website: https://github.com/vacanza/holidays
11
11
  # License: MIT (see LICENSE file)
12
12
 
13
+ from holidays.constants import PUBLIC, UNOFFICIAL
13
14
  from holidays.countries.united_states import UnitedStates
14
15
  from holidays.mixins.child_entity import ChildEntity
15
16
 
@@ -25,6 +26,7 @@ class AmericanSamoa(ChildEntity, UnitedStates):
25
26
  parent_entity = UnitedStates
26
27
  # Became a U.S. Territory since April 17th, 1900.
27
28
  start_year = 1901
29
+ supported_categories = (PUBLIC, UNOFFICIAL)
28
30
 
29
31
 
30
32
  class HolidaysAS(AmericanSamoa):
@@ -816,6 +816,7 @@ class ArgentinaStaticHolidays:
816
816
  * [Release P50983 (2020)](https://web.archive.org/web/20241203102423/https://www.bcra.gob.ar/Pdfs/comytexord/p50983.pdf)
817
817
  * [Release P51020 (2021)](https://web.archive.org/web/20240616000609/http://www.bcra.gob.ar/Pdfs/comytexord/P51020.pdf)
818
818
  * [Release P51155 (2024)](https://web.archive.org/web/20250427172945/https://bcra.gob.ar/Pdfs/comytexord/P51155.pdf)
819
+ * [Release P51199 (2025)](https://web.archive.org/web/20251221165343/https://www.bcra.gob.ar/archivos/Pdfs/comytexord/P51199.pdf)
819
820
 
820
821
  Special Subdivision-level Holidays References:
821
822
  * [2018 G20 Leader Summit Special Holidays for Buenos Aires](https://web.archive.org/web/20220305033755/https://www.perfil.com/noticias/sociedad/30-de-noviembre-feriado-ciudad-de-buenos-aires-cumbre-g20.phtml)
@@ -837,10 +838,11 @@ class ArgentinaStaticHolidays:
837
838
  * [Decree 764/2022 (2023 Bridge Holidays)](https://web.archive.org/web/20250216064929/https://www.argentina.gob.ar/normativa/nacional/decreto-764-2022-375264/texto)
838
839
  * [Decree 106/2023 (2024 Bridge Holidays)](https://web.archive.org/web/20240930174820/https://www.argentina.gob.ar/normativa/nacional/decreto-106-2023-395689/texto)
839
840
  * [Decree 1017/2024 (2025 Bridge Holidays)](https://web.archive.org/web/20241227231911/https://www.argentina.gob.ar/normativa/nacional/decreto-1027-2024-406417/texto)
841
+ * [Resolution 164/2025 (2026 Bridge Holidays)](https://web.archive.org/web/20260113123935/https://www.argentina.gob.ar/normativa/nacional/resolución-164-2025-421799/texto)
840
842
  """
841
843
 
842
844
  # Bridge Public Holiday.
843
- arg_bridge_public_holiday = tr("Feriado con fines turísticos")
845
+ bridge_public_holiday = tr("Feriado con fines turísticos")
844
846
 
845
847
  # Bicentenary of the May Revolution.
846
848
  bicentennial_may_revolution = tr("Bicentenario de la Revolución de Mayo")
@@ -884,80 +886,85 @@ class ArgentinaStaticHolidays:
884
886
  (OCT, 27, national_census_2010),
885
887
  ),
886
888
  2011: (
887
- (MAR, 25, arg_bridge_public_holiday),
888
- (DEC, 9, arg_bridge_public_holiday),
889
+ (MAR, 25, bridge_public_holiday),
890
+ (DEC, 9, bridge_public_holiday),
889
891
  ),
890
892
  2012: (
891
893
  # Law 26721.
892
894
  (FEB, 27, bicentennial_national_flag),
893
- (APR, 30, arg_bridge_public_holiday),
895
+ (APR, 30, bridge_public_holiday),
894
896
  # Law 26763.
895
897
  (SEP, 24, bicentennial_battle_tucuman),
896
- (DEC, 24, arg_bridge_public_holiday),
898
+ (DEC, 24, bridge_public_holiday),
897
899
  ),
898
900
  2013: (
899
901
  # Law 26840.
900
902
  (JAN, 31, bicentennial_assembly_1813),
901
903
  # Law 26837.
902
904
  (FEB, 20, bicentennial_battle_salta),
903
- (APR, 1, arg_bridge_public_holiday),
904
- (JUN, 21, arg_bridge_public_holiday),
905
+ (APR, 1, bridge_public_holiday),
906
+ (JUN, 21, bridge_public_holiday),
905
907
  ),
906
908
  2014: (
907
- (MAY, 2, arg_bridge_public_holiday),
908
- (DEC, 26, arg_bridge_public_holiday),
909
+ (MAY, 2, bridge_public_holiday),
910
+ (DEC, 26, bridge_public_holiday),
909
911
  ),
910
912
  2015: (
911
- (MAR, 23, arg_bridge_public_holiday),
912
- (DEC, 7, arg_bridge_public_holiday),
913
+ (MAR, 23, bridge_public_holiday),
914
+ (DEC, 7, bridge_public_holiday),
913
915
  ),
914
916
  2016: (
915
- (JUL, 8, arg_bridge_public_holiday),
916
- (DEC, 9, arg_bridge_public_holiday),
917
+ (JUL, 8, bridge_public_holiday),
918
+ (DEC, 9, bridge_public_holiday),
917
919
  ),
918
920
  2018: (
919
- (APR, 30, arg_bridge_public_holiday),
920
- (DEC, 24, arg_bridge_public_holiday),
921
- (DEC, 31, arg_bridge_public_holiday),
921
+ (APR, 30, bridge_public_holiday),
922
+ (DEC, 24, bridge_public_holiday),
923
+ (DEC, 31, bridge_public_holiday),
922
924
  ),
923
925
  2019: (
924
- (JUL, 8, arg_bridge_public_holiday),
925
- (AUG, 19, arg_bridge_public_holiday),
926
- (OCT, 14, arg_bridge_public_holiday),
926
+ (JUL, 8, bridge_public_holiday),
927
+ (AUG, 19, bridge_public_holiday),
928
+ (OCT, 14, bridge_public_holiday),
927
929
  ),
928
930
  2020: (
929
- (MAR, 23, arg_bridge_public_holiday),
930
- (JUL, 10, arg_bridge_public_holiday),
931
- (DEC, 7, arg_bridge_public_holiday),
931
+ (MAR, 23, bridge_public_holiday),
932
+ (JUL, 10, bridge_public_holiday),
933
+ (DEC, 7, bridge_public_holiday),
932
934
  ),
933
935
  2021: (
934
- (MAY, 24, arg_bridge_public_holiday),
935
- (OCT, 8, arg_bridge_public_holiday),
936
- (NOV, 22, arg_bridge_public_holiday),
936
+ (MAY, 24, bridge_public_holiday),
937
+ (OCT, 8, bridge_public_holiday),
938
+ (NOV, 22, bridge_public_holiday),
937
939
  ),
938
940
  2022: (
939
941
  # Decree 42/2022.
940
942
  (MAY, 18, national_census_2022),
941
- (OCT, 7, arg_bridge_public_holiday),
942
- (NOV, 21, arg_bridge_public_holiday),
943
- (DEC, 9, arg_bridge_public_holiday),
943
+ (OCT, 7, bridge_public_holiday),
944
+ (NOV, 21, bridge_public_holiday),
945
+ (DEC, 9, bridge_public_holiday),
944
946
  # Decree 842/2022.
945
947
  (DEC, 20, fifa_world_cup_2022_victory_day),
946
948
  ),
947
949
  2023: (
948
- (MAY, 26, arg_bridge_public_holiday),
949
- (JUN, 19, arg_bridge_public_holiday),
950
- (OCT, 13, arg_bridge_public_holiday),
950
+ (MAY, 26, bridge_public_holiday),
951
+ (JUN, 19, bridge_public_holiday),
952
+ (OCT, 13, bridge_public_holiday),
951
953
  ),
952
954
  2024: (
953
- (APR, 1, arg_bridge_public_holiday),
954
- (JUN, 21, arg_bridge_public_holiday),
955
- (OCT, 11, arg_bridge_public_holiday),
955
+ (APR, 1, bridge_public_holiday),
956
+ (JUN, 21, bridge_public_holiday),
957
+ (OCT, 11, bridge_public_holiday),
956
958
  ),
957
959
  2025: (
958
- (MAY, 2, arg_bridge_public_holiday),
959
- (AUG, 15, arg_bridge_public_holiday),
960
- (NOV, 21, arg_bridge_public_holiday),
960
+ (MAY, 2, bridge_public_holiday),
961
+ (AUG, 15, bridge_public_holiday),
962
+ (NOV, 21, bridge_public_holiday),
963
+ ),
964
+ 2026: (
965
+ (MAR, 23, bridge_public_holiday),
966
+ (JUL, 10, bridge_public_holiday),
967
+ (DEC, 7, bridge_public_holiday),
961
968
  ),
962
969
  }
963
970
 
@@ -982,6 +989,11 @@ class ArgentinaStaticHolidays:
982
989
  (DEC, 24, bank_holiday),
983
990
  (DEC, 31, bank_holiday),
984
991
  ),
992
+ # Release P51199.
993
+ 2025: (
994
+ (DEC, 24, bank_holiday),
995
+ (DEC, 31, bank_holiday),
996
+ ),
985
997
  }
986
998
 
987
999
  special_b_public_holidays = {
@@ -34,6 +34,7 @@ class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
34
34
  * <https://web.archive.org/web/20250414072303/https://www.qld.gov.au/recreation/travel/holidays>
35
35
  * [ACT Holidays Act 1958](https://web.archive.org/web/20250322061953/https://www.legislation.act.gov.au/a/1958-19/)
36
36
  * [ACT 2013-2023](https://web.archive.org/web/20240401072340/https://www.cmtedd.act.gov.au/archived-content/holidays/previous-years)
37
+ * [ACT Holidays (Anzac Day 2026) Declaration 2025 (No 1)](https://web.archive.org/web/20260116225801/https://legislation.act.gov.au/View/ni/2025-650/current/html/2025-650.html)
37
38
  * [NSW Banks and Bank Holidays Act 1912](https://web.archive.org/web/20241107225523/https://legislation.nsw.gov.au/view/html/repealed/current/act-1912-043)
38
39
  * [NSW Public Holidays Act 2010](https://web.archive.org/web/20250316173922/https://legislation.nsw.gov.au/view/html/inforce/current/act-2010-115)
39
40
  * [NT Public Holidays Act 1981](https://web.archive.org/web/20250315072128/https://legislation.nt.gov.au/api/sitecore/Act/PDF?id=12145)
@@ -189,11 +190,14 @@ class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
189
190
 
190
191
  # ANZAC Day.
191
192
  # from 1959: SUN - move to MON.
193
+ # in 2026: move to MON.
192
194
 
193
195
  if self._year >= 1921:
194
196
  # ANZAC Day.
195
197
  dt = self._add_anzac_day(tr("ANZAC Day"))
196
- if self._year >= 1959:
198
+ if self._year == 2026:
199
+ self._move_holiday(dt, rule=SAT_SUN_TO_NEXT_MON, show_observed_label=False)
200
+ elif self._year >= 1959:
197
201
  self._move_holiday(dt, rule=SUN_TO_NEXT_MON, show_observed_label=False)
198
202
 
199
203
  # Easter Saturday.
@@ -532,6 +536,14 @@ class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
532
536
  elif self._year >= 1984:
533
537
  self._move_holiday(dt, rule=SUN_TO_NEXT_MON, show_observed_label=False)
534
538
 
539
+ def _populate_subdiv_qld_half_day_holidays(self):
540
+ if self._year >= 2019:
541
+ # %s (from 6pm).
542
+ begin_time_label = self.tr("%s (from 6pm)")
543
+
544
+ # Christmas Eve.
545
+ self._add_christmas_eve(begin_time_label % self.tr("Christmas Eve"))
546
+
535
547
  def _populate_subdiv_sa_public_holidays(self):
536
548
  # New Year's Day.
537
549
  # 1984-2003: SAT, SUN - move to MON.
@@ -30,7 +30,8 @@ class Azerbaijan(ObservedHolidayBase, InternationalHolidays, IslamicHolidays, St
30
30
  References:
31
31
  * <https://en.wikipedia.org/wiki/Public_holidays_in_Azerbaijan>
32
32
  * <https://az.wikipedia.org/wiki/Azərbaycanın_dövlət_bayramları_və_xüsusi_günləri>
33
- * <https://web.archive.org/web/20240615110243/https://sosial.gov.az/en/prod-calendar>
33
+ * <https://web.archive.org/web/20221007162312/https://sosial.gov.az/en/prod-calendar>
34
+ * <https://web.archive.org/web/20251211151027/https://sosial.gov.az/az/faydali/istehsalat-teqvimi>
34
35
  """
35
36
 
36
37
  country = "AZ"
@@ -162,7 +163,7 @@ class Azerbaijan(ObservedHolidayBase, InternationalHolidays, IslamicHolidays, St
162
163
  # 5. If interweekly rest days and holidays that are not considered working days overlap,
163
164
  # that rest day is immediately transferred to the next working day.
164
165
  if self.observed and self._year >= 2006:
165
- self._populate_observed(dts_observed.union(dts_bairami))
166
+ self._populate_observed(dts_observed.union(dts_bairami), multiple=True)
166
167
 
167
168
  bayrami_names = (self.tr("Qurban bayrami"), self.tr("Ramazan bayrami"))
168
169
  # 6. If the holidays of Qurban and Ramadan coincide with another holiday
@@ -206,7 +207,7 @@ class AZE(Azerbaijan):
206
207
 
207
208
 
208
209
  class AzerbaijanIslamicHolidays(_CustomIslamicHolidays):
209
- EID_AL_ADHA_DATES_CONFIRMED_YEARS = (2002, 2025)
210
+ EID_AL_ADHA_DATES_CONFIRMED_YEARS = (2002, 2026)
210
211
  EID_AL_ADHA_DATES = {
211
212
  2002: (FEB, 21),
212
213
  2005: (JAN, 22),
@@ -217,7 +218,7 @@ class AzerbaijanIslamicHolidays(_CustomIslamicHolidays):
217
218
  2019: (AUG, 12),
218
219
  }
219
220
 
220
- EID_AL_FITR_DATES_CONFIRMED_YEARS = (2002, 2025)
221
+ EID_AL_FITR_DATES_CONFIRMED_YEARS = (2002, 2026)
221
222
  EID_AL_FITR_DATES = {
222
223
  2002: (DEC, 4),
223
224
  2007: (OCT, 12),
@@ -148,8 +148,9 @@ class BelarusStaticHolidays:
148
148
  """Belarus special holidays.
149
149
 
150
150
  References:
151
- * <https://web.archive.org/web/20241005054448/https://belarusbank.by/en/financial-institutions/11151>
152
- * <https://web.archive.org/web/20241210150222/https://belarusbank.by/en/financial-institutions/11160>
151
+ * [2024](https://web.archive.org/web/20241005054448/https://belarusbank.by/en/financial-institutions/11151)
152
+ * [2025](https://web.archive.org/web/20241210150222/https://belarusbank.by/en/financial-institutions/11160)
153
+ * [2026](https://web.archive.org/web/20251230174418/https://belarusbank.by/en/financial-institutions/11163)
153
154
  """
154
155
 
155
156
  # Date format (see strftime() Format Codes)
@@ -300,4 +301,5 @@ class BelarusStaticHolidays:
300
301
  (JUL, 4, JUL, 12),
301
302
  (DEC, 26, DEC, 20),
302
303
  ),
304
+ 2026: (APR, 20, APR, 25),
303
305
  }
@@ -28,6 +28,8 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
28
28
  * [Decreto n. 19.488, de 15.12.1930](https://web.archive.org/web/20241006041503/http://camara.leg.br/legin/fed/decret/1930-1939/decreto-19488-15-dezembro-1930-508040-republicacao-85201-pe.html)
29
29
  * [Lei n. 662, de 6.04.1949](https://web.archive.org/web/20240913060643/https://www2.camara.leg.br/legin/fed/lei/1940-1949/lei-662-6-abril-1949-347136-publicacaooriginal-1-pl.html)
30
30
  * [Lei n. 14.759, de 21.12.2023](https://web.archive.org/web/20250402234552/https://www2.camara.leg.br/legin/fed/lei/2023/lei-14759-21-dezembro-2023-795091-publicacaooriginal-170522-pl.html)
31
+ * São Paulo Capital:
32
+ * [Anexo Único Integrante do Decreto n. 56.756, de 4.01.2016](https://web.archive.org/web/20251224031221/https://legislacao.prefeitura.sp.gov.br/leis/decreto-56756-de-04-de-janeiro-de-2016/anexo/5ec3d7a71411926001a56c56/Anexo%20Único%20do%20Decreto%20nº%2056.756_2016.pdf)
31
33
  """
32
34
 
33
35
  country = "BR"
@@ -62,6 +64,8 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
62
64
  "SE",
63
65
  "SP",
64
66
  "TO",
67
+ # Cities.
68
+ "São Paulo Capital",
65
69
  )
66
70
  subdivisions_aliases = {
67
71
  "Acre": "AC",
@@ -155,6 +159,9 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
155
159
  # Christmas Day.
156
160
  self._add_christmas_day(tr("Natal"))
157
161
 
162
+ if self.subdiv == "São Paulo Capital":
163
+ self._populate_subdiv_sao_paulo_capital_public_holidays()
164
+
158
165
  def _populate_optional_holidays(self):
159
166
  # Carnival.
160
167
  name = tr("Carnaval")
@@ -178,7 +185,8 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
178
185
 
179
186
  def _populate_subdiv_holidays(self):
180
187
  # Lei n. 9.093, de 12.09.1995
181
- if self._year >= 1996:
188
+ # Lei Municipal n. 7.008, de 6.04.1967
189
+ if self._year >= 1996 or self.subdiv == "São Paulo Capital":
182
190
  super()._populate_subdiv_holidays()
183
191
 
184
192
  def _populate_subdiv_ac_public_holidays(self):
@@ -224,6 +232,7 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
224
232
  self._add_holiday_nov_20(tr("Consciência Negra"))
225
233
 
226
234
  if self._year >= 2013:
235
+ # Evangelical Day.
227
236
  self._add_holiday_nov_30(tr("Dia do Evangélico"))
228
237
 
229
238
  def _populate_subdiv_am_public_holidays(self):
@@ -231,6 +240,7 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
231
240
  self._add_holiday_sep_5(tr("Elevação do Amazonas à categoria de província"))
232
241
 
233
242
  if 2010 <= self._year <= 2023:
243
+ # Black Awareness Day.
234
244
  self._add_holiday_nov_20(tr("Consciência Negra"))
235
245
 
236
246
  def _populate_subdiv_ap_public_holidays(self):
@@ -246,6 +256,7 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
246
256
  self._add_holiday_sep_13(tr("Criação do Território Federal"))
247
257
 
248
258
  if 2008 <= self._year <= 2023:
259
+ # Black Awareness Day.
249
260
  self._add_holiday_nov_20(tr("Consciência Negra"))
250
261
 
251
262
  def _populate_subdiv_ba_public_holidays(self):
@@ -266,6 +277,7 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
266
277
  # Founding of Brasilia.
267
278
  self._add_holiday_apr_21(tr("Fundação de Brasília"))
268
279
 
280
+ # Evangelical Day.
269
281
  self._add_holiday_nov_30(tr("Dia do Evangélico"))
270
282
 
271
283
  def _populate_subdiv_es_public_holidays(self):
@@ -294,6 +306,7 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
294
306
 
295
307
  def _populate_subdiv_mt_public_holidays(self):
296
308
  if 2003 <= self._year <= 2023:
309
+ # Black Awareness Day.
297
310
  self._add_holiday_nov_20(tr("Consciência Negra"))
298
311
 
299
312
  def _populate_subdiv_pa_public_holidays(self):
@@ -323,6 +336,7 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
323
336
  self._add_saint_georges_day(tr("São Jorge"))
324
337
 
325
338
  if 2002 <= self._year <= 2023:
339
+ # Black Awareness Day.
326
340
  self._add_holiday_nov_20(tr("Consciência Negra"))
327
341
 
328
342
  def _populate_subdiv_rn_public_holidays(self):
@@ -335,12 +349,15 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
335
349
  self._add_holiday_oct_3(tr("Mártires de Cunhaú e Uruaçu"))
336
350
 
337
351
  def _populate_subdiv_ro_public_holidays(self):
352
+ # State Creation Day.
338
353
  self._add_holiday_jan_4(tr("Criação do Estado"))
339
354
 
340
355
  if self._year >= 2002:
356
+ # Evangelical Day.
341
357
  self._add_holiday_jun_18(tr("Dia do Evangélico"))
342
358
 
343
359
  def _populate_subdiv_rr_public_holidays(self):
360
+ # State Creation Day.
344
361
  self._add_holiday_oct_5(tr("Criação do Estado"))
345
362
 
346
363
  def _populate_subdiv_rs_public_holidays(self):
@@ -372,6 +389,14 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
372
389
  # Constitutionalist Revolution.
373
390
  self._add_holiday_jul_9(tr("Revolução Constitucionalista"))
374
391
 
392
+ def _populate_subdiv_sao_paulo_capital_public_holidays(self):
393
+ self._populate_subdiv_sp_public_holidays()
394
+
395
+ # Lei Municipal n. 7.008, de 6.04.1967
396
+ if self._year >= 1968:
397
+ # São Paulo City Anniversary.
398
+ self._add_holiday_jan_25(tr("Aniversário da Cidade de São Paulo"))
399
+
375
400
  def _populate_subdiv_to_public_holidays(self):
376
401
  if self._year >= 1998:
377
402
  # Autonomy Day.
@@ -380,6 +405,7 @@ class Brazil(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
380
405
  # Our Lady of Nativity.
381
406
  self._add_nativity_of_mary_day(tr("Nossa Senhora da Natividade"))
382
407
 
408
+ # State Creation Day.
383
409
  self._add_holiday_oct_5(tr("Criação do Estado"))
384
410
 
385
411
 
@@ -60,8 +60,7 @@ class Chile(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stati
60
60
  * [Law 19.973 (Sep 17, 2004 holiday)](https://web.archive.org/web/20250812023003/https://www.bcn.cl/leychile/navegar?idLey=19973)
61
61
  * [Law 20.450 (Sep 17, 2010 and Sep 20, 2010 holidays)](https://web.archive.org/web/20250812023308/https://www.bcn.cl/leychile/navegar?idLey=20450)
62
62
  * [Law 21.521 (eliminate Dec 31 again, after the CMF publishes a specific regulation)](https://web.archive.org/web/20240214154900/https://www.bcn.cl/leychile/navegar?idNorma=1187323&idVersion=2023-02-03)
63
- * [Norma de Carácter General 543 de la CMF](https://web.archive.org/web/20250811111649/https://www.cmfchile.cl/normativa/ncg_543_2025.pdf)
64
- * [Resolución Exenta N° 7.671 (CMF, 2025-08-01)](https://web.archive.org/web/20250811123908/https://www.cmfchile.cl/sitio/aplic/serdoc/ver_sgd.php?s567=ba5ad42feea3531a678a9db5253a9477VFdwQmVVNVVRVFJOUkZWNlRucEpORTVCUFQwPQ==&secuencia=-1&t=1754086087)
63
+ * [Law 21.791 (restore bank holiday on Dec 31)](https://web.archive.org/web/20251219021727/https://www.bcn.cl/leychile/navegar?idNorma=1219578&idVersion=2025-12-17)
65
64
  """
66
65
 
67
66
  country = "CL"
@@ -244,7 +243,7 @@ class Chile(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stati
244
243
  if 1957 <= self._year <= 1975:
245
244
  self._add_holiday_jun_30(name)
246
245
 
247
- if 1956 <= self._year <= 2024 and self._year != 1997:
246
+ if 1956 <= self._year and self._year != 1997:
248
247
  self._add_holiday_dec_31(name)
249
248
 
250
249
  @property
@@ -24,12 +24,12 @@ class Estonia(HolidayBase, ChristianHolidays, InternationalHolidays):
24
24
  * <https://et.wikipedia.org/wiki/Eesti_riigipühad>
25
25
  * <https://en.wikipedia.org/wiki/Public_holidays_in_Estonia>
26
26
  * [Decree on State Holidays and on Amending the Labour Code of the Estonian SSR (09.10.1990)](https://www.riigiteataja.ee/akt/28395)
27
- * [Holidays and Anniversaries Act (08.02.1994)](https://www.riigiteataja.ee/akt/29913)
28
- * [Public Holidays and Days of National Importance Act (27.01.1998, in force since 23.02.1998)](https://www.riigiteataja.ee/akt/13276841)
27
+ * [Holidays and Anniversaries Act (08.02.1994)](https://web.archive.org/web/20250122175021/https://www.riigiteataja.ee/akt/29913)
28
+ * [Public Holidays and Days of National Importance Act (27.01.1998, in force since 23.02.1998)](https://web.archive.org/web/20260108041502/https://www.riigiteataja.ee/akt/13276841)
29
29
  * [Act amending § 2 of the Holidays and Anniversaries Act
30
- and § 25 of the Working and Rest Hours Act](https://www.riigiteataja.ee/akt/895511)
31
- * [Working and Rest Hours Act (24.01.2001)](https://www.riigiteataja.ee/akt/72738)
32
- * [Employment Contracts Act (17.12.2008, in force since 01.07.2009)](https://www.riigiteataja.ee/akt/122122012029)
30
+ and § 25 of the Working and Rest Hours Act](https://web.archive.org/web/20250815032316/https://www.riigiteataja.ee/akt/895511)
31
+ * [Working and Rest Hours Act (24.01.2001)](https://web.archive.org/web/20250429084533/https://www.riigiteataja.ee/akt/72738)
32
+ * [Employment Contracts Act (17.12.2008, in force since 01.07.2009)](https://web.archive.org/web/20250520105700/https://www.riigiteataja.ee/akt/122122012029)
33
33
  """
34
34
 
35
35
  country = "EE"
@@ -10,6 +10,7 @@
10
10
  # Website: https://github.com/vacanza/holidays
11
11
  # License: MIT (see LICENSE file)
12
12
 
13
+ from holidays.constants import PUBLIC, UNOFFICIAL
13
14
  from holidays.countries.united_states import UnitedStates
14
15
  from holidays.mixins.child_entity import ChildEntity
15
16
 
@@ -25,6 +26,7 @@ class Guam(ChildEntity, UnitedStates):
25
26
  parent_entity = UnitedStates
26
27
  # Became a U.S. Territory on April 11th, 1899.
27
28
  start_year = 1900
29
+ supported_categories = (PUBLIC, UNOFFICIAL)
28
30
 
29
31
 
30
32
  class HolidaysGU(Guam):
@@ -22,7 +22,7 @@ class Italy(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHoliday
22
22
 
23
23
  References:
24
24
  * <https://it.wikipedia.org/wiki/Festività_in_Italia>
25
- * <https://www.normattiva.it>
25
+ * <https://web.archive.org/web/20260115032712/https://www.normattiva.it/>
26
26
  * [Royal Decree 5342 of Oct 17, 1869](https://web.archive.org/web/20240405131328/https://www.gazzettaufficiale.it/eli/gu/1869/11/23/320/sg/pdf)
27
27
  * [Law 1968 of Jun 23, 1874](https://web.archive.org/web/20240101200400/https://www.gazzettaufficiale.it/eli/gu/1874/07/11/164/sg/pdf)
28
28
  * [Law 401 of Jul 19, 1895](https://web.archive.org/web/20240405131313/https://www.gazzettaufficiale.it/eli/gu/1895/07/19/169/sg/pdf)
@@ -980,13 +980,13 @@ class ItalyStaticHolidays:
980
980
  """Italy special holidays.
981
981
 
982
982
  References:
983
- * [Law 366 of Jun 28, 1907](https://www.gazzettaufficiale.it/eli/gu/1907/06/28/152/sg/pdf)
984
- * [Law 450 of Jul 7, 1910](https://www.gazzettaufficiale.it/eli/gu/1910/07/18/167/sg/pdf)
985
- * [Royal Decree 269 of Mar 11, 1920](https://www.gazzettaufficiale.it/eli/gu/1920/03/19/66/sg/pdf)
983
+ * [Law 366 of Jun 28, 1907](https://web.archive.org/web/20251124204309/https://www.gazzettaufficiale.it/eli/gu/1907/06/28/152/sg/pdf)
984
+ * [Law 450 of Jul 7, 1910](https://web.archive.org/web/20251027060106/https://www.gazzettaufficiale.it/eli/gu/1910/07/18/167/sg/pdf)
985
+ * [Royal Decree 269 of Mar 11, 1920](https://web.archive.org/web/20251027093344/https://www.gazzettaufficiale.it/eli/gu/1920/03/19/66/sg/pdf)
986
986
  * [Royal Decree 1208 of Aug 21, 1921](https://www.gazzettaufficiale.it/eli/gu/1921/09/10/215/sg/pdf)
987
- * [Royal Decree 1207 of Jul 10, 1925](https://www.gazzettaufficiale.it/eli/gu/1925/07/24/170/sg/pdf)
988
- * [Royal Decree-Law 376 of Apr 25, 1938](https://www.gazzettaufficiale.it/eli/gu/1938/04/28/97/sg/pdf)
989
- * [Presidential Legislative Decree 2 of Jun 19, 1946](https://www.normattiva.it/atto/caricaDettaglioAtto?atto.dataPubblicazioneGazzetta=1946-06-20&atto.codiceRedazionale=046U0002&tipoDettaglio=originario&qId=0c1f85e7-d249-4987-966d-d9a4073ef48f)
987
+ * [Royal Decree 1207 of Jul 10, 1925](https://web.archive.org/web/20251027092027/https://www.gazzettaufficiale.it/eli/gu/1925/07/24/170/sg/pdf)
988
+ * [Royal Decree-Law 376 of Apr 25, 1938](https://web.archive.org/web/20251027093701/https://www.gazzettaufficiale.it/eli/gu/1938/04/28/97/sg/pdf)
989
+ * [Presidential Legislative Decree 2 of Jun 19, 1946](https://web.archive.org/web/20251213235623/https://www.normattiva.it/atto/caricaDettaglioAtto?atto.dataPubblicazioneGazzetta=1946-06-20&atto.codiceRedazionale=046U0002&tipoDettaglio=originario&qId=0c1f85e7-d249-4987-966d-d9a4073ef48f)
990
990
  """
991
991
 
992
992
  # Anniversary of the Unification of Italy.
@@ -75,8 +75,9 @@ class Jordan(HolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolid
75
75
  # Eid al-Fitr.
76
76
  self._add_eid_al_fitr_day(tr("عيد الفطر"))
77
77
  # Eid al-Fitr Holiday.
78
- self._add_eid_al_fitr_day_two(tr("عطلة عيد الفطر"))
79
- self._add_eid_al_fitr_day_three(tr("عطلة عيد الفطر"))
78
+ name = tr("عطلة عيد الفطر")
79
+ self._add_eid_al_fitr_day_two(name)
80
+ self._add_eid_al_fitr_day_three(name)
80
81
 
81
82
  # Arafat Day.
82
83
  self._add_arafah_day(tr("يوم عرفة"))
@@ -84,8 +85,9 @@ class Jordan(HolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolid
84
85
  # Eid al-Adha.
85
86
  self._add_eid_al_adha_day(tr("عيد الأضحى"))
86
87
  # Eid al-Adha Holiday.
87
- self._add_eid_al_adha_day_two(tr("عطلة عيد الأضحى"))
88
- self._add_eid_al_adha_day_three(tr("عطلة عيد الأضحى"))
88
+ name = tr("عطلة عيد الأضحى")
89
+ self._add_eid_al_adha_day_two(name)
90
+ self._add_eid_al_adha_day_three(name)
89
91
 
90
92
 
91
93
  class JO(Jordan):
@@ -42,10 +42,10 @@ class Kyrgyzstan(HolidayBase, ChristianHolidays, InternationalHolidays, IslamicH
42
42
  # New Year's Day.
43
43
  self._add_new_years_day("New Year's Day")
44
44
 
45
- # Orthodox Christmas.
45
+ # Christmas Day.
46
46
  self._add_christmas_day("Christmas Day")
47
47
 
48
- # Feb. 23 Fatherland Defender's Day.
48
+ # Fatherland Defender's Day.
49
49
  self._add_holiday_feb_23("Fatherland Defender's Day")
50
50
 
51
51
  # International Women's Day.
@@ -79,6 +79,7 @@ class Kyrgyzstan(HolidayBase, ChristianHolidays, InternationalHolidays, IslamicH
79
79
  self._add_new_years_eve("New Year's Eve")
80
80
 
81
81
  # Islamic Holidays.
82
+
82
83
  # Orozo Ait.
83
84
  name = "Orozo Ait"
84
85
  self._add_eid_al_fitr_day(name)