holidays 0.68__py3-none-any.whl → 0.70__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. holidays/__init__.py +1 -1
  2. holidays/calendars/__init__.py +2 -1
  3. holidays/calendars/balinese_saka.py +112 -0
  4. holidays/calendars/buddhist.py +1 -1
  5. holidays/calendars/chinese.py +1 -1
  6. holidays/calendars/custom.py +1 -1
  7. holidays/calendars/gregorian.py +1 -1
  8. holidays/calendars/hebrew.py +1 -1
  9. holidays/calendars/hindu.py +866 -2
  10. holidays/calendars/islamic.py +161 -1
  11. holidays/calendars/julian.py +1 -1
  12. holidays/calendars/julian_revised.py +1 -1
  13. holidays/calendars/persian.py +1 -1
  14. holidays/calendars/sinhala.py +1 -1
  15. holidays/calendars/thai.py +309 -257
  16. holidays/constants.py +3 -1
  17. holidays/countries/__init__.py +7 -1
  18. holidays/countries/afghanistan.py +17 -7
  19. holidays/countries/albania.py +16 -7
  20. holidays/countries/algeria.py +14 -10
  21. holidays/countries/american_samoa.py +12 -6
  22. holidays/countries/andorra.py +5 -4
  23. holidays/countries/angola.py +15 -14
  24. holidays/countries/antigua_and_barbuda.py +145 -0
  25. holidays/countries/argentina.py +787 -169
  26. holidays/countries/armenia.py +5 -6
  27. holidays/countries/aruba.py +11 -9
  28. holidays/countries/australia.py +21 -20
  29. holidays/countries/austria.py +3 -1
  30. holidays/countries/azerbaijan.py +30 -19
  31. holidays/countries/bahamas.py +13 -11
  32. holidays/countries/bahrain.py +14 -7
  33. holidays/countries/bangladesh.py +5 -4
  34. holidays/countries/barbados.py +11 -9
  35. holidays/countries/belarus.py +15 -15
  36. holidays/countries/belgium.py +8 -6
  37. holidays/countries/belize.py +7 -6
  38. holidays/countries/bolivia.py +12 -11
  39. holidays/countries/bosnia_and_herzegovina.py +21 -11
  40. holidays/countries/botswana.py +8 -6
  41. holidays/countries/brazil.py +8 -7
  42. holidays/countries/brunei.py +56 -62
  43. holidays/countries/bulgaria.py +9 -10
  44. holidays/countries/burkina_faso.py +14 -5
  45. holidays/countries/burundi.py +17 -12
  46. holidays/countries/cambodia.py +15 -24
  47. holidays/countries/cameroon.py +16 -7
  48. holidays/countries/canada.py +13 -12
  49. holidays/countries/chad.py +15 -6
  50. holidays/countries/chile.py +29 -28
  51. holidays/countries/china.py +39 -38
  52. holidays/countries/colombia.py +15 -20
  53. holidays/countries/congo.py +6 -7
  54. holidays/countries/costa_rica.py +11 -10
  55. holidays/countries/croatia.py +8 -5
  56. holidays/countries/cuba.py +30 -27
  57. holidays/countries/curacao.py +6 -4
  58. holidays/countries/cyprus.py +4 -5
  59. holidays/countries/czechia.py +7 -6
  60. holidays/countries/denmark.py +5 -6
  61. holidays/countries/djibouti.py +11 -3
  62. holidays/countries/dominica.py +18 -16
  63. holidays/countries/dominican_republic.py +6 -4
  64. holidays/countries/ecuador.py +5 -4
  65. holidays/countries/egypt.py +10 -11
  66. holidays/countries/el_salvador.py +6 -5
  67. holidays/countries/estonia.py +3 -1
  68. holidays/countries/eswatini.py +6 -4
  69. holidays/countries/ethiopia.py +26 -11
  70. holidays/countries/fiji.py +183 -0
  71. holidays/countries/finland.py +11 -10
  72. holidays/countries/france.py +6 -9
  73. holidays/countries/gabon.py +17 -8
  74. holidays/countries/georgia.py +7 -7
  75. holidays/countries/germany.py +11 -11
  76. holidays/countries/ghana.py +14 -6
  77. holidays/countries/greece.py +4 -5
  78. holidays/countries/greenland.py +5 -6
  79. holidays/countries/guam.py +12 -6
  80. holidays/countries/guatemala.py +7 -9
  81. holidays/countries/guernsey.py +37 -34
  82. holidays/countries/guinea.py +182 -0
  83. holidays/countries/haiti.py +6 -5
  84. holidays/countries/honduras.py +8 -4
  85. holidays/countries/hongkong.py +49 -60
  86. holidays/countries/hungary.py +26 -23
  87. holidays/countries/iceland.py +5 -4
  88. holidays/countries/india.py +494 -174
  89. holidays/countries/indonesia.py +68 -108
  90. holidays/countries/iran.py +18 -9
  91. holidays/countries/ireland.py +5 -4
  92. holidays/countries/isle_of_man.py +2 -2
  93. holidays/countries/israel.py +4 -5
  94. holidays/countries/italy.py +5 -4
  95. holidays/countries/ivory_coast.py +156 -0
  96. holidays/countries/jamaica.py +6 -4
  97. holidays/countries/japan.py +5 -5
  98. holidays/countries/jersey.py +29 -26
  99. holidays/countries/jordan.py +13 -6
  100. holidays/countries/kazakhstan.py +72 -51
  101. holidays/countries/kenya.py +28 -18
  102. holidays/countries/kuwait.py +14 -7
  103. holidays/countries/kyrgyzstan.py +11 -6
  104. holidays/countries/laos.py +21 -29
  105. holidays/countries/latvia.py +7 -5
  106. holidays/countries/lesotho.py +6 -5
  107. holidays/countries/liechtenstein.py +5 -5
  108. holidays/countries/lithuania.py +4 -5
  109. holidays/countries/luxembourg.py +5 -3
  110. holidays/countries/macau.py +480 -0
  111. holidays/countries/madagascar.py +5 -4
  112. holidays/countries/malawi.py +6 -4
  113. holidays/countries/malaysia.py +30 -18
  114. holidays/countries/maldives.py +14 -7
  115. holidays/countries/malta.py +10 -19
  116. holidays/countries/marshall_islands.py +6 -4
  117. holidays/countries/mauritania.py +13 -6
  118. holidays/countries/mexico.py +8 -7
  119. holidays/countries/moldova.py +6 -4
  120. holidays/countries/monaco.py +6 -4
  121. holidays/countries/montenegro.py +16 -7
  122. holidays/countries/morocco.py +13 -8
  123. holidays/countries/mozambique.py +3 -1
  124. holidays/countries/namibia.py +7 -5
  125. holidays/countries/netherlands.py +6 -6
  126. holidays/countries/new_zealand.py +3 -1
  127. holidays/countries/nicaragua.py +6 -5
  128. holidays/countries/nigeria.py +13 -5
  129. holidays/countries/north_macedonia.py +13 -5
  130. holidays/countries/northern_mariana_islands.py +12 -6
  131. holidays/countries/norway.py +15 -15
  132. holidays/countries/pakistan.py +48 -18
  133. holidays/countries/palau.py +13 -11
  134. holidays/countries/panama.py +9 -8
  135. holidays/countries/papua_new_guinea.py +25 -21
  136. holidays/countries/paraguay.py +10 -9
  137. holidays/countries/peru.py +4 -5
  138. holidays/countries/philippines.py +32 -18
  139. holidays/countries/poland.py +7 -6
  140. holidays/countries/portugal.py +13 -15
  141. holidays/countries/puerto_rico.py +12 -6
  142. holidays/countries/qatar.py +172 -0
  143. holidays/countries/romania.py +6 -4
  144. holidays/countries/russia.py +6 -4
  145. holidays/countries/saint_kitts_and_nevis.py +24 -22
  146. holidays/countries/saint_lucia.py +8 -7
  147. holidays/countries/samoa.py +7 -6
  148. holidays/countries/san_marino.py +4 -3
  149. holidays/countries/saudi_arabia.py +15 -15
  150. holidays/countries/serbia.py +3 -4
  151. holidays/countries/seychelles.py +22 -26
  152. holidays/countries/singapore.py +33 -38
  153. holidays/countries/slovakia.py +6 -5
  154. holidays/countries/slovenia.py +7 -6
  155. holidays/countries/south_africa.py +8 -6
  156. holidays/countries/south_korea.py +25 -32
  157. holidays/countries/spain.py +31 -24
  158. holidays/countries/sri_lanka.py +52 -42
  159. holidays/countries/sweden.py +20 -19
  160. holidays/countries/switzerland.py +6 -5
  161. holidays/countries/taiwan.py +230 -31
  162. holidays/countries/tanzania.py +34 -27
  163. holidays/countries/thailand.py +134 -142
  164. holidays/countries/timor_leste.py +38 -17
  165. holidays/countries/tonga.py +46 -42
  166. holidays/countries/tunisia.py +9 -3
  167. holidays/countries/turkey.py +17 -9
  168. holidays/countries/tuvalu.py +12 -11
  169. holidays/countries/ukraine.py +54 -54
  170. holidays/countries/united_arab_emirates.py +43 -30
  171. holidays/countries/united_kingdom.py +7 -6
  172. holidays/countries/united_states.py +130 -86
  173. holidays/countries/united_states_minor_outlying_islands.py +12 -6
  174. holidays/countries/united_states_virgin_islands.py +12 -6
  175. holidays/countries/uruguay.py +10 -9
  176. holidays/countries/uzbekistan.py +16 -7
  177. holidays/countries/vanuatu.py +7 -5
  178. holidays/countries/vatican_city.py +16 -15
  179. holidays/countries/venezuela.py +11 -14
  180. holidays/countries/vietnam.py +15 -11
  181. holidays/countries/zambia.py +8 -6
  182. holidays/countries/zimbabwe.py +6 -4
  183. holidays/deprecations/v1_incompatibility.py +1 -1
  184. holidays/financial/__init__.py +1 -1
  185. holidays/financial/brasil_bolsa_balcao.py +14 -13
  186. holidays/financial/european_central_bank.py +7 -6
  187. holidays/financial/ice_futures_europe.py +7 -6
  188. holidays/financial/ny_stock_exchange.py +13 -10
  189. holidays/groups/__init__.py +2 -1
  190. holidays/groups/balinese_saka.py +45 -0
  191. holidays/groups/buddhist.py +1 -1
  192. holidays/groups/chinese.py +69 -4
  193. holidays/groups/christian.py +1 -1
  194. holidays/groups/custom.py +1 -1
  195. holidays/groups/eastern.py +1 -1
  196. holidays/groups/hebrew.py +1 -1
  197. holidays/groups/hindu.py +256 -1
  198. holidays/groups/international.py +1 -1
  199. holidays/groups/islamic.py +17 -3
  200. holidays/groups/persian.py +1 -1
  201. holidays/groups/sinhala.py +1 -1
  202. holidays/groups/thai.py +1 -7
  203. holidays/helpers.py +1 -1
  204. holidays/holiday_base.py +410 -273
  205. holidays/ical.py +228 -0
  206. holidays/locale/ar_QA/LC_MESSAGES/QA.mo +0 -0
  207. holidays/locale/de/LC_MESSAGES/PL.mo +0 -0
  208. holidays/locale/en_CI/LC_MESSAGES/CI.mo +0 -0
  209. holidays/locale/en_HK/LC_MESSAGES/HK.mo +0 -0
  210. holidays/locale/en_IN/LC_MESSAGES/IN.mo +0 -0
  211. holidays/locale/en_MO/LC_MESSAGES/MO.mo +0 -0
  212. holidays/locale/en_PK/LC_MESSAGES/PK.mo +0 -0
  213. holidays/locale/en_TL/LC_MESSAGES/TL.mo +0 -0
  214. holidays/locale/en_US/LC_MESSAGES/AR.mo +0 -0
  215. holidays/locale/en_US/LC_MESSAGES/CI.mo +0 -0
  216. holidays/locale/en_US/LC_MESSAGES/GN.mo +0 -0
  217. holidays/locale/en_US/LC_MESSAGES/HK.mo +0 -0
  218. holidays/locale/en_US/LC_MESSAGES/IN.mo +0 -0
  219. holidays/locale/en_US/LC_MESSAGES/MO.mo +0 -0
  220. holidays/locale/en_US/LC_MESSAGES/PK.mo +0 -0
  221. holidays/locale/en_US/LC_MESSAGES/QA.mo +0 -0
  222. holidays/locale/en_US/LC_MESSAGES/TL.mo +0 -0
  223. holidays/locale/en_US/LC_MESSAGES/TW.mo +0 -0
  224. holidays/locale/es/LC_MESSAGES/AR.mo +0 -0
  225. holidays/locale/fr/LC_MESSAGES/CI.mo +0 -0
  226. holidays/locale/fr/LC_MESSAGES/GN.mo +0 -0
  227. holidays/locale/hi/LC_MESSAGES/IN.mo +0 -0
  228. holidays/locale/pt_MO/LC_MESSAGES/MO.mo +0 -0
  229. holidays/locale/pt_TL/LC_MESSAGES/TL.mo +0 -0
  230. holidays/locale/tet/LC_MESSAGES/TL.mo +0 -0
  231. holidays/locale/th/LC_MESSAGES/HK.mo +0 -0
  232. holidays/locale/th/LC_MESSAGES/MO.mo +0 -0
  233. holidays/locale/th/LC_MESSAGES/TL.mo +0 -0
  234. holidays/locale/th/LC_MESSAGES/TW.mo +0 -0
  235. holidays/locale/uk/LC_MESSAGES/AR.mo +0 -0
  236. holidays/locale/ur_PK/LC_MESSAGES/PK.mo +0 -0
  237. holidays/locale/zh_CN/LC_MESSAGES/HK.mo +0 -0
  238. holidays/locale/zh_CN/LC_MESSAGES/MO.mo +0 -0
  239. holidays/locale/zh_CN/LC_MESSAGES/TW.mo +0 -0
  240. holidays/locale/zh_HK/LC_MESSAGES/HK.mo +0 -0
  241. holidays/locale/zh_MO/LC_MESSAGES/MO.mo +0 -0
  242. holidays/locale/zh_TW/LC_MESSAGES/TW.mo +0 -0
  243. holidays/mixins.py +2 -2
  244. holidays/observed_holiday_base.py +5 -2
  245. holidays/registry.py +7 -1
  246. holidays/utils.py +151 -151
  247. holidays/version.py +2 -2
  248. holidays-0.70.dist-info/METADATA +1404 -0
  249. {holidays-0.68.dist-info → holidays-0.70.dist-info}/RECORD +253 -222
  250. {holidays-0.68.dist-info → holidays-0.70.dist-info}/WHEEL +1 -1
  251. holidays-0.68.dist-info/AUTHORS → holidays-0.70.dist-info/licenses/AUTHORS.md +7 -2
  252. {holidays-0.68.dist-info → holidays-0.70.dist-info/licenses}/LICENSE +1 -1
  253. holidays-0.68.dist-info/METADATA +0 -1080
  254. {holidays-0.68.dist-info → holidays-0.70.dist-info}/top_level.txt +0 -0
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -18,13 +18,12 @@ from holidays.holiday_base import HolidayBase
18
18
 
