holidays 0.73__py3-none-any.whl → 0.75__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. holidays/calendars/__init__.py +1 -1
  2. holidays/calendars/balinese_saka.py +1 -1
  3. holidays/calendars/hindu.py +26 -26
  4. holidays/calendars/islamic.py +161 -0
  5. holidays/calendars/thai.py +2 -2
  6. holidays/constants.py +9 -2
  7. holidays/countries/__init__.py +202 -176
  8. holidays/countries/afghanistan.py +2 -2
  9. holidays/countries/aland_islands.py +63 -0
  10. holidays/countries/albania.py +3 -3
  11. holidays/countries/algeria.py +3 -3
  12. holidays/countries/andorra.py +1 -1
  13. holidays/countries/angola.py +11 -11
  14. holidays/countries/anguilla.py +175 -0
  15. holidays/countries/antigua_and_barbuda.py +10 -10
  16. holidays/countries/argentina.py +107 -104
  17. holidays/countries/armenia.py +2 -2
  18. holidays/countries/aruba.py +7 -7
  19. holidays/countries/australia.py +18 -18
  20. holidays/countries/azerbaijan.py +14 -14
  21. holidays/countries/bahamas.py +9 -9
  22. holidays/countries/bahrain.py +3 -3
  23. holidays/countries/bangladesh.py +1 -1
  24. holidays/countries/barbados.py +7 -7
  25. holidays/countries/belarus.py +9 -9
  26. holidays/countries/belgium.py +3 -3
  27. holidays/countries/belize.py +3 -3
  28. holidays/countries/benin.py +199 -0
  29. holidays/countries/bermuda.py +152 -0
  30. holidays/countries/bolivia.py +8 -8
  31. holidays/countries/bosnia_and_herzegovina.py +4 -4
  32. holidays/countries/botswana.py +4 -4
  33. holidays/countries/brazil.py +4 -4
  34. holidays/countries/british_virgin_islands.py +205 -0
  35. holidays/countries/brunei.py +43 -43
  36. holidays/countries/bulgaria.py +3 -3
  37. holidays/countries/burkina_faso.py +1 -1
  38. holidays/countries/burundi.py +2 -2
  39. holidays/countries/cambodia.py +6 -6
  40. holidays/countries/cameroon.py +3 -3
  41. holidays/countries/canada.py +9 -9
  42. holidays/countries/chad.py +2 -2
  43. holidays/countries/chile.py +8 -8
  44. holidays/countries/china.py +31 -31
  45. holidays/countries/cocos_islands.py +6 -6
  46. holidays/countries/colombia.py +7 -7
  47. holidays/countries/congo.py +2 -2
  48. holidays/countries/cook_islands.py +148 -0
  49. holidays/countries/costa_rica.py +1 -1
  50. holidays/countries/croatia.py +1 -1
  51. holidays/countries/cuba.py +9 -9
  52. holidays/countries/curacao.py +2 -2
  53. holidays/countries/cyprus.py +1 -1
  54. holidays/countries/czechia.py +3 -3
  55. holidays/countries/denmark.py +2 -2
  56. holidays/countries/djibouti.py +1 -1
  57. holidays/countries/dominica.py +11 -11
  58. holidays/countries/dominican_republic.py +2 -2
  59. holidays/countries/ecuador.py +1 -1
  60. holidays/countries/egypt.py +1 -1
  61. holidays/countries/el_salvador.py +3 -3
  62. holidays/countries/equatorial_guinea.py +150 -0
  63. holidays/countries/eswatini.py +3 -3
  64. holidays/countries/ethiopia.py +6 -6
  65. holidays/countries/fiji.py +12 -12
  66. holidays/countries/finland.py +200 -36
  67. holidays/countries/france.py +1 -1
  68. holidays/countries/french_southern_territories.py +1 -5
  69. holidays/countries/gabon.py +4 -4
  70. holidays/countries/georgia.py +2 -2
  71. holidays/countries/germany.py +3 -3
  72. holidays/countries/ghana.py +2 -2
  73. holidays/countries/greece.py +1 -1
  74. holidays/countries/greenland.py +2 -2
  75. holidays/countries/grenada.py +1 -1
  76. holidays/countries/guatemala.py +4 -4
  77. holidays/countries/guernsey.py +31 -31
  78. holidays/countries/guinea.py +6 -6
  79. holidays/countries/guyana.py +279 -0
  80. holidays/countries/haiti.py +3 -3
  81. holidays/countries/honduras.py +2 -2
  82. holidays/countries/hongkong.py +4 -4
  83. holidays/countries/hungary.py +98 -16
  84. holidays/countries/iceland.py +1 -1
  85. holidays/countries/india.py +8 -8
  86. holidays/countries/indonesia.py +46 -46
  87. holidays/countries/iran.py +2 -2
  88. holidays/countries/ireland.py +1 -1
  89. holidays/countries/italy.py +1 -1
  90. holidays/countries/ivory_coast.py +6 -6
  91. holidays/countries/jamaica.py +1 -1
  92. holidays/countries/japan.py +1 -1
  93. holidays/countries/jersey.py +23 -23
  94. holidays/countries/jordan.py +3 -3
  95. holidays/countries/kazakhstan.py +45 -45
  96. holidays/countries/kenya.py +13 -13
  97. holidays/countries/kuwait.py +4 -4
  98. holidays/countries/kyrgyzstan.py +1 -1
  99. holidays/countries/laos.py +7 -7
  100. holidays/countries/latvia.py +2 -2
  101. holidays/countries/lesotho.py +2 -2
  102. holidays/countries/liechtenstein.py +1 -1
  103. holidays/countries/lithuania.py +1 -1
  104. holidays/countries/macau.py +19 -19
  105. holidays/countries/madagascar.py +2 -2
  106. holidays/countries/malawi.py +2 -2
  107. holidays/countries/malaysia.py +6 -6
  108. holidays/countries/maldives.py +3 -3
  109. holidays/countries/malta.py +6 -6
  110. holidays/countries/marshall_islands.py +2 -2
  111. holidays/countries/mauritania.py +2 -2
  112. holidays/countries/mexico.py +4 -4
  113. holidays/countries/micronesia.py +205 -0
  114. holidays/countries/monaco.py +1 -1
  115. holidays/countries/montenegro.py +3 -3
  116. holidays/countries/morocco.py +4 -4
  117. holidays/countries/namibia.py +85 -26
  118. holidays/countries/nauru.py +129 -0
  119. holidays/countries/nepal.py +16 -16
  120. holidays/countries/netherlands.py +1 -1
  121. holidays/countries/new_zealand.py +2 -2
  122. holidays/countries/nicaragua.py +2 -2
  123. holidays/countries/niger.py +320 -0
  124. holidays/countries/nigeria.py +1 -1
  125. holidays/countries/north_macedonia.py +268 -16
  126. holidays/countries/norway.py +38 -5
  127. holidays/countries/oman.py +12 -12
  128. holidays/countries/pakistan.py +7 -7
  129. holidays/countries/palau.py +7 -7
  130. holidays/countries/panama.py +5 -5
  131. holidays/countries/papua_new_guinea.py +15 -15
  132. holidays/countries/paraguay.py +7 -7
  133. holidays/countries/peru.py +1 -1
  134. holidays/countries/philippines.py +18 -18
  135. holidays/countries/poland.py +1 -1
  136. holidays/countries/portugal.py +5 -5
  137. holidays/countries/qatar.py +7 -7
  138. holidays/countries/romania.py +1 -1
  139. holidays/countries/russia.py +28 -28
  140. holidays/countries/saint_kitts_and_nevis.py +16 -16
  141. holidays/countries/saint_lucia.py +3 -3
  142. holidays/countries/samoa.py +3 -3
  143. holidays/countries/sao_tome_and_principe.py +2 -2
  144. holidays/countries/saudi_arabia.py +3 -3
  145. holidays/countries/senegal.py +193 -0
  146. holidays/countries/seychelles.py +15 -15
  147. holidays/countries/sierra_leone.py +5 -5
  148. holidays/countries/singapore.py +12 -8
  149. holidays/countries/slovakia.py +1 -1
  150. holidays/countries/slovenia.py +3 -3
  151. holidays/countries/solomon_islands.py +220 -0
  152. holidays/countries/south_africa.py +4 -4
  153. holidays/countries/south_korea.py +7 -7
  154. holidays/countries/spain.py +18 -18
  155. holidays/countries/sri_lanka.py +26 -26
  156. holidays/countries/suriname.py +5 -5
  157. holidays/countries/svalbard_and_jan_mayen.py +47 -0
  158. holidays/countries/sweden.py +2 -2
  159. holidays/countries/switzerland.py +1 -1
  160. holidays/countries/taiwan.py +41 -41
  161. holidays/countries/tanzania.py +15 -15
  162. holidays/countries/thailand.py +85 -85
  163. holidays/countries/timor_leste.py +106 -104
  164. holidays/countries/togo.py +3 -3
  165. holidays/countries/tonga.py +16 -16
  166. holidays/countries/trinidad_and_tobago.py +4 -4
  167. holidays/countries/tunisia.py +1 -1
  168. holidays/countries/turkey.py +4 -4
  169. holidays/countries/turks_and_caicos_islands.py +134 -0
  170. holidays/countries/tuvalu.py +7 -7
  171. holidays/countries/ukraine.py +51 -51
  172. holidays/countries/united_arab_emirates.py +22 -22
  173. holidays/countries/united_kingdom.py +2 -2
  174. holidays/countries/united_states.py +39 -39
  175. holidays/countries/uruguay.py +6 -6
  176. holidays/countries/uzbekistan.py +3 -3
  177. holidays/countries/vanuatu.py +2 -2
  178. holidays/countries/vatican_city.py +11 -11
  179. holidays/countries/venezuela.py +8 -8
  180. holidays/countries/vietnam.py +7 -7
  181. holidays/countries/yemen.py +207 -0
  182. holidays/countries/zambia.py +3 -3
  183. holidays/deprecations/v1_incompatibility.py +1 -1
  184. holidays/financial/__init__.py +5 -5
  185. holidays/financial/brasil_bolsa_balcao.py +9 -9
  186. holidays/financial/european_central_bank.py +3 -3
  187. holidays/financial/ice_futures_europe.py +2 -2
  188. holidays/financial/ny_stock_exchange.py +4 -5
  189. holidays/groups/__init__.py +1 -1
  190. holidays/groups/chinese.py +3 -3
  191. holidays/groups/christian.py +4 -4
  192. holidays/groups/international.py +9 -9
  193. holidays/groups/islamic.py +16 -6
  194. holidays/groups/sinhala.py +12 -12
  195. holidays/groups/thai.py +3 -3
  196. holidays/locale/ar/LC_MESSAGES/YE.mo +0 -0
  197. holidays/locale/en_AI/LC_MESSAGES/AI.mo +0 -0
  198. holidays/locale/en_BM/LC_MESSAGES/BM.mo +0 -0
  199. holidays/locale/en_CK/LC_MESSAGES/CK.mo +0 -0
  200. holidays/locale/en_FM/LC_MESSAGES/FM.mo +0 -0
  201. holidays/locale/en_GY/LC_MESSAGES/GY.mo +0 -0
  202. holidays/locale/en_NA/LC_MESSAGES/NA.mo +0 -0
  203. holidays/locale/en_NR/LC_MESSAGES/NR.mo +0 -0
  204. holidays/locale/en_TC/LC_MESSAGES/TC.mo +0 -0
  205. holidays/locale/en_US/LC_MESSAGES/AI.mo +0 -0
  206. holidays/locale/en_US/LC_MESSAGES/AX.mo +0 -0
  207. holidays/locale/en_US/LC_MESSAGES/BJ.mo +0 -0
  208. holidays/locale/en_US/LC_MESSAGES/BM.mo +0 -0
  209. holidays/locale/en_US/LC_MESSAGES/CK.mo +0 -0
  210. holidays/locale/en_US/LC_MESSAGES/FI.mo +0 -0
  211. holidays/locale/en_US/LC_MESSAGES/FM.mo +0 -0
  212. holidays/locale/en_US/LC_MESSAGES/GQ.mo +0 -0
  213. holidays/locale/en_US/LC_MESSAGES/GY.mo +0 -0
  214. holidays/locale/en_US/LC_MESSAGES/MK.mo +0 -0
  215. holidays/locale/en_US/LC_MESSAGES/NA.mo +0 -0
  216. holidays/locale/en_US/LC_MESSAGES/NE.mo +0 -0
  217. holidays/locale/en_US/LC_MESSAGES/NR.mo +0 -0
  218. holidays/locale/en_US/LC_MESSAGES/SJ.mo +0 -0
  219. holidays/locale/en_US/LC_MESSAGES/SN.mo +0 -0
  220. holidays/locale/en_US/LC_MESSAGES/TC.mo +0 -0
  221. holidays/locale/en_US/LC_MESSAGES/TH.mo +0 -0
  222. holidays/locale/en_US/LC_MESSAGES/VG.mo +0 -0
  223. holidays/locale/en_US/LC_MESSAGES/YE.mo +0 -0
  224. holidays/locale/en_VG/LC_MESSAGES/VG.mo +0 -0
  225. holidays/locale/es/LC_MESSAGES/GQ.mo +0 -0
  226. holidays/locale/fi/LC_MESSAGES/AX.mo +0 -0
  227. holidays/locale/fi/LC_MESSAGES/FI.mo +0 -0
  228. holidays/locale/fr_BJ/LC_MESSAGES/BJ.mo +0 -0
  229. holidays/locale/fr_NE/LC_MESSAGES/NE.mo +0 -0
  230. holidays/locale/fr_SN/LC_MESSAGES/SN.mo +0 -0
  231. holidays/locale/mk/LC_MESSAGES/MK.mo +0 -0
  232. holidays/locale/no/LC_MESSAGES/SJ.mo +0 -0
  233. holidays/locale/sv_FI/LC_MESSAGES/AX.mo +0 -0
  234. holidays/locale/sv_FI/LC_MESSAGES/FI.mo +0 -0
  235. holidays/locale/th/LC_MESSAGES/AX.mo +0 -0
  236. holidays/locale/th/LC_MESSAGES/FI.mo +0 -0
  237. holidays/locale/th/LC_MESSAGES/SJ.mo +0 -0
  238. holidays/locale/uk/LC_MESSAGES/AX.mo +0 -0
  239. holidays/locale/uk/LC_MESSAGES/FI.mo +0 -0
  240. holidays/locale/uk/LC_MESSAGES/MK.mo +0 -0
  241. holidays/locale/uk/LC_MESSAGES/NA.mo +0 -0
  242. holidays/locale/uk/LC_MESSAGES/SJ.mo +0 -0
  243. holidays/locale/uk/LC_MESSAGES/TH.mo +0 -0
  244. holidays/registry.py +16 -0
  245. holidays/version.py +1 -1
  246. {holidays-0.73.dist-info → holidays-0.75.dist-info}/METADATA +121 -10
  247. {holidays-0.73.dist-info → holidays-0.75.dist-info}/RECORD +251 -192
  248. {holidays-0.73.dist-info → holidays-0.75.dist-info}/WHEEL +1 -1
  249. {holidays-0.73.dist-info → holidays-0.75.dist-info}/licenses/CONTRIBUTORS +5 -0
  250. {holidays-0.73.dist-info → holidays-0.75.dist-info}/licenses/LICENSE +0 -0
  251. {holidays-0.73.dist-info → holidays-0.75.dist-info}/top_level.txt +0 -0
