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
@@ -19,48 +19,49 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SAT_SUN_TO_NEXT_
19
19
 
20
20
 
21
21
  class China(ObservedHolidayBase, ChineseCalendarHolidays, InternationalHolidays, StaticHolidays):
22
- """
22
+ """China holidays.
23
+
23
24
  References:
24
- - https://en.wikipedia.org/wiki/Public_holidays_in_China
25
- - `Festivals and Public Holidays <https://zh.wikipedia.org/wiki/中华人民共和国节日与公众假期>`_
26
- - 2024 changes (Order #795) `<https://www.gov.cn/zhengce/content/202411/content_6986380.htm>`_
27
- - `2025 <https://www.gov.cn/zhengce/content/202411/content_6986382.htm>`_
28
- - `2024 <https://www.gov.cn/zhengce/content/202310/content_6911527.htm>`_
29
- - `2023 <https://www.gov.cn/gongbao/content/2023/content_5736714.htm>`_
30
- - `2022 <https://www.gov.cn/gongbao/content/2021/content_5651728.htm>`_
31
- - `2021 <https://www.gov.cn/gongbao/content/2020/content_5567750.htm>`_
32
- - `2020 Extensions <https://www.gov.cn/zhengce/zhengceku/2020-01/27/content_5472352.htm>`_
33
- - `2020 <https://www.gov.cn/gongbao/content/2019/content_5459138.htm>`_
34
- - `2019 <https://www.gov.cn/gongbao/content/2018/content_5350046.htm>`_
35
- - `2018 <https://www.gov.cn/gongbao/content/2017/content_5248221.htm>`_
36
- - `2017 <https://www.gov.cn/gongbao/content/2016/content_5148793.htm>`_
37
- - `2016 <https://www.gov.cn/gongbao/content/2016/content_2979719.htm>`_
38
- - `2015 <https://www.gov.cn/gongbao/content/2015/content_2799019.htm>`_
39
- - `2014 <https://www.gov.cn/gongbao/content/2014/content_2561299.htm>`_
40
- - `2013 <https://www.gov.cn/gongbao/content/2012/content_2292057.htm>`_
41
- - `2012 <https://www.gov.cn/gongbao/content/2011/content_2020918.htm>`_
42
- - `2011 <https://www.gov.cn/gongbao/content/2010/content_1765282.htm>`_
43
- - `2010 <https://www.gov.cn/gongbao/content/2009/content_1487011.htm>`_
44
- - `2009 <https://www.gov.cn/gongbao/content/2008/content_1175823.htm>`_
45
- - `2008 <https://www.gov.cn/gongbao/content/2008/content_859870.htm>`_
46
- - `2007 <https://www.gov.cn/gongbao/content/2007/content_503397.htm>`_
47
- - `2006 <https://zh.wikisource.org/wiki/国务院办公厅关于2006年部分节假日安排的通知>`_
48
- - `2005 <https://zh.wikisource.org/wiki/国务院办公厅关于2005年部分节假日安排的通知>`_
49
- - `2004 <https://zh.wikisource.org/wiki/国务院办公厅关于2004年部分节假日安排的通知>`_
50
- - `2003 <https://zh.wikisource.org/wiki/国务院办公厅关于2003年部分节假日休息安排的通知>`_
51
- - `2002 <https://zh.wikisource.org/wiki/国务院办公厅关于2002年部分节假日休息安排的通知>`_
52
- - `2001 <https://zh.wikisource.org/wiki/国务院办公厅关于2001年春节、“五一”、“十一”放假安排的通知>`_
25
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_China>
26
+ * [Festivals and Public Holidays](https://zh.wikipedia.org/wiki/中华人民共和国节日与公众假期)
27
+ * [2024 changes (Order #795)](https://www.gov.cn/zhengce/content/202411/content_6986380.htm)
28
+ * [2025](https://www.gov.cn/zhengce/content/202411/content_6986382.htm)
29
+ * [2024](https://www.gov.cn/zhengce/content/202310/content_6911527.htm)
30
+ * [2023](https://www.gov.cn/gongbao/content/2023/content_5736714.htm)
31
+ * [2022](https://www.gov.cn/gongbao/content/2021/content_5651728.htm)
32
+ * [2021](https://www.gov.cn/gongbao/content/2020/content_5567750.htm)
33
+ * [2020 Extensions](https://www.gov.cn/zhengce/zhengceku/2020-01/27/content_5472352.htm)
34
+ * [2020](https://www.gov.cn/gongbao/content/2019/content_5459138.htm)
35
+ * [2019](https://www.gov.cn/gongbao/content/2018/content_5350046.htm)
36
+ * [2018](https://www.gov.cn/gongbao/content/2017/content_5248221.htm)
37
+ * [2017](https://www.gov.cn/gongbao/content/2016/content_5148793.htm)
38
+ * [2016](https://www.gov.cn/gongbao/content/2016/content_2979719.htm)
39
+ * [2015](https://www.gov.cn/gongbao/content/2015/content_2799019.htm)
40
+ * [2014](https://www.gov.cn/gongbao/content/2014/content_2561299.htm)
41
+ * [2013](https://www.gov.cn/gongbao/content/2012/content_2292057.htm)
42
+ * [2012](https://www.gov.cn/gongbao/content/2011/content_2020918.htm)
43
+ * [2011](https://www.gov.cn/gongbao/content/2010/content_1765282.htm)
44
+ * [2010](https://www.gov.cn/gongbao/content/2009/content_1487011.htm)
45
+ * [2009](https://www.gov.cn/gongbao/content/2008/content_1175823.htm)
46
+ * [2008](https://www.gov.cn/gongbao/content/2008/content_859870.htm)
47
+ * [2007](https://www.gov.cn/gongbao/content/2007/content_503397.htm)
48
+ * [2006](https://zh.wikisource.org/wiki/国务院办公厅关于2006年部分节假日安排的通知)
49
+ * [2005](https://zh.wikisource.org/wiki/国务院办公厅关于2005年部分节假日安排的通知)
50
+ * [2004](https://zh.wikisource.org/wiki/国务院办公厅关于2004年部分节假日安排的通知)
51
+ * [2003](https://zh.wikisource.org/wiki/国务院办公厅关于2003年部分节假日休息安排的通知)
52
+ * [2002](https://zh.wikisource.org/wiki/国务院办公厅关于2002年部分节假日休息安排的通知)
53
+ * [2001](https://zh.wikisource.org/wiki/国务院办公厅关于2001年春节、“五一”、“十一”放假安排的通知)
53
54
 
54
55
  Checked With:
55
- - https://www.officeholidays.com/countries/china/2023
56
- - https://www.china-briefing.com/news/china-public-holiday-2023-schedule/
57
- - https://www.timeanddate.com/calendar/?year=2023&country=41
58
- - `2001-2010 <https://m.wannianli.tianqi.com/fangjiaanpai/2001.html>`_
56
+ * <https://www.officeholidays.com/countries/china/2023>
57
+ * <https://www.china-briefing.com/news/china-public-holiday-2023-schedule/>
58
+ * <https://www.timeanddate.com/calendar/?year=2023&country=41>
59
+ * [2001-2010](https://m.wannianli.tianqi.com/fangjiaanpai/2001.html)
59
60
 
60
61
  Limitations:
61
- - Only checked with the official General Office of the State Council Notice from 2001
62
- onwards.
63
- - Due to its complexity, need yearly checks 3-weeks before year's end each year.
62
+ * Only checked with the official General Office of the State Council Notice from 2001
63
+ onwards.
64
+ * Due to its complexity, need yearly checks 3-weeks before year's end each year.
64
65
  """
65
66
 
66
67
  country = "CN"
@@ -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
@@ -17,25 +17,20 @@ from holidays.observed_holiday_base import ObservedHolidayBase, ALL_TO_NEXT_MON
17
17
 
18
18
 
19
19
  class Colombia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
20
- """
21
- Colombia has 18 holidays. The establishing of these are by:
22
- Ley 35 de 1939 (DEC 4): https://bit.ly/3PJwk7B
23
- Decreto 2663 de 1950 (AUG 5): https://bit.ly/3PJcut8
24
- Decreto 3743 de 1950 (DEC 20): https://bit.ly/3B9Otr3
25
- Ley 51 de 1983 (DEC 6): https://bit.ly/3aSobiB
26
-
27
- On the 6th of December 1983, the government of Colombia declared which
28
- holidays are to take effect, and also clarified that a subset of them
29
- are to take place the next Monday if they do not fall on a Monday.
30
- This law is "Ley 51 de 1983" which translates to law 51 of 1983.
31
- Link: https://bit.ly/3PtPi2e
32
- A few links below to calendars from the 1980s to demonstrate this law
33
- change. In 1984 some calendars still use the old rules, presumably
34
- because they were printed prior to the declaration of law change.
35
- 1981: https://bit.ly/3BbgKOc
36
- 1982: https://bit.ly/3BdbhWW
37
- 1984: https://bit.ly/3PqGxWU
38
- 1984: https://bit.ly/3B7ogt8
20
+ """Colombia holidays.
21
+
22
+ References:
23
+ * [Ley 35 de 1939 (DEC 4)](https://www.funcionpublica.gov.co/eva/gestornormativo/norma_pdf.php?i=86145)
24
+ * [Decreto 2663 de 1950 (AUG 5)](https://www.suin-juriscol.gov.co/viewDocument.asp?id=1874133)
25
+ * [Decreto 3743 de 1950 (DEC 20)](https://www.suin-juriscol.gov.co/viewDocument.asp?id=1535683)
26
+ * [Ley 51 de 1983 (DEC 6)](https://www.funcionpublica.gov.co/eva/gestornormativo/norma.php?i=4954)
27
+
28
+ A few links below to calendars from the 1980s to demonstrate this law change.
29
+ In 1984 some calendars still use the old rules, presumably because they were printed
30
+ prior to the declaration of law change:
31
+ * [1981](https://cloud10.todocoleccion.online/calendarios-antiguos/tc/2018/07/02/19/126899607_96874586.jpg)
32
+ * [1982](https://cloud10.todocoleccion.online/calendarios-antiguos/tc/2016/08/19/12/58620712_34642074.jpg)
33
+ * [1984](https://cloud10.todocoleccion.online/calendarios-antiguos/tc/2017/07/12/15/92811790_62818054.jpg)
39
34
  """
40
35
 
41
36
  country = "CO"
@@ -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
@@ -17,15 +17,14 @@ from holidays.holiday_base import HolidayBase
17
17
 
18
18
 
19
19
  class Congo(HolidayBase, ChristianHolidays, InternationalHolidays):
20
- """
20
+ """Congo holidays.
21
+
21
22
  References:
22
- - Loi N° 2-94:
23
- - http://mokili.free.fr/jours_feries.php
24
- - Loi N° l8-20l0:
25
- - https://www.finances.gouv.cg/sites/default/files/documents/n¯18-2010%20du%2027%20novembre%202010.PDF
23
+ * [Loi N° 2-94](http://mokili.free.fr/jours_feries.php)
24
+ * [Loi N° 18-2010](https://www.finances.gouv.cg/sites/default/files/documents/n¯18-2010%20du%2027%20novembre%202010.PDF)
26
25
 
27
26
  Cross-Checked With:
28
- - https://en.wikipedia.org/wiki/Public_holidays_in_the_Republic_of_the_Congo
27
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_the_Republic_of_the_Congo>
29
28
  """
30
29
 
31
30
  country = "CG"
@@ -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,16 +23,17 @@ from holidays.observed_holiday_base import (
23
23
 
24
24
 
25
25
  class CostaRica(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
26
- """
26
+ """Costa Rica holidays.
27
+
27
28
  References:
28
- - https://en.wikipedia.org/wiki/Public_holidays_in_Costa_Rica
29
- - http://www.pgrweb.go.cr/scij/avanzada_pgr.aspx
30
- - Law #8442 from 19.04.2005
31
- - Law #8604 from 17.09.2007
32
- - Law #8753 from 25.07.2009
33
- - Law #8886 from 01.11.2010
34
- - Law #9803 from 19.05.2020
35
- - Law #10050 from 25.10.2021
29
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Costa_Rica>
30
+ * <http://www.pgrweb.go.cr/scij/avanzada_pgr.aspx>
31
+ * Law #8442 from 19.04.2005
32
+ * Law #8604 from 17.09.2007
33
+ * Law #8753 from 25.07.2009
34
+ * Law #8886 from 01.11.2010
35
+ * Law #9803 from 19.05.2020
36
+ * Law #10050 from 25.10.2021
36
37
  """
37
38
 
38
39
  country = "CR"
@@ -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
@@ -17,11 +17,14 @@ from holidays.holiday_base import HolidayBase
17
17
 
18
18
 
19
19
  class Croatia(HolidayBase, ChristianHolidays, InternationalHolidays):
20
- """
20
+ """Croatia holidays.
21
+
22
+ References:
23
+ * <https://narodne-novine.nn.hr/clanci/sluzbeni/2019_11_110_2212.html>
24
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Croatia>
25
+ * <https://hr.wikipedia.org/wiki/Blagdani_i_spomendani_u_Hrvatskoj>
26
+
21
27
  Updated with act 022-03 / 19-01 / 219 of 14 November 2019
22
- https://narodne-novine.nn.hr/clanci/sluzbeni/2019_11_110_2212.html
23
- https://en.wikipedia.org/wiki/Public_holidays_in_Croatia
24
- https://hr.wikipedia.org/wiki/Blagdani_i_spomendani_u_Hrvatskoj
25
28
  """
26
29
 
27
30
  country = "HR"
@@ -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
@@ -17,18 +17,35 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SUN_TO_NEXT_MON
17
17
 
18
18
 
19
19
  class Cuba(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
20
- """
21
- Overview: https://en.wikipedia.org/wiki/Public_holidays_in_Cuba
22
- 1984 (DEC 28): https://bit.ly/3okNBbt
23
- 2007 (NOV 19): https://bit.ly/3oFbhaZ
24
- 2013 (DEC 20): https://bit.ly/3zoO3vC
25
- Note: for holidays that can be moved to a Monday if they fall on a
26
- Sunday, between 1984 and 2013, the State Committee of Work and
27
- Social Security would determine if they would be moved to the
28
- Monday, or if they would stay on the Sunday, presumably depending
29
- on quotas. After 2013, they always move to Monday. I could not
30
- find any records of this, so I implemented this making it always
31
- go to the next Monday.
20
+ """Cuba holidays.
21
+
22
+ References:
23
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Cuba>
24
+ * [1984 (DEC 28)](https://files.sld.cu/prevemi/files/2013/03/ley_49_codigo_trabajo_1984.pdf)
25
+ * [2007 (NOV 19)](https://www.gacetaoficial.gob.cu/sites/default/files/go_x_053_2007.pdf)
26
+ * [2013 (DEC 20)](https://www.gacetaoficial.gob.cu/es/ley-no-116-codigo-de-trabajo)
27
+
28
+ Certain holidays details:
29
+ * Good Friday:
30
+ Granted temporarily in 2012 and 2013, permanently granted in 2013 decree for 2014
31
+ and onwards:
32
+ * <https://www.cnn.com/2012/03/31/world/americas/cuba-good-friday/index.html>
33
+ * <https://www.catholicnewsagency.com/news/29455/cuban-government-makes-good-friday-official-holiday>
34
+
35
+ * Christmas Day:
36
+ In 1969, Christmas was cancelled for the sugar harvest but then was cancelled for good:
37
+ * <https://time.com/vault/issue/1969-11-07/page/44/>
38
+ In 1997, Christmas was temporarily back for the Pope's visit:
39
+ * <http://www.cnn.com/WORLD/9712/15/castro.christmas/>
40
+ In 1998, Christmas returns for good:
41
+ * <https://www.independent.co.uk/news/cuba-ends-its-30year-ban-on-christmas-1193525.html>
42
+ * <https://www.ilo.org/dyn/travail/docs/1320/DECRETO-LEY%20No.%20189-1998.pdf>
43
+
44
+ For holidays that can be moved to a Monday if they fall on a Sunday, between 1984
45
+ and 2013, the State Committee of Work and Social Security would determine if they
46
+ would be moved to the Monday, or if they would stay on the Sunday, presumably
47
+ depending on quotas. After 2013, they always move to Monday. I could not find any
48
+ records of this, so I implemented this making it always go to the next Monday.
32
49
  """
33
50
 
34
51
  country = "CU"
@@ -51,15 +68,10 @@ class Cuba(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
51
68
  if self._year <= 2013:
52
69
  self._add_observed(jan_1)
53
70
 
54
- # Granted in 2007 decree.
55
71
  if self._year >= 2008:
56
72
  # Victory Day.
57
73
  self._add_holiday_jan_2(tr("Día de la Victoria"))
58
74
 
59
- # Granted temporarily in 2012 and 2013:
60
- # https://cnn.it/3v5V6GY
61
- # https://bit.ly/3v6bM18
62
- # Permanently granted in 2013 decree for 2014 and onwards.
63
75
  if self._year >= 2012:
64
76
  # Good Friday.
65
77
  self._add_good_friday(tr("Viernes Santo"))
@@ -79,19 +91,10 @@ class Cuba(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
79
91
  # Independence Day.
80
92
  self._add_observed(self._add_holiday_oct_10(tr("Inicio de las Guerras de Independencia")))
81
93
 
82
- # In 1969, Christmas was cancelled for the sugar harvest but then was
83
- # cancelled for good:
84
- # https://bit.ly/3OpwX5i
85
- # In 1997, Christmas was temporarily back for the pope's visit:
86
- # https://cnn.it/3Omn349
87
- # In 1998, Christmas returns for good:
88
- # https://bit.ly/3cyXhwz
89
- # https://bit.ly/3cyXj7F
90
94
  if self._year <= 1968 or self._year >= 1997:
91
95
  # Christmas Day.
92
96
  self._add_christmas_day(tr("Día de Navidad"))
93
97
 
94
- # Granted in 2007 decree.
95
98
  if self._year >= 2007:
96
99
  # New Year's Eve.
97
100
  self._add_new_years_eve(tr("Fiesta de Fin de Año"))
@@ -4,7 +4,7 @@
4
4
  # specific sets of holidays on the fly. It aims to make determining whether a
5
5
  # specific date is a holiday as fast and flexible as possible.
6
6
  #
7
- # Authors: Vacanza Team and individual contributors (see AUTHORS file)
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS.md file)
8
8
  # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
9
  # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
10
  # Website: https://github.com/vacanza/holidays
@@ -20,9 +20,11 @@ from holidays.holiday_base import HolidayBase
20
20
 
21
21
 
22
22
  class Curacao(HolidayBase, ChristianHolidays, InternationalHolidays):
23
- """
24
- https://loketdigital.gobiernu.cw/Loket/product/571960bbe1e5fe8712b10a1323630e70
25
- https://en.wikipedia.org/wiki/Public_holidays_in_Cura%C3%A7ao
23
+ """Curaçao holidays.
24
+
25
+ References:
26
+ * <https://loketdigital.gobiernu.cw/Loket/product/571960bbe1e5fe8712b10a1323630e70>
27
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Cura%C3%A7ao>
26
28
  """
27
29
 
28
30
  country = "CW"
@@ -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 Cyprus(HolidayBase, ChristianHolidays, InternationalHolidays):
22
- """
23
- Cyprus holidays.
22
+ """Cyprus holidays.
24
23
 
25
24
  References:
26
- - https://en.wikipedia.org/wiki/Public_holidays_in_Cyprus
27
- - https://www.centralbank.cy/en/the-bank/working-hours-bank-holidays
25
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Cyprus>
26
+ * <https://www.centralbank.cy/en/the-bank/working-hours-bank-holidays>
28
27
  """
29
28
 
30
29
  country = "CY"
@@ -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
@@ -17,12 +17,13 @@ from holidays.holiday_base import HolidayBase
17
17
 
18
18
 
19
19
  class Czechia(HolidayBase, ChristianHolidays, InternationalHolidays):
20
- """
20
+ """Czechia holidays.
21
+
21
22
  References:
22
- - https://en.wikipedia.org/wiki/Public_holidays_in_the_Czech_Republic
23
- - `Law 93/1951 <https://www.zakonyprolidi.cz/cs/1951-93>`_
24
- - `Law 204/1990 (Jan Hus Day) <https://www.zakonyprolidi.cz/cs/1990-204>`_
25
- - `Law 245/2000 <https://www.zakonyprolidi.cz/cs/2000-245>`_
23
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_the_Czech_Republic>
24
+ * [Law 93/1951](https://www.zakonyprolidi.cz/cs/1951-93)
25
+ * [Law 204/1990 (Jan Hus Day)](https://www.zakonyprolidi.cz/cs/1990-204)
26
+ * [Law 245/2000](https://www.zakonyprolidi.cz/cs/2000-245)
26
27
  """
27
28
 
28
29
  country = "CZ"
@@ -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 Denmark(HolidayBase, ChristianHolidays, InternationalHolidays):
21
- """
22
- Denmark holidays.
21
+ """Denmark holidays.
23
22
 
24
23
  References:
25
- - https://en.wikipedia.org/wiki/Public_holidays_in_Denmark
26
- - https://www.norden.org/en/info-norden/public-holidays-denmark
27
- - https://www.ft.dk/samling/20222/lovforslag/l13/index.htm
24
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Denmark>
25
+ * <https://www.norden.org/en/info-norden/public-holidays-denmark>
26
+ * <https://www.ft.dk/samling/20222/lovforslag/l13/index.htm>
28
27
  """
29
28
 
30
29
  country = "DK"
@@ -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 Djibouti(HolidayBase, ChristianHolidays, IslamicHolidays, InternationalHolidays):
21
+ """Djibouti holidays."""
22
+
21
23
  country = "DJ"
22
24
  default_language = "fr"
23
25
  # %s (estimated).
@@ -27,9 +29,15 @@ class Djibouti(HolidayBase, ChristianHolidays, IslamicHolidays, InternationalHol
27
29
  # On 27 June 1977, Djibouti gained independence from France.
28
30
  start_year = 1978
29
31
 
30
- def __init__(self, *args, **kwargs):
32
+ def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
33
+ """
34
+ Args:
35
+ islamic_show_estimated:
36
+ Whether to add "estimated" label to Islamic holidays name
37
+ if holiday date is estimated.
38
+ """
31
39
  ChristianHolidays.__init__(self)
32
- IslamicHolidays.__init__(self)
40
+ IslamicHolidays.__init__(self, show_estimated=islamic_show_estimated)
33
41
  InternationalHolidays.__init__(self)
34
42
  super().__init__(*args, **kwargs)
35
43
 
@@ -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,18 +16,19 @@ from holidays.observed_holiday_base import ObservedHolidayBase, SUN_TO_NEXT_MON,
16
16
 
17
17
 
18
18
  class Dominica(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
19
- """
19
+ """Dominica holidays.
20
+
20
21
  References:
21
- - https://www.dominica.gov.dm/laws/chapters/chap19-10.pdf
22
- - https://pressroomopm.gov.dm/notice-public-holiday-order-2022/
23
- - https://en.wikipedia.org/wiki/Public_holidays_in_Dominica
24
- - https://dominica.gov.dm/laws/1998/sro1-1998.pdf
22
+ * <https://www.dominica.gov.dm/laws/chapters/chap19-10.pdf>
23
+ * <https://pressroomopm.gov.dm/notice-public-holiday-order-2022/>
24
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Dominica>
25
+ * <https://dominica.gov.dm/laws/1998/sro1-1998.pdf>
25
26
 
26
27
  Cross-Checked With:
27
- - https://www.dominica-weekly.com/images/dominica-calendar-2010/1600-1280.jpg # 2010
28
- - https://dominicaconsulategreece.com/dominica/public-holidays/ # 2011-2020
29
- - http://www.q95da.com/news/q95-news-received-on-december-29-2020-at-731pm-the-official-public-holiday-calendar-for-2021-approved-by-the-government-of-dominica
30
- - https://dominica.gov.dm/about-dominica/public-holidays # 2022-2024
28
+ * [2010](https://www.dominica-weekly.com/images/dominica-calendar-2010/1600-1280.jpg)
29
+ * [2011-2020](https://dominicaconsulategreece.com/dominica/public-holidays/)
30
+ * <http://www.q95da.com/news/q95-news-received-on-december-29-2020-at-731pm-the-official-public-holiday-calendar-for-2021-approved-by-the-government-of-dominica>
31
+ * [2022-2024](https://dominica.gov.dm/about-dominica/public-holidays)
31
32
 
32
33
  While Labour Day is listed in the 1990 amendment as May 1st, this has, de facto, been
33
34
  made 1st Monday of May since at least 2010.
@@ -105,12 +106,13 @@ class DMA(Dominica):
105
106
 
106
107
 
107
108
  class DominicaStaticHolidays:
108
- """
109
- References
110
- - https://qppstudio-public-holidays-news.blogspot.com/2009/07/dominica-declares-july-28-public.html
111
- - https://dominica.gov.dm/laws/2009/sro35-2009.pdf
112
- - https://dominica.gov.dm/laws/2009/sro55-2009.pdf
113
- - https://emonewsdm.com/thursday-september-19-2019-declared-public-holiday-in-dominica/
109
+ """Dominica special holidays.
110
+
111
+ References:
112
+ * <https://qppstudio-public-holidays-news.blogspot.com/2009/07/dominica-declares-july-28-public.html>
113
+ * <https://dominica.gov.dm/laws/2009/sro35-2009.pdf>
114
+ * <https://dominica.gov.dm/laws/2009/sro55-2009.pdf>
115
+ * <https://emonewsdm.com/thursday-september-19-2019-declared-public-holiday-in-dominica/>
114
116
  """
115
117
 
116
118
  # Special Public Holidays.
@@ -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,9 +22,11 @@ from holidays.observed_holiday_base import (
22
22
 
23
23
 
24
24
  class DominicanRepublic(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
25
- """
26
- http://ojd.org.do/Normativas/LABORAL/Leyes/Ley%20No.%20%20139-97.pdf
27
- https://es.wikipedia.org/wiki/Rep%C3%BAblica_Dominicana#D%C3%ADas_festivos_nacionales
25
+ """Dominican Republic holidays.
26
+
27
+ References:
28
+ * <http://ojd.org.do/Normativas/LABORAL/Leyes/Ley%20No.%20%20139-97.pdf>
29
+ * <https://es.wikipedia.org/wiki/Rep%C3%BAblica_Dominicana#D%C3%ADas_festivos_nacionales>
28
30
  """
29
31
 
30
32
  country = "DO"
@@ -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
@@ -24,10 +24,11 @@ from holidays.observed_holiday_base import (
24
24
 
25
25
 
26
26
  class Ecuador(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
27
- """
27
+ """Ecuador holidays.
28
+
28
29
  References:
29
- - https://en.wikipedia.org/wiki/Public_holidays_in_Ecuador
30
- - http://tiny.cc/ec_co_tr
30
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Ecuador>
31
+ * [Código del Trabajo](https://biblioteca.defensoria.gob.ec/bitstream/37000/3364/1/C%C3%B3digo%20de%20Trabajo%20%2804-11-2021%29.pdf)
31
32
  """
32
33
 
33
34
  country = "EC"