19
19
 
20
20
  class Armenia(HolidayBase, ChristianHolidays, InternationalHolidays):
21
- """
22
- Armenia holidays.
21
+ """Armenia holidays.
23
22
 
24
23
  References:
25
- - https://en.wikipedia.org/wiki/Public_holidays_in_Armenia
26
- - http://www.parliament.am/legislation.php?sel=show&ID=1274&lang=arm&enc=utf8
27
- - https://www.arlis.am/documentview.aspx?docid=259
24
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Armenia>
25
+ * <http://www.parliament.am/legislation.php?sel=show&ID=1274&lang=arm&enc=utf8>
26
+ * <https://www.arlis.am/documentview.aspx?docid=259>
28
27
  """
29
28
 
30
29
  country = "AM"
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -19,14 +19,16 @@ from holidays.holiday_base import HolidayBase
19
19
 
20
20
 
21
21
  class Aruba(HolidayBase, ChristianHolidays, InternationalHolidays):
22
- """
23
- https://www.government.aw/information-public-services/hiring-people_47940/item/holidays_43823.html
24
- https://www.overheid.aw/informatie-dienstverlening/ondernemen-en-werken-subthemas_46970/item/feestdagen_37375.html
25
- https://www.gobierno.aw/informacion-tocante-servicio/haci-negoshi-y-traha-sub-topics_47789/item/dia-di-fiesta_41242.html
26
- https://www.visitaruba.com/about-aruba/national-holidays-and-celebrations/
27
- https://www.arubatoday.com/we-celebrate-our-national-hero-betico-croes/
28
- https://www.caribbeannewsglobal.com/carnival-monday-remains-a-festive-day-in-aruba/
29
- https://www.aruba.com/us/calendar/national-anthem-and-flag-day
22
+ """Aruba holidays.
23
+
24
+ References:
25
+ * <https://www.government.aw/information-public-services/hiring-people_47940/item/holidays_43823.html>
26
+ * <https://www.overheid.aw/informatie-dienstverlening/ondernemen-en-werken-subthemas_46970/item/feestdagen_37375.html>
27
+ * <https://www.gobierno.aw/informacion-tocante-servicio/haci-negoshi-y-traha-sub-topics_47789/item/dia-di-fiesta_41242.html>
28
+ * <https://www.visitaruba.com/about-aruba/national-holidays-and-celebrations/>
29
+ * <https://www.arubatoday.com/we-celebrate-our-national-hero-betico-croes/>
30
+ * <https://www.caribbeannewsglobal.com/carnival-monday-remains-a-festive-day-in-aruba/>
31
+ * <https://www.aruba.com/us/calendar/national-anthem-and-flag-day>
30
32
  """
31
33
 
32
34
  country = "AW"
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -26,26 +26,27 @@ from holidays.observed_holiday_base import (
26
26
 
27
27
 
28
28
  class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
29
- """
29
+ """Australia holidays.
30
+
30
31
  References:
31
- - https://www.qld.gov.au/recreation/travel/holidays
32
- - `ACT Holidays Act 1958 <https://www.legislation.act.gov.au/a/1958-19>`_
33
- - `ACT 2013-2023 <https://www.cmtedd.act.gov.au/archived-content/holidays/previous-years>`_
34
- - `NSW Banks and Bank Holidays Act 1912 <https://legislation.nsw.gov.au/view/html/repealed/current/act-1912-043>`_
35
- - `NSW Public Holidays Act 2010 <https://legislation.nsw.gov.au/view/html/inforce/current/act-2010-115>`_
36
- - `NT Public Holidays Act 1981 <https://legislation.nt.gov.au/api/sitecore/Act/PDF?id=12145>`_
37
- - `QLD Holidays Act 1983 <https://www.legislation.qld.gov.au/view/html/inforce/current/act-1983-018>`_
38
- - `QLD 2012-2024 <https://www.qld.gov.au/recreation/travel/holidays/public>`_
39
- - `SA Holidays Act 1910 <https://www.legislation.sa.gov.au/LZ/C/A/HOLIDAYS%20ACT%201910.aspx>`_
40
- - `SA Public Holidays Act 2023 <https://www.legislation.sa.gov.au/LZ/C/A/Public%20Holidays%20Act%202023.aspx>`_
41
- - `SA 2023-2024 <https://www.safework.sa.gov.au/resources/public-holidays>`_
42
- - `SA 2007-2021 <https://safework.sa.gov.au/__data/assets/pdf_file/0007/235474/Public-Holidays-since-2007.pdf>`_
43
- - `TAS Statutory Holidays Act 2000 <https://www.legislation.tas.gov.au/view/html/inforce/current/act-2000-096>`_
44
- - `VIC Public Holidays Act 1993 <https://www.legislation.vic.gov.au/in-force/acts/public-holidays-act-1993/027>`_
45
- - `VIC Minister appointment <https://www.gazette.vic.gov.au/gazette/Gazettes2015/GG2015S229.pdf>`_
46
- - `VIC 2018-2024 <https://business.vic.gov.au/business-information/public-holidays>`_
47
- - `WA Public and Bank Holidays Act 1972 <https://www.legislation.wa.gov.au/legislation/statutes.nsf/law_a639.html>`_
48
- - `WA 2019-2023 <https://www.commerce.wa.gov.au/labour-relations/previous-years-public-holiday-dates>`_
32
+ * <https://www.qld.gov.au/recreation/travel/holidays>
33
+ * [ACT Holidays Act 1958](https://www.legislation.act.gov.au/a/1958-19)
34
+ * [ACT 2013-2023](https://www.cmtedd.act.gov.au/archived-content/holidays/previous-years)
35
+ * [NSW Banks and Bank Holidays Act 1912](https://legislation.nsw.gov.au/view/html/repealed/current/act-1912-043)
36
+ * [NSW Public Holidays Act 2010](https://legislation.nsw.gov.au/view/html/inforce/current/act-2010-115)
37
+ * [NT Public Holidays Act 1981](https://legislation.nt.gov.au/api/sitecore/Act/PDF?id=12145)
38
+ * [QLD Holidays Act 1983](https://www.legislation.qld.gov.au/view/html/inforce/current/act-1983-018)
39
+ * [QLD 2012-2024](https://www.qld.gov.au/recreation/travel/holidays/public)
40
+ * [SA Holidays Act 1910](https://www.legislation.sa.gov.au/LZ/C/A/HOLIDAYS%20ACT%201910.aspx)
41
+ * [SA Public Holidays Act 2023](https://www.legislation.sa.gov.au/LZ/C/A/Public%20Holidays%20Act%202023.aspx)
42
+ * [SA 2023-2024](https://www.safework.sa.gov.au/resources/public-holidays)
43
+ * [SA 2007-2021](https://safework.sa.gov.au/__data/assets/pdf_file/0007/235474/Public-Holidays-since-2007.pdf)
44
+ * [TAS Statutory Holidays Act 2000](https://www.legislation.tas.gov.au/view/html/inforce/current/act-2000-096)
45
+ * [VIC Public Holidays Act 1993](https://www.legislation.vic.gov.au/in-force/acts/public-holidays-act-1993/027)
46
+ * [VIC Minister appointment](https://www.gazette.vic.gov.au/gazette/Gazettes2015/GG2015S229.pdf)
47
+ * [VIC 2018-2024](https://business.vic.gov.au/business-information/public-holidays)
48
+ * [WA Public and Bank Holidays Act 1972](https://www.legislation.wa.gov.au/legislation/statutes.nsf/law_a639.html)
49
+ * [WA 2019-2023](https://www.commerce.wa.gov.au/labour-relations/previous-years-public-holiday-dates)
49
50
  """
50
51
 
51
52
  country = "AU"
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -18,6 +18,8 @@ from holidays.holiday_base import HolidayBase
18
18
 
19
19
 
20
20
  class Austria(HolidayBase, ChristianHolidays, InternationalHolidays):
21
+ """Austria holidays."""
22
+
21
23
  country = "AT"
22
24
  default_language = "de"
23
25
  supported_categories = (BANK, PUBLIC)
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -25,11 +25,12 @@ from holidays.observed_holiday_base import (
25
25
 
26
26
 
27
27
  class Azerbaijan(ObservedHolidayBase, InternationalHolidays, IslamicHolidays, StaticHolidays):
28
- """
28
+ """Azerbaijan holidays.
29
+
29
30
  References:
30
- - https://en.wikipedia.org/wiki/Public_holidays_in_Azerbaijan
31
- - https://az.wikipedia.org/wiki/Az%C9%99rbaycan%C4%B1n_d%C3%B6vl%C9%99t_bayramlar%C4%B1_v%C9%99_x%C3%BCsusi_g%C3%BCnl%C9%99ri
32
- - https://www.sosial.gov.az/en/prod-calendar
31
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Azerbaijan>
32
+ * <https://az.wikipedia.org/wiki/Az%C9%99rbaycan%C4%B1n_d%C3%B6vl%C9%99t_bayramlar%C4%B1_v%C9%99_x%C3%BCsusi_g%C3%BCnl%C9%99ri>
33
+ * <https://www.sosial.gov.az/en/prod-calendar>
33
34
  """
34
35
 
35
36
  country = "AZ"
@@ -44,9 +45,17 @@ class Azerbaijan(ObservedHolidayBase, InternationalHolidays, IslamicHolidays, St
44
45
  supported_languages = ("az", "en_US", "uk")
45
46
  start_year = 1990
46
47
 
47
- def __init__(self, *args, **kwargs):
48
+ def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
49
+ """
50
+ Args:
51
+ islamic_show_estimated:
52
+ Whether to add "estimated" label to Islamic holidays name
53
+ if holiday date is estimated.
54
+ """
48
55
  InternationalHolidays.__init__(self)
49
- IslamicHolidays.__init__(self, AzerbaijanIslamicHolidays)
56
+ IslamicHolidays.__init__(
57
+ self, cls=AzerbaijanIslamicHolidays, show_estimated=islamic_show_estimated
58
+ )
50
59
  StaticHolidays.__init__(self, AzerbaijanStaticHolidays)
51
60
  kwargs.setdefault("observed_rule", SAT_SUN_TO_NEXT_WORKDAY)
52
61
  kwargs.setdefault("observed_since", 2006)
@@ -253,20 +262,22 @@ class AzerbaijanIslamicHolidays(_CustomIslamicHolidays):
253
262
 
254
263
 
255
264
  class AzerbaijanStaticHolidays:
256
- """
265
+ """Azerbaijan special holidays.
266
+
257
267
  Substituted holidays references:
258
- - https://nk.gov.az/az/senedler/qerarlar/is-va-istirahat-gunlarinin-yerlarinin-dayisdirilmasi-haqqinda-5423
259
- - https://nk.gov.az/az/senedler/qerarlar/is-va-istirahat-gunlarinin-yerlarinin--dayisdirilmasi-haqqinda-5982
260
- - https://nk.gov.az/az/senedler/qerarlar/is-va-istirahat-gunlarinin-yerlarinin-dayisdirilmasi-haqqinda-6488
261
- - https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-7047
262
- - https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-7466
263
- - https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-7576
264
- - https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-7843
265
- - https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-8332
266
- - https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-8449
267
- - https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-8623
268
+ * <https://nk.gov.az/az/senedler/qerarlar/is-va-istirahat-gunlarinin-yerlarinin-dayisdirilmasi-haqqinda-5423>
269
+ * <https://nk.gov.az/az/senedler/qerarlar/is-va-istirahat-gunlarinin-yerlarinin--dayisdirilmasi-haqqinda-5982>
270
+ * <https://nk.gov.az/az/senedler/qerarlar/is-va-istirahat-gunlarinin-yerlarinin-dayisdirilmasi-haqqinda-6488>
271
+ * <https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-7047>
272
+ * <https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-7466>
273
+ * <https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-7576>
274
+ * <https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-7843>
275
+ * <https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-8332>
276
+ * <https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-8449>
277
+ * <https://nk.gov.az/az/senedler/qerarlar/is-ve-istirahet-gunlerinin-yerlerinin-deyisdirilme-8623>
278
+
268
279
  Special holidays references:
269
- - https://www.msk.gov.az/en/elections/pages/municipal-elections/belediyye-29-01-2025
280
+ * <https://www.msk.gov.az/en/elections/pages/municipal-elections/belediyye-29-01-2025>
270
281
  """
271
282
 
272
283
  eid_al_adha = tr("Qurban bayrami")
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -23,18 +23,20 @@ from holidays.observed_holiday_base import (
23
23
 
24
24
 
25
25
  class Bahamas(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
26
- """
26
+ """Bahamas holidays.
27
+
27
28
  References:
28
- - https://en.wikipedia.org/wiki/Public_holidays_in_the_Bahamas
29
- - https://laws.bahamas.gov.bs/cms/images/LEGISLATION/PRINCIPAL/1938/1938-0015/PublicHolidaysAct_1.pdf
30
- - https://laws.bahamas.gov.bs/cms/images/LEGISLATION/PRINCIPAL/2013/2013-0040/MajorityRulePublicHolidayAct2013_1.pdf
31
- - https://laws.bahamas.gov.bs/cms/images/LEGISLATION/PRINCIPAL/2013/2013-0009/RandolFawkesLabourDayAct2013_1.pdf
32
- - http://www.tribune242.com/news/2013/oct/12/national-heroes-day-formally-established/
33
- - https://eleutheranews.com/?p=3594
29
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_the_Bahamas>
30
+ * <https://laws.bahamas.gov.bs/cms/images/LEGISLATION/PRINCIPAL/1938/1938-0015/PublicHolidaysAct_1.pdf>
31
+ * <https://laws.bahamas.gov.bs/cms/images/LEGISLATION/PRINCIPAL/2013/2013-0040/MajorityRulePublicHolidayAct2013_1.pdf>
32
+ * <https://laws.bahamas.gov.bs/cms/images/LEGISLATION/PRINCIPAL/2013/2013-0009/RandolFawkesLabourDayAct2013_1.pdf>
33
+ * <http://www.tribune242.com/news/2013/oct/12/national-heroes-day-formally-established/>
34
+ * <https://eleutheranews.com/?p=3594>
35
+
34
36
  Checked With:
35
- - https://www.bahamashclondon.net/consular-information/public-holidays/
36
- - https://bisxbahamas.com/wp-content/uploads/2020/12/Trading-Calendar-2021.pdf
37
- - https://publicholidays.la/the-bahamas/2022-dates/ # Official source no longer accessible
37
+ * <https://www.bahamashclondon.net/consular-information/public-holidays/>
38
+ * <https://bisxbahamas.com/wp-content/uploads/2020/12/Trading-Calendar-2021.pdf>
39
+ * <https://publicholidays.la/the-bahamas/2022-dates/>
38
40
  """
39
41
 
40
42
  country = "BS"
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -19,12 +19,11 @@ from holidays.holiday_base import HolidayBase
19
19
 
20
20
 
21
21
  class Bahrain(HolidayBase, InternationalHolidays, IslamicHolidays):
22
- """
23
- Bahrain holidays.
22
+ """Bahrain holidays.
24
23
 
25
24
  References:
26
- - https://www.cbb.gov.bh/official-bank-holidays/
27
- - https://www.officeholidays.com/countries/bahrain/
25
+ * <https://www.cbb.gov.bh/official-bank-holidays/>
26
+ * <https://www.officeholidays.com/countries/bahrain/>
28
27
  """
29
28
 
30
29
  country = "BH"
@@ -34,9 +33,17 @@ class Bahrain(HolidayBase, InternationalHolidays, IslamicHolidays):
34
33
  supported_languages = ("ar", "en_US")
35
34
  weekend = {FRI, SAT}
36
35
 
37
- def __init__(self, *args, **kwargs):
36
+ def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
37
+ """
38
+ Args:
39
+ islamic_show_estimated:
40
+ Whether to add "estimated" label to Islamic holidays name
41
+ if holiday date is estimated.
42
+ """
38
43
  InternationalHolidays.__init__(self)
39
- IslamicHolidays.__init__(self, cls=BahrainIslamicHolidays)
44
+ IslamicHolidays.__init__(
45
+ self, cls=BahrainIslamicHolidays, show_estimated=islamic_show_estimated
46
+ )
40
47
  super().__init__(*args, **kwargs)
41
48
 
42
49
  def _populate_public_holidays(self):
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -16,10 +16,11 @@ from holidays.holiday_base import HolidayBase
16
16
 
17
17
 
18
18
  class Bangladesh(HolidayBase, InternationalHolidays):
19
- """
19
+ """Bangladesh holidays.
20
+
20
21
  References:
21
- - https://mopa.gov.bd/sites/default/files/files/mopa.gov.bd/public_holiday/61c35b73_e335_462a_9bcf_4695b23b6d82/reg4-2019-212.PDF
22
- - https://en.wikipedia.org/wiki/Public_holidays_in_Bangladesh
22
+ * <https://mopa.gov.bd/sites/default/files/files/mopa.gov.bd/public_holiday/61c35b73_e335_462a_9bcf_4695b23b6d82/reg4-2019-212.PDF>
23
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Bangladesh>
23
24
  """
24
25
 
25
26
  country = "BD"
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -21,14 +21,16 @@ from holidays.observed_holiday_base import (
21
21
 
22
22
 
23
23
  class Barbados(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
24
- """
25
- https://en.wikipedia.org/wiki/Public_holidays_in_Barbados
26
- https://www.timeanddate.com/holidays/barbados/
27
- [Public Holidays Act Cap.352] http://barbadosparliament-laws.com/en/showdoc/cs/352
28
- https://labour.gov.bb/pdf/Library/Other%20Docs/Public%20Holidays%20for%20the%20Year%202018.pdf
29
- https://labour.gov.bb/wp-content/uploads/2020/04/Public-Holidays-for-the-Year-2021.pdf
30
- https://gisbarbados.gov.bb/download/public-holidays-for-2022/
31
- https://gisbarbados.gov.bb/download/public-holidays-for-2023/
24
+ """Barbados holidays.
25
+
26
+ References:
27
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Barbados>
28
+ * <https://www.timeanddate.com/holidays/barbados/>
29
+ * [Public Holidays Act Cap.352](http://barbadosparliament-laws.com/en/showdoc/cs/352)
30
+ * <https://labour.gov.bb/pdf/Library/Other%20Docs/Public%20Holidays%20for%20the%20Year%202018.pdf>
31
+ * <https://labour.gov.bb/wp-content/uploads/2020/04/Public-Holidays-for-the-Year-2021.pdf>
32
+ * <https://gisbarbados.gov.bb/download/public-holidays-for-2022/>
33
+ * <https://gisbarbados.gov.bb/download/public-holidays-for-2023/>
32
34
  """
33
35
 
34
36
  country = "BB"
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -20,20 +20,19 @@ from holidays.holiday_base import HolidayBase
20
20
 
21
21
 
22
22
  class Belarus(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
23
- """
24
- Belarus holidays.
23
+ """Belarus holidays.
25
24
 
26
25
  References:
27
- - https://president.gov.by/en/gosudarstvo/prazdniki
28
- - https://president.gov.by/be/gosudarstvo/prazdniki
29
- - https://president.gov.by/ru/gosudarstvo/prazdniki
30
- - http://www.belarus.by/en/about-belarus/national-holidays
31
- - http://laws.newsby.org/documents/ukazp/pos05/ukaz05806.htm
32
- - http://president.gov.by/uploads/documents/2019/464uk.pdf
33
- - https://ru.wikipedia.org/wiki/Праздники_Белоруссии
26
+ * <https://president.gov.by/en/gosudarstvo/prazdniki>
27
+ * <https://president.gov.by/be/gosudarstvo/prazdniki>
28
+ * <https://president.gov.by/ru/gosudarstvo/prazdniki>
29
+ * <http://www.belarus.by/en/about-belarus/national-holidays>
30
+ * <http://laws.newsby.org/documents/ukazp/pos05/ukaz05806.htm>
31
+ * <http://president.gov.by/uploads/documents/2019/464uk.pdf>
32
+ * <https://ru.wikipedia.org/wiki/Праздники_Белоруссии>
34
33
 
35
34
  Cross-checked With:
36
- - https://president.gov.by/en/gosudarstvo/prazdniki/calendar-2024
35
+ * <https://president.gov.by/en/gosudarstvo/prazdniki/calendar-2024>
37
36
  """
38
37
 
39
38
  country = "BY"
@@ -146,10 +145,11 @@ class BLR(Belarus):
146
145
 
147
146
 
148
147
  class BelarusStaticHolidays:
149
- """
150
- References
151
- - https://belarusbank.by/en/financial-institutions/11151
152
- - https://belarusbank.by/en/financial-institutions/11160
148
+ """Belarus special holidays.
149
+
150
+ References:
151
+ * <https://belarusbank.by/en/financial-institutions/11151>
152
+ * <https://belarusbank.by/en/financial-institutions/11160>
153
153
  """
154
154
 
155
155
  # Date format (see strftime() Format Codes)
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -18,11 +18,13 @@ from holidays.holiday_base import HolidayBase
18
18
 
19
19
 
20
20
  class Belgium(HolidayBase, ChristianHolidays, InternationalHolidays):
21
- """
22
- https://en.wikipedia.org/wiki/Public_holidays_in_Belgium
23
- https://www.belgium.be/nl/over_belgie/land/belgie_in_een_notendop/feestdagen
24
- https://nl.wikipedia.org/wiki/Feestdagen_in_Belgi%C3%AB
25
- https://www.nbb.be/en/about-national-bank/national-bank-belgium/public-holidays
21
+ """Belgium holidays.
22
+
23
+ References:
24
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Belgium>
25
+ * <https://www.belgium.be/nl/over_belgie/land/belgie_in_een_notendop/feestdagen>
26
+ * <https://nl.wikipedia.org/wiki/Feestdagen_in_Belgi%C3%AB>
27
+ * <https://www.nbb.be/en/about-national-bank/national-bank-belgium/public-holidays>
26
28
  """
27
29
 
28
30
  country = "BE"
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -20,12 +20,13 @@ from holidays.observed_holiday_base import (
20
20
 
21
21
 
22
22
  class Belize(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
23
- """
23
+ """Belize holidays.
24
+
24
25
  References:
25
- - https://en.wikipedia.org/wiki/Public_holidays_in_Belize
26
- - http://www.belizelaw.org/web/lawadmin/PDF%20files/cap289.pdf
27
- - https://www.pressoffice.gov.bz/public-and-bank-holidays-2022-updated/
28
- - https://www.pressoffice.gov.bz/government-of-belize-establishes-new-public-and-bank-holidays/
26
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Belize>
27
+ * <http://www.belizelaw.org/web/lawadmin/PDF%20files/cap289.pdf>
28
+ * <https://www.pressoffice.gov.bz/public-and-bank-holidays-2022-updated/>
29
+ * <https://www.pressoffice.gov.bz/government-of-belize-establishes-new-public-and-bank-holidays/>
29
30
  """
30
31
 
31
32
  country = "BZ"
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -22,17 +22,18 @@ from holidays.observed_holiday_base import (
22
22
 
23
23
 
24
24
  class Bolivia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
25
- """
25
+ """Bolivia holidays.
26
+
26
27
  References:
27
- - [Supreme Decree #14260] https://bolivia.infoleyes.com/norma/1141/decreto-supremo-14260
28
- - [Supreme Decree #21060] https://bolivia.infoleyes.com/norma/1211/decreto-supremo-21060
29
- - [Supreme Decree #22352] https://bolivia.infoleyes.com/norma/1310/decreto-supremo-22352
30
- - [Supreme Decree #0173] https://bolivia.infoleyes.com/norma/829/decreto-supremo-0173
31
- - [Supreme Decree #0405] https://bolivia.infoleyes.com/norma/1252/decreto-supremo-0405
32
- - [Supreme Decree #1210] https://bolivia.infoleyes.com/norma/3756/decreto-supremo-1210
33
- - [Supreme Decree #2750] https://bolivia.infoleyes.com/norma/6023/decreto-supremo-2750
34
- - https://en.wikipedia.org/wiki/Public_holidays_in_Bolivia
35
- - https://www.officeholidays.com/countries/bolivia
28
+ * [Supreme Decree #14260](https://bolivia.infoleyes.com/norma/1141/decreto-supremo-14260)
29
+ * [Supreme Decree #21060](https://bolivia.infoleyes.com/norma/1211/decreto-supremo-21060)
30
+ * [Supreme Decree #22352](https://bolivia.infoleyes.com/norma/1310/decreto-supremo-22352)
31
+ * [Supreme Decree #0173](https://bolivia.infoleyes.com/norma/829/decreto-supremo-0173)
32
+ * [Supreme Decree #0405](https://bolivia.infoleyes.com/norma/1252/decreto-supremo-0405)
33
+ * [Supreme Decree #1210](https://bolivia.infoleyes.com/norma/3756/decreto-supremo-1210)
34
+ * [Supreme Decree #2750](https://bolivia.infoleyes.com/norma/6023/decreto-supremo-2750)
35
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Bolivia>
36
+ * <https://www.officeholidays.com/countries/bolivia>
36
37
  """
37
38
 
38
39
  country = "BO"
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -42,16 +42,18 @@ from holidays.observed_holiday_base import (
42
42
  class BosniaAndHerzegovina(
43
43
  ObservedHolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolidays
44
44
  ):
45
- """
46
- https://en.wikipedia.org/wiki/Public_holidays_in_Bosnia_and_Herzegovina
47
- https://www.paragraf.ba/neradni-dani-fbih.html
48
- https://www.paragraf.ba/neradni-dani-republike-srpske.html
49
- https://www.paragraf.ba/neradni-dani-brcko.html
45
+ """Bosnia and Herzegovina holidays.
46
+
47
+ References:
48
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Bosnia_and_Herzegovina>
49
+ * <https://www.paragraf.ba/neradni-dani-fbih.html>
50
+ * <https://www.paragraf.ba/neradni-dani-republike-srpske.html>
51
+ * <https://www.paragraf.ba/neradni-dani-brcko.html>
50
52
 
51
53
  Observed holidays rules:
52
- - BIH: if first day of New Year's Day and Labor Day fall on Sunday, observed on Tuesday.
53
- - BRC: if holiday fall on Sunday, observed on next working day.
54
- - SRP: if second day of New Year's Day and Labor Day fall on Sunday, observed on Monday.
54
+ * BIH: if first day of New Year's Day and Labor Day fall on Sunday, observed on Tuesday.
55
+ * BRC: if holiday fall on Sunday, observed on next working day.
56
+ * SRP: if second day of New Year's Day and Labor Day fall on Sunday, observed on Monday.
55
57
  """
56
58
 
57
59
  country = "BA"
@@ -73,10 +75,18 @@ class BosniaAndHerzegovina(
73
75
  "RS": "SRP",
74
76
  }
75
77
 
76
- def __init__(self, *args, **kwargs):
78
+ def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
79
+ """
80
+ Args:
81
+ islamic_show_estimated:
82
+ Whether to add "estimated" label to Islamic holidays name
83
+ if holiday date is estimated.
84
+ """
77
85
  ChristianHolidays.__init__(self, JULIAN_CALENDAR)
78
86
  InternationalHolidays.__init__(self)
79
- IslamicHolidays.__init__(self, cls=BosniaAndHerzegovinaIslamicHolidays)
87
+ IslamicHolidays.__init__(
88
+ self, cls=BosniaAndHerzegovinaIslamicHolidays, show_estimated=islamic_show_estimated
89
+ )
80
90
  kwargs.setdefault("observed_rule", SUN_TO_NEXT_MON)
81
91
  super().__init__(*args, **kwargs)
82
92
 
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -21,11 +21,13 @@ from holidays.observed_holiday_base import (
21
21
 
22
22
 
23
23
  class Botswana(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
24
- """
25
- https://www.gov.bw/public-holidays
26
- https://publicholidays.africa/botswana/2021-dates/
27
- https://www.timeanddate.com/holidays/botswana/
28
- http://www.ilo.org/dyn/travail/docs/1766/Public%20Holidays%20Act.pdf
24
+ """Botswana holidays.
25
+
26
+ References:
27
+ * <https://www.gov.bw/public-holidays>
28
+ * <https://publicholidays.africa/botswana/2021-dates/>
29
+ * <https://www.timeanddate.com/holidays/botswana/>
30
+ * <http://www.ilo.org/dyn/travail/docs/1766/Public%20Holidays%20Act.pdf>
29
31
  """
30
32
 
31
33
  country = "BW"