@@ -45,9 +45,8 @@ class Singapore(
45
45
 
46
46
  References:
47
47
  * [Wikipedia](https://en.wikipedia.org/wiki/Public_holidays_in_Singapore)
48
- * [Holidays Act](https://sso.agc.gov.sg/Act/HA1998) (Act 24 of
49
- 1968—Holidays (Amendment) Act 1968)
50
- * [Ministry of Manpower](https://www.mom.gov.sg/employment-practices/public-holidays)
48
+ * [Holidays Act 1998](https://web.archive.org/web/20250405061431/https://sso.agc.gov.sg/Act/HA1998)
49
+ * [Ministry of Manpower](https://web.archive.org/web/20250616105633/https://mom.gov.sg/employment-practices/public-holidays)
51
50
 
52
51
  Limitations:
53
52
  * Prior to 1969: holidays are estimated.
@@ -66,7 +65,7 @@ class Singapore(
66
65
  observed_label = tr("%s (observed)")
67
66
  supported_languages = ("en_SG", "en_US", "th")
68
67
 
69
- def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
68
+ def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
70
69
  """
71
70
  Args:
72
71
  islamic_show_estimated:
@@ -178,6 +177,7 @@ class SingaporeBuddhistHolidays(_CustomBuddhistHolidays):
178
177
  2023: (JUN, 2),
179
178
  2024: (MAY, 22),
180
179
  2025: (MAY, 12),
180
+ 2026: (MAY, 31),
181
181
  }
182
182
 
183
183
 
@@ -208,6 +208,7 @@ class SingaporeChineseHolidays(_CustomChineseHolidays):
208
208
  2023: (JAN, 22),
209
209
  2024: (FEB, 10),
210
210
  2025: (JAN, 29),
211
+ 2026: (FEB, 17),
211
212
  }
212
213
 
213
214
 
@@ -239,6 +240,7 @@ class SingaporeHinduHolidays(_CustomHinduHolidays):
239
240
  2023: (NOV, 12),
240
241
  2024: (OCT, 31),
241
242
  2025: (OCT, 20),
243
+ 2026: (NOV, 8),
242
244
  }
243
245
 
244
246
 
@@ -270,6 +272,7 @@ class SingaporeIslamicHolidays(_CustomIslamicHolidays):
270
272
  2023: (JUN, 29),
271
273
  2024: (JUN, 17),
272
274
  2025: (JUN, 7),
275
+ 2026: (MAY, 27),
273
276
  }
274
277
 
275
278
  # Hari Raya Puasa
@@ -299,6 +302,7 @@ class SingaporeIslamicHolidays(_CustomIslamicHolidays):
299
302
  2023: (APR, 22),
300
303
  2024: (APR, 10),
301
304
  2025: (MAR, 31),
305
+ 2026: (MAR, 21),
302
306
  }
303
307
 
304
308
 
@@ -306,10 +310,10 @@ class SingaporeStaticHolidays:
306
310
  """Singapore special holidays.
307
311
 
308
312
  References:
309
- * <https://www.mom.gov.sg/newsroom/press-releases/2015/sg50-public-holiday-on-7-august-2015>
310
- * <https://www.mom.gov.sg/newsroom/press-releases/2020/0624-public-holiday-on-polling-day---10-july-2020>
311
- * <https://www.mom.gov.sg/newsroom/press-releases/2023/0822-public-holiday-on-polling-day---1-sep-2023>
312
- * <https://www.mom.gov.sg/newsroom/press-releases/2025/0415-public-holiday-on-polling-day_3-may-2025>
313
+ * <https://web.archive.org/web/20241015024728/https://www.mom.gov.sg/newsroom/press-releases/2015/sg50-public-holiday-on-7-august-2015>
314
+ * <https://web.archive.org/web/20240809195048/https://www.mom.gov.sg/newsroom/press-releases/2020/0624-public-holiday-on-polling-day---10-july-2020>
315
+ * <https://web.archive.org/web/20241113193000/https://www.mom.gov.sg/newsroom/press-releases/2023/0822-public-holiday-on-polling-day---1-sep-2023>
316
+ * <https://web.archive.org/web/20250424145037/https://www.mom.gov.sg/newsroom/press-releases/2025/0415-public-holiday-on-polling-day_3-may-2025>
313
317
  """
314
318
 
315
319
  # Polling Day.
@@ -24,7 +24,7 @@ class Slovakia(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHoli
24
24
  References:
25
25
  * <https://en.wikipedia.org/wiki/Public_holidays_in_Slovakia>
26
26
  * <https://sk.wikipedia.org/wiki/Zoznam_sviatkov_na_Slovensku>
27
- * <https://www.slov-lex.sk/pravne-predpisy/SK/ZZ/1993/241/>
27
+ * <https://web.archive.org/web/20250413192257/https://www.slov-lex.sk/pravne-predpisy/SK/ZZ/1993/241/>
28
28
  """
29
29
 
30
30
  country = "SK"
@@ -23,9 +23,9 @@ class Slovenia(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHoli
23
23
 
24
24
  References:
25
25
  * <https://en.wikipedia.org/wiki/Public_holidays_in_Slovenia>
26
- * <https://sl.wikipedia.org/wiki/Dr%C5%BEavni_prazniki_v_Sloveniji>
27
- * <https://www.uradni-list.si/glasilo-uradni-list-rs/vsebina/1991-01-1091/zakon-o-praznikih-in-dela-prostih-dnevih-v-republiki-sloveniji>
28
- * <https://www.gov.si/teme/drzavni-prazniki-in-dela-prosti-dnevi/>
26
+ * <https://sl.wikipedia.org/wiki/Državni_prazniki_v_Sloveniji>
27
+ * <https://web.archive.org/web/20250429081020/https://www.uradni-list.si/glasilo-uradni-list-rs/vsebina/1991-01-1091/zakon-o-praznikih-in-dela-prostih-dnevih-v-republiki-sloveniji>
28
+ * <https://web.archive.org/web/20250414154423/https://www.gov.si/teme/drzavni-prazniki-in-dela-prosti-dnevi>
29
29
  """
30
30
 
31
31
  country = "SI"
@@ -0,0 +1,220 @@
1
+ # holidays
2
+ # --------
3
+ # A fast, efficient Python library for generating country, province and state
4
+ # specific sets of holidays on the fly. It aims to make determining whether a
5
+ # specific date is a holiday as fast and flexible as possible.
6
+ #
7
+ # Authors: Vacanza Team and individual contributors (see CONTRIBUTORS file)
8
+ # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
+ # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
+ # Website: https://github.com/vacanza/holidays
11
+ # License: MIT (see LICENSE file)
12
+
13
+ from holidays.calendars.gregorian import APR, JUN, SEP, NOV
14
+ from holidays.groups import ChristianHolidays, InternationalHolidays, StaticHolidays
15
+ from holidays.observed_holiday_base import (
16
+ ObservedHolidayBase,
17
+ SAT_TO_PREV_FRI,
18
+ SUN_TO_NEXT_MON,
19
+ SAT_SUN_TO_NEXT_MON_TUE,
20
+ )
21
+
22
+
23
+ class SolomonIslands(
24
+ ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays
25
+ ):
26
+ """Solomon Islands holidays.
27
+
28
+ References:
29
+ * [Public Holidays Act](https://web.archive.org/web/20250615054807/https://www.paclii.org/sb/legis/consol_act_1996/pha163.pdf)
30
+ * [2016](https://web.archive.org/web/20250530230724/https://mehrd.gov.sb/documents?view=download&format=raw&fileId=4377)
31
+ * [2020](https://web.archive.org/web/20240908025223/https://solomons.gov.sb/national-and-provincial-public-holidays-2020/)
32
+ * [2021](https://web.archive.org/web/20241004035112/https://solomons.gov.sb/wp-content/uploads/2021/03/Gaz-No.-54-Sup-No.-50-Wednesday-10th-March-2021.pdf)
33
+ * [2022](https://web.archive.org/web/20240727185307/https://solomons.gov.sb/wp-content/uploads/2021/10/Gaz-No.-246-Tuesday-19th-October-2021-.pdf)
34
+ * [2023](https://web.archive.org/web/20240810050725/https://solomons.gov.sb/wp-content/uploads/2022/12/Gaz-No.-324-Wednesday-21st-December-2022-1.pdf)
35
+ * [2024](https://web.archive.org/web/20240727124555/https://solomons.gov.sb/wp-content/uploads/2024/02/Gaz-No.-15-Monday-12th-FEBRUARY-2024.pdf)
36
+ * [2025](https://web.archive.org/web/20250615054517/https://solomons.gov.sb/wp-content/uploads/2024/11/Gaz-No.-178-Monday-25th-November-2024.pdf)
37
+
38
+ About the day appointed for the celebration of the Anniversary of the Birthday of the
39
+ Sovereign:
40
+
41
+ * Up to 2022, the Queen's Birthday was typically observed on the second Saturday of
42
+ June, with the preceding Friday designated as a public holiday. From 2023 onward,
43
+ the King's Birthday has been marked on the Friday before the third Saturday in
44
+ June. Although there has been no amendment to the Public Holidays Act to explicitly
45
+ state this change, the pattern is evident in the annual government gazettes and
46
+ supported by information from the relevant [Wikipedia
47
+ entry](https://en.wikipedia.org/wiki/King's_Official_Birthday#Solomon_Islands).
48
+ * There are a few exceptions to this rule:
49
+ * [Queen's Birthday 2022](https://web.archive.org/web/20240727184251/https://solomons.gov.sb/wp-content/uploads/2022/05/Gaz-No.-171-Friday-27th-May-2022.pdf)
50
+ * According to the holidays schedule for 2024, King's Birthday was celebrated on
51
+ the 3rd saturday of June (June 15) and the preceding Friday was observed as a
52
+ public holiday.
53
+ * [King's Birthday 2025](https://web.archive.org/web/20250615054519/https://solomons.gov.sb/wp-content/uploads/2025/04/Gaz-No.-33-Wednesday-9th-April-2025.pdf)
54
+
55
+ Province Days are not listed in the Public Holidays Act but are consistently announced
56
+ in the official gazette each year.
57
+
58
+ While the Public Holidays Act specifies the Sunday to next Monday observance rule,
59
+ gazettes dating back to 2016 also follow the Saturday to previous Friday rule for
60
+ shifting public holidays.
61
+ """
62
+
63
+ country = "SB"
64
+ # %s (observed).
65
+ observed_label = "%s (observed)"
66
+ start_year = 1979
67
+ subdivisions = (
68
+ "CE", # Central.
69
+ "CH", # Choiseul.
70
+ "CT", # Capital Territory (Honiara).
71
+ "GU", # Guadalcanal.
72
+ "IS", # Isabel.
73
+ "MK", # Makira-Ulawa.
74
+ "ML", # Malaita.
75
+ "RB", # Rennell and Bellona.
76
+ "TE", # Temotu.
77
+ "WE", # Western.
78
+ )
79
+ subdivisions_aliases = {
80
+ "Central": "CE",
81
+ "Choiseul": "CH",
82
+ "Capital Territory": "CT",
83
+ "Honiara": "CT",
84
+ "Guadalcanal": "GU",
85
+ "Isabel": "IS",
86
+ "Makira-Ulawa": "MK",
87
+ "Malaita": "ML",
88
+ "Rennell and Bellona": "RB",
89
+ "Temotu": "TE",
90
+ "Western": "WE",
91
+ }
92
+
93
+ def __init__(self, *args, **kwargs):
94
+ ChristianHolidays.__init__(self)
95
+ InternationalHolidays.__init__(self)
96
+ StaticHolidays.__init__(self, cls=SolomonIslandsStaticHolidays)
97
+ kwargs.setdefault("observed_rule", SUN_TO_NEXT_MON + SAT_TO_PREV_FRI)
98
+ super().__init__(*args, **kwargs)
99
+
100
+ def _populate_public_holidays(self):
101
+ # New Year's Day.
102
+ name = "New Year's Day"
103
+ self._add_observed(self._add_new_years_day(name))
104
+ self._add_observed(self._next_year_new_years_day, name=name, rule=SAT_TO_PREV_FRI)
105
+
106
+ # Good Friday.
107
+ self._add_good_friday("Good Friday")
108
+
109
+ # Holy Saturday.
110
+ self._add_holy_saturday("Holy Saturday")
111
+
112
+ # Easter Monday.
113
+ self._add_easter_monday("Easter Monday")
114
+
115
+ # Whit Monday.
116
+ self._add_whit_monday("Whit Monday")
117
+
118
+ name = (
119
+ # King's Birthday.
120
+ "King's Birthday"
121
+ if self._year >= 2023
122
+ # Queen's Birthday.
123
+ else "Queen's Birthday"
124
+ )
125
+ sovereign_birthday_dates = {
126
+ 2022: (JUN, 3),
127
+ 2025: (JUN, 13),
128
+ }
129
+ if self._year in sovereign_birthday_dates:
130
+ self._add_holiday(name, sovereign_birthday_dates[self._year])
131
+ elif self._year == 2024:
132
+ self._add_observed(self._add_holiday_3rd_sat_of_jun(name))
133
+ elif self._year >= 2023:
134
+ self._add_holiday_1_day_prior_3rd_sat_of_jun(name)
135
+ else:
136
+ self._add_observed(self._add_holiday_2nd_sat_of_jun(name))
137
+
138
+ # Independence Day.
139
+ self._add_observed(self._add_holiday_jul_7("Independence Day"))
140
+
141
+ self._add_observed(
142
+ # Christmas Day.
143
+ self._add_christmas_day("Christmas Day"),
144
+ rule=SAT_SUN_TO_NEXT_MON_TUE,
145
+ )
146
+
147
+ self._add_observed(
148
+ # National Day of Thanksgiving.
149
+ self._add_christmas_day_two("National Day of Thanksgiving"),
150
+ rule=SAT_SUN_TO_NEXT_MON_TUE,
151
+ )
152
+
153
+ def _populate_subdiv_ce_public_holidays(self):
154
+ # Central Province Day.
155
+ self._add_observed(self._add_holiday_jun_29("Central Province Day"))
156
+
157
+ def _populate_subdiv_ch_public_holidays(self):
158
+ # Choiseul Province Day.
159
+ self._add_observed(self._add_holiday_feb_25("Choiseul Province Day"))
160
+
161
+ def _populate_subdiv_gu_public_holidays(self):
162
+ # Guadalcanal Province Day.
163
+ self._add_observed(self._add_holiday_aug_1("Guadalcanal Province Day"))
164
+
165
+ def _populate_subdiv_is_public_holidays(self):
166
+ # Isabel Province Day.
167
+ self._add_observed(self._add_holiday_jun_2("Isabel Province Day"))
168
+
169
+ def _populate_subdiv_mk_public_holidays(self):
170
+ # Makira-Ulawa Province Day.
171
+ self._add_observed(self._add_holiday_aug_3("Makira-Ulawa Province Day"))
172
+
173
+ def _populate_subdiv_ml_public_holidays(self):
174
+ # Malaita Province Day.
175
+ self._add_observed(self._add_holiday_aug_15("Malaita Province Day"))
176
+
177
+ def _populate_subdiv_rb_public_holidays(self):
178
+ # Rennell and Bellona Province Day.
179
+ self._add_observed(self._add_holiday_jul_20("Rennell and Bellona Province Day"))
180
+
181
+ def _populate_subdiv_te_public_holidays(self):
182
+ # Temotu Province Day.
183
+ self._add_observed(self._add_holiday_jun_8("Temotu Province Day"))
184
+
185
+ def _populate_subdiv_we_public_holidays(self):
186
+ # Western Province Day.
187
+ self._add_observed(self._add_holiday_dec_7("Western Province Day"))
188
+
189
+
190
+ class SB(SolomonIslands):
191
+ pass
192
+
193
+
194
+ class SLB(SolomonIslands):
195
+ pass
196
+
197
+
198
+ class SolomonIslandsStaticHolidays:
199
+ """Solomon Islands special holidays.
200
+
201
+ References:
202
+ * [2024 General Election Holiday](https://web.archive.org/web/20240711032116/https://solomonchamber.com.sb/media/2618/gaz-no-61-monday-8th-april-2024.pdf)
203
+ * [2020 By-election Holiday](https://web.archive.org/web/20241011021616/https://solomons.gov.sb/wp-content/uploads/2020/11/GAZ-173-11th-November-2020-1.pdf)
204
+ * [Gazette No. 269 of 2022](https://web.archive.org/web/20240727183925/https://solomons.gov.sb/wp-content/uploads/2022/09/Gaz-No.-269-Friday-9th-September-2022.pdf)
205
+ """
206
+
207
+ # Public Holiday.
208
+ name = "Public Holiday"
209
+ special_public_holidays = {
210
+ 2022: (SEP, 12, name),
211
+ 2024: (APR, 17, name),
212
+ }
213
+
214
+ special_ch_public_holidays = {
215
+ 2020: (NOV, 18, name),
216
+ }
217
+
218
+ special_gu_public_holidays = {
219
+ 2020: (NOV, 18, name),
220
+ }
@@ -19,10 +19,10 @@ class SouthAfrica(ObservedHolidayBase, ChristianHolidays, InternationalHolidays,
19
19
  """South Africa holidays.
20
20
 
21
21
  References:
22
- * <https://www.gov.za/about-sa/public-holidays>
22
+ * <https://web.archive.org/web/20250424073852/https://www.gov.za/about-sa/public-holidays>
23
23
  * <https://en.wikipedia.org/wiki/Public_holidays_in_South_Africa>
24
- * <https://www.gov.za/speeches/president-cyril-ramaphosa-progress-economic-recovery-30-oct-2023-0000>
25
- * <https://www.gov.za/documents/notices/public-holidays-act-declaration-29-may-2024-public-holiday-23-feb-2024>
24
+ * <https://web.archive.org/web/20240715110800/https://www.gov.za/speeches/president-cyril-ramaphosa-progress-economic-recovery-30-oct-2023-0000>
25
+ * <https://web.archive.org/web/20250427184315/https://www.gov.za/documents/notices/public-holidays-act-declaration-29-may-2024-public-holiday-23-feb-2024>
26
26
  """
27
27
 
28
28
  country = "ZA"
@@ -152,6 +152,6 @@ class SouthAfricaStaticHolidays:
152
152
  }
153
153
 
154
154
  special_public_holidays_observed = {
155
- # Special holiday http://tiny.cc/za_y2k
155
+ # https://web.archive.org/web/20120328122217/http://www.info.gov.za/speeches/1999/991028409p1002.htm
156
156
  2000: (JAN, 3, y2k_changeover),
157
157
  }
@@ -55,19 +55,19 @@ class SouthKorea(
55
55
 
56
56
  References:
57
57
  * <https://en.wikipedia.org/wiki/Public_holidays_in_South_Korea>
58
- * <https://www.law.go.kr/법령/관공서의%20공휴일에%20관한%20규정>
59
- * <https://elaw.klri.re.kr/eng_service/lawView.do?lang=ENG&hseq=34678>
60
- * <https://elaw.klri.re.kr/eng_service/%20lawView.do?hseq=38405&lang=ENG>
58
+ * <https://web.archive.org/web/20240429121214/https://www.law.go.kr/법령/관공서의%20공휴일에%20관한%20규정>
59
+ * <https://web.archive.org/web/20250429081641/https://elaw.klri.re.kr/eng_service/lawView.do?lang=ENG&hseq=34678>
60
+ * <https://web.archive.org/web/20250123212346/https://elaw.klri.re.kr/eng_service/%20lawView.do?hseq=38405&lang=ENG>
61
61
  * <https://namu.wiki/w/대통령%20선거일>
62
62
  * <https://namu.wiki/w/공휴일/대한민국>
63
63
  * <https://namu.wiki/w/공휴일/대한민국/역사>
64
64
  * <https://namu.wiki/w/대체%20휴일%20제도>
65
- * [TH localization 1](https://overseas.mofa.go.kr/th-th/wpge/m_3133/contents.do)
66
- * [TH localization 2](https://thailand.korean-culture.org/th/138/korea/38)
65
+ * [TH localization 1](https://web.archive.org/web/20241217184803/https://overseas.mofa.go.kr/th-th/wpge/m_3133/contents.do)
66
+ * [TH localization 2](https://web.archive.org/web/20200216004120/http://thailand.korean-culture.org:80/th/138/korea/38)
67
67
 
68
68
  Checked With:
69
- * <https://publicholidays.co.kr/ko/2020-dates/>
70
- * <https://publicholidays.co.kr/ko/2022-dates/>
69
+ * <https://web.archive.org/web/20231202051034/https://publicholidays.co.kr/ko/2020-dates/>
70
+ * <https://web.archive.org/web/20231002172705/https://publicholidays.co.kr/ko/2022-dates/>
71
71
 
72
72
  According to (3), the alt holidays in Korea are as follows:
73
73
  * The alt holiday means next first non holiday after the holiday.
@@ -29,23 +29,23 @@ class Spain(
29
29
  """Spain holidays.
30
30
 
31
31
  References:
32
- * <https://administracion.gob.es/pag_Home/atencionCiudadana/calendarios.html>
33
- * [2010](https://www.boe.es/buscar/doc.php?id=BOE-A-2009-18477)
34
- * [2011](https://www.boe.es/buscar/doc.php?id=BOE-A-2010-15722)
35
- * [2012](https://www.boe.es/buscar/doc.php?id=BOE-A-2011-16116)
36
- * [2013](https://www.boe.es/buscar/doc.php?id=BOE-A-2012-13644)
37
- * [2014](https://www.boe.es/buscar/doc.php?id=BOE-A-2013-12147)
38
- * [2015](https://www.boe.es/buscar/doc.php?id=BOE-A-2014-10823)
39
- * [2016](https://www.boe.es/buscar/doc.php?id=BOE-A-2015-11348)
40
- * [2017](https://www.boe.es/buscar/doc.php?id=BOE-A-2016-9244)
41
- * [2018](https://www.boe.es/buscar/doc.php?id=BOE-A-2017-11639)
42
- * [2019](https://www.boe.es/buscar/doc.php?id=BOE-A-2018-14369)
43
- * [2020](https://www.boe.es/buscar/doc.php?id=BOE-A-2019-14552)
44
- * [2021](https://www.boe.es/buscar/doc.php?id=BOE-A-2020-13343)
45
- * [2022](https://www.boe.es/buscar/doc.php?id=BOE-A-2021-17113)
46
- * [2023](https://www.boe.es/buscar/doc.php?id=BOE-A-2022-16755)
47
- * [2024](https://www.boe.es/buscar/doc.php?id=BOE-A-2023-22014)
48
- * [2025](https://www.boe.es/buscar/doc.php?id=BOE-A-2024-21316)
32
+ * <https://web.archive.org/web/20250407130530/https://administracion.gob.es/pag_Home/atencionCiudadana/calendarios.html>
33
+ * [2010](https://web.archive.org/web/20250427181827/https://www.boe.es/buscar/doc.php?id=BOE-A-2009-18477)
34
+ * [2011](https://web.archive.org/web/20231121065830/https://www.boe.es/buscar/doc.php?id=BOE-A-2010-15722)
35
+ * [2012](https://web.archive.org/web/20250427181838/https://www.boe.es/buscar/doc.php?id=BOE-A-2011-16116)
36
+ * [2013](https://web.archive.org/web/20220120080053/https://www.boe.es/buscar/doc.php?id=BOE-A-2012-13644)
37
+ * [2014](https://web.archive.org/web/20201001232243/https://www.boe.es/buscar/doc.php?id=BOE-A-2013-12147)
38
+ * [2015](https://web.archive.org/web/20240915041804/https://www.boe.es/buscar/doc.php?id=BOE-A-2014-10823)
39
+ * [2016](https://web.archive.org/web/20240915044403/http://www.boe.es/buscar/doc.php?id=BOE-A-2015-11348)
40
+ * [2017](https://web.archive.org/web/20170609094105/http://www.boe.es:80/buscar/doc.php?id=BOE-A-2016-9244)
41
+ * [2018](https://web.archive.org/web/20241006073402/https://www.boe.es/buscar/doc.php?id=BOE-A-2017-11639)
42
+ * [2019](https://web.archive.org/web/20240329020330/https://boe.es/buscar/doc.php?id=BOE-A-2018-14369)
43
+ * [2020](https://web.archive.org/web/20240417060155/https://www.boe.es/buscar/doc.php?id=BOE-A-2019-14552)
44
+ * [2021](https://web.archive.org/web/20241114022913/https://www.boe.es/buscar/doc.php?id=BOE-A-2020-13343)
45
+ * [2022](https://web.archive.org/web/20240725121311/https://www.boe.es/buscar/doc.php?id=BOE-A-2021-17113)
46
+ * [2023](https://web.archive.org/web/20240811035605/https://www.boe.es/buscar/doc.php?id=BOE-A-2022-16755)
47
+ * [2024](https://web.archive.org/web/20240401192304/https://www.boe.es/buscar/doc.php?id=BOE-A-2023-22014)
48
+ * [2025](https://web.archive.org/web/20241226214918/https://www.boe.es/buscar/doc.php?id=BOE-A-2024-21316)
49
49
 
50
50
  Holidays checked with official sources for 2010-2025 only.
51
51
  """
@@ -100,7 +100,7 @@ class Spain(
100
100
  }
101
101
  supported_languages = ("en_US", "es", "uk")
102
102
 
103
- def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
103
+ def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
104
104
  """
105
105
  Args:
106
106
  islamic_show_estimated:
@@ -52,8 +52,8 @@ class SriLanka(
52
52
  """Sri Lanka holidays.
53
53
 
54
54
  References:
55
- * [No. 29 of 1971 (Holidays Act)](http://www.commonlii.org/lk/legis/num_act/ha29o1971152)
56
- * [No. 21 of 1991 (Amendment)](http://www.commonlii.org/lk/legis/num_act/ha21o1991232)
55
+ * [No. 29 of 1971 (Holidays Act)](https://web.archive.org/web/20250315041521/http://www.commonlii.org/lk/legis/num_act/ha29o1971152/)
56
+ * [No. 21 of 1991 (Amendment)](https://web.archive.org/web/20200221094206/http://www.commonlii.org:80/lk/legis/num_act/ha21o1991232/)
57
57
  * <https://web.archive.org/web/20110722150724/http://www.pubad.gov.lk/Holidays/holidays%202003.htm>
58
58
  * <https://web.archive.org/web/20111018053717/http://www.pubad.gov.lk/Holidays/Public%20&%20Bank%20Holidays%202004.pdf>
59
59
  * <https://web.archive.org/web/20241120204015/https://documents.gov.lk/en/calendar.php>
@@ -67,13 +67,13 @@ class SriLanka(
67
67
  * <https://web.archive.org/web/20111018071247/http://www.pubad.gov.lk/Holidays/Public&BankHolidays2010.pdf>
68
68
  * <https://web.archive.org/web/20110722151043/http://www.pubad.gov.lk/Holidays/Public&BankHolidays2011.pdf>
69
69
  * <https://web.archive.org/web/20111125074237/http://www.pubad.gov.lk/Holidays/Public&BankHolidays2012.pdf>
70
- * <https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2019>
71
- * <https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2020>
72
- * <https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2021>
73
- * <https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2022>
74
- * <https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2023>
75
- * <https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2024>
76
- * <https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2025>
70
+ * <https://web.archive.org/web/20241206195320/https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2019>
71
+ * <https://web.archive.org/web/20250420233412/https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2020>
72
+ * <https://web.archive.org/web/20220524084434/https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2021>
73
+ * <https://web.archive.org/web/20231210111149/https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2022>
74
+ * <https://web.archive.org/web/20250218215654/https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2023>
75
+ * <https://web.archive.org/web/20250217180119/https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2024>
76
+ * <https://web.archive.org/web/20250407061643/https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2025>
77
77
  """
78
78
 
79
79
  country = "LK"
@@ -88,7 +88,7 @@ class SriLanka(
88
88
  start_year = 1972
89
89
  end_year = 2025
90
90
 
91
- def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
91
+ def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
92
92
  """
93
93
  Args:
94
94
  islamic_show_estimated:
@@ -298,9 +298,9 @@ class SriLankaIslamicHolidays(_CustomIslamicHolidays):
298
298
  2008: (DEC, 9),
299
299
  2009: (NOV, 28),
300
300
  2010: (NOV, 17),
301
- # https://www.adaderana.lk/news.php?nid=15606
301
+ # https://web.archive.org/web/20111103102902/http://www.adaderana.lk:80/news.php?nid=15606
302
302
  2011: (NOV, 7),
303
- # https://www.adaderana.lk/news.php?nid=20136
303
+ # https://web.archive.org/web/20121029024049/http://www.adaderana.lk:80/news.php?nid=20136
304
304
  2012: (OCT, 27),
305
305
  2013: (OCT, 16),
306
306
  2014: (OCT, 5),
@@ -376,20 +376,20 @@ class SriLankaStaticHolidays:
376
376
  """Sri Lanka special holdays.
377
377
 
378
378
  References:
379
- * <https://www.adaderana.lk/news.php?nid=13026>
380
- * <https://www.adaderana.lk/news.php?nid=17539>
381
- * <https://www.adaderana.lk/news.php?nid=22168>
382
- * <https://www.adaderana.lk/news.php?nid=34870>
383
- * <https://www.adaderana.lk/news.php?nid=55146>
384
- * <https://www.adaderana.lk/news.php?nid=61437>
385
- * <https://www.adaderana.lk/news.php?nid=64367>
386
- * <https://www.adaderana.lk/news.php?nid=81686>
387
- * <https://www.adaderana.lk/news.php?nid=82111>
388
- * <https://www.adaderana.lk/news.php?nid=82979>
389
- * <https://www.adaderana.lk/news.php?nid=83082>
390
- * <https://www.adaderana.lk/news.php?nid=84035>
391
- * <https://www.adaderana.lk/news.php?nid=98560>
392
- * <https://www.adaderana.lk/news.php?nid=102125>
379
+ * <https://web.archive.org/web/20110809085026/http://www.adaderana.lk:80/news.php?nid=13026>
380
+ * <https://web.archive.org/web/20250429080725/https://www.adaderana.lk/news.php?nid=17539>
381
+ * <https://web.archive.org/web/20130402104735/http://www.adaderana.lk:80/news.php?nid=22168>
382
+ * <https://web.archive.org/web/20160416130945/http://adaderana.lk:80/news.php?nid=34870>
383
+ * <https://web.archive.org/web/20190515145927/http://www.adaderana.lk/news.php?nid=55146>
384
+ * <https://web.archive.org/web/20200317133128/http://www.adaderana.lk/news.php?nid=61437>
385
+ * <https://web.archive.org/web/20250429080821/https://www.adaderana.lk/news.php?nid=64367>
386
+ * <https://web.archive.org/web/20220408080237/http://www.adaderana.lk/news.php?nid=81686>
387
+ * <https://web.archive.org/web/20250429080933/https://www.adaderana.lk/news.php?nid=82111>
388
+ * <https://web.archive.org/web/20220611075054/http://www.adaderana.lk/news.php?nid=82979>
389
+ * <https://web.archive.org/web/20220824142821/http://adaderana.lk/news.php?nid=83082>
390
+ * <https://web.archive.org/web/20220824142511/http://adaderana.lk/news.php?nid=84035>
391
+ * <https://web.archive.org/web/20240412063648/https://www.adaderana.lk/news.php?nid=98560>
392
+ * <https://web.archive.org/web/20241009053635/https://www.adaderana.lk/news.php?nid=102125>
393
393
  * <https://web.archive.org/web/20110722150724/http://www.pubad.gov.lk/Holidays/holidays%202003.htm>
394
394
  * <https://web.archive.org/web/20111018053717/http://www.pubad.gov.lk/Holidays/Public%20&%20Bank%20Holidays%202004.pdf>
395
395
  * <https://web.archive.org/web/20241120204015/https://documents.gov.lk/en/calendar.php>
@@ -57,7 +57,7 @@ class Suriname(
57
57
  start_year = 1972
58
58
  supported_languages = ("en_US", "nl")
59
59
 
60
- def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
60
+ def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
61
61
  """
62
62
  Args:
63
63
  islamic_show_estimated:
@@ -143,7 +143,7 @@ class Suriname(
143
143
 
144
144
 
145
145
  class SurinameHinduHolidays(_CustomHinduHolidays):
146
- # https://www.timeanddate.com/holidays/suriname/holi-phagwa
146
+ # https://web.archive.org/web/20241104221047/https://www.timeanddate.com/holidays/suriname/holi-phagwa
147
147
  HOLI_DATES = {
148
148
  2015: (MAR, 6),
149
149
  2016: (MAR, 23),
@@ -163,7 +163,7 @@ class SurinameHinduHolidays(_CustomHinduHolidays):
163
163
  2030: (MAR, 19),
164
164
  }
165
165
 
166
- # https://www.timeanddate.com/holidays/suriname/diwali
166
+ # https://web.archive.org/web/20241105043434/https://www.timeanddate.com/holidays/suriname/diwali
167
167
  DIWALI_DATES = {
168
168
  2014: (OCT, 23),
169
169
  2015: (NOV, 11),
@@ -186,7 +186,7 @@ class SurinameHinduHolidays(_CustomHinduHolidays):
186
186
 
187
187
 
188
188
  class SurinameIslamicHolidays(_CustomIslamicHolidays):
189
- # https://www.timeanddate.com/holidays/suriname/eid-al-fitr
189
+ # https://web.archive.org/web/20241107062349/https://www.timeanddate.com/holidays/suriname/eid-al-fitr
190
190
  EID_AL_FITR_DATES = {
191
191
  2014: (JUL, 29),
192
192
  2015: (JUL, 18),
@@ -202,7 +202,7 @@ class SurinameIslamicHolidays(_CustomIslamicHolidays):
202
202
  2025: (MAR, 31),
203
203
  }
204
204
 
205
- # https://www.timeanddate.com/holidays/suriname/eid-al-adha
205
+ # https://web.archive.org/web/20241113121535/https://www.timeanddate.com/holidays/suriname/eid-al-adha
206
206
  EID_AL_ADHA_DATES = {
207
207
  2014: (OCT, 5),
208
208
  2015: (SEP, 24),
@@ -0,0 +1,47 @@
1
+ # holidays
2
+ # --------
3
+ # A fast, efficient Python library for generating country, province and state
4
+ # specific sets of holidays on the fly. It aims to make determining whether a
5
+ # specific date is a holiday as fast and flexible as possible.
6
+ #
7
+ # Authors: Vacanza Team and individual contributors (see CONTRIBUTORS file)
8
+ # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
+ # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
+ # Website: https://github.com/vacanza/holidays
11
+ # License: MIT (see LICENSE file)
12
+
13
+ from holidays.countries.norway import Norway
14
+
15
+
16
+ class HolidaysSJ(Norway):
17
+ """Svalbard and Jan Mayen holidays.
18
+
19
+ Alias of Norwegian subdivisions that are also officially assigned
20
+ its own country code in ISO 3166-1.
21
+
22
+ References:
23
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Svalbard>
24
+ """
25
+
26
+ country = "SJ"
27
+ parent_entity = Norway
28
+ default_language = "no"
29
+ subdivisions = () # Override Norway subdivisions.
30
+ subdivisions_aliases = {} # Override Norway subdivisions aliases.
31
+ supported_languages = ("en_US", "no", "th", "uk")
32
+
33
+ def _populate_public_holidays(self) -> None:
34
+ self.subdiv = "21"
35
+ super()._populate_public_holidays()
36
+
37
+
38
+ class SvalbardAndJanMayen(HolidaysSJ):
39
+ pass
40
+
41
+
42
+ class SJ(HolidaysSJ):
43
+ pass
44
+
45
+
46
+ class SJM(HolidaysSJ):
47
+ pass
@@ -22,8 +22,8 @@ class Sweden(HolidayBase, ChristianHolidays, InternationalHolidays):
22
22
 
23
23
  References:
24
24
  * <https://sv.wikipedia.org/wiki/Helgdagar_i_Sverige>
25
- * <http://www.riksdagen.se/sv/dokument-lagar/dokument/svensk-forfattningssamling/lag-1989253-om-allmanna-helgdagar_sfs-1989-253>
26
- * <https://sv.wikipedia.org/wiki/F%C3%B6rsta_maj>
25
+ * <https://web.archive.org/web/20250414065223/https://www.riksdagen.se/sv/dokument-lagar/dokument/svensk-forfattningssamling/lag-1989253-om-allmanna-helgdagar_sfs-1989-253>
26
+ * <https://sv.wikipedia.org/wiki/Första_maj>
27
27
  * <https://sv.wikipedia.org/wiki/Sveriges_nationaldag>
28
28
  * <https://sv.wikipedia.org/wiki/Midsommarafton>
29
29
 
@@ -22,7 +22,7 @@ class Switzerland(ObservedHolidayBase, ChristianHolidays, InternationalHolidays)
22
22
  """Switzerland holidays.
23
23
 
24
24
  References:
25
- * <https://www.bj.admin.ch/dam/bj/de/data/publiservice/service/zivilprozessrecht/kant-feiertage.pdf>
25
+ * <https://web.archive.org/web/20250201054902/https://www.bj.admin.ch/dam/bj/de/data/publiservice/service/zivilprozessrecht/kant-feiertage.pdf>
26
26
  * <https://de.wikipedia.org/wiki/Feiertage_in_der_Schweiz>
27
27
  * <https://en.wikipedia.org/wiki/Public_holidays_in_Switzerland>
28
28
  """