holidays 0.66__py3-none-any.whl → 0.67__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 (90) hide show
  1. holidays/countries/__init__.py +2 -0
  2. holidays/countries/australia.py +6 -6
  3. holidays/countries/cambodia.py +1 -1
  4. holidays/countries/chile.py +1 -1
  5. holidays/countries/cuba.py +1 -1
  6. holidays/countries/denmark.py +1 -1
  7. holidays/countries/finland.py +19 -19
  8. holidays/countries/greenland.py +22 -19
  9. holidays/countries/guatemala.py +1 -1
  10. holidays/countries/haiti.py +3 -3
  11. holidays/countries/hongkong.py +124 -174
  12. holidays/countries/isle_of_man.py +15 -11
  13. holidays/countries/kazakhstan.py +1 -1
  14. holidays/countries/laos.py +2 -2
  15. holidays/countries/nicaragua.py +1 -1
  16. holidays/countries/panama.py +69 -31
  17. holidays/countries/peru.py +1 -1
  18. holidays/countries/saint_lucia.py +88 -0
  19. holidays/countries/seychelles.py +4 -4
  20. holidays/countries/singapore.py +1 -1
  21. holidays/countries/spain.py +9 -9
  22. holidays/countries/sri_lanka.py +1 -1
  23. holidays/countries/switzerland.py +1 -1
  24. holidays/countries/tuvalu.py +174 -0
  25. holidays/countries/united_kingdom.py +72 -56
  26. holidays/countries/united_states.py +141 -10
  27. holidays/countries/uruguay.py +1 -1
  28. holidays/financial/brasil_bolsa_balcao.py +1 -1
  29. holidays/holiday_base.py +62 -13
  30. holidays/locale/da/LC_MESSAGES/GL.mo +0 -0
  31. holidays/locale/en_GB/LC_MESSAGES/GB.mo +0 -0
  32. holidays/locale/en_GB/LC_MESSAGES/IM.mo +0 -0
  33. holidays/locale/en_GB/LC_MESSAGES/TV.mo +0 -0
  34. holidays/locale/en_HK/LC_MESSAGES/HK.mo +0 -0
  35. holidays/locale/en_LC/LC_MESSAGES/LC.mo +0 -0
  36. holidays/locale/en_US/LC_MESSAGES/AR.mo +0 -0
  37. holidays/locale/en_US/LC_MESSAGES/CH.mo +0 -0
  38. holidays/locale/en_US/LC_MESSAGES/CL.mo +0 -0
  39. holidays/locale/en_US/LC_MESSAGES/CO.mo +0 -0
  40. holidays/locale/en_US/LC_MESSAGES/CU.mo +0 -0
  41. holidays/locale/en_US/LC_MESSAGES/DK.mo +0 -0
  42. holidays/locale/en_US/LC_MESSAGES/ES.mo +0 -0
  43. holidays/locale/en_US/LC_MESSAGES/FI.mo +0 -0
  44. holidays/locale/en_US/LC_MESSAGES/GB.mo +0 -0
  45. holidays/locale/en_US/LC_MESSAGES/GL.mo +0 -0
  46. holidays/locale/en_US/LC_MESSAGES/GT.mo +0 -0
  47. holidays/locale/en_US/LC_MESSAGES/HK.mo +0 -0
  48. holidays/locale/en_US/LC_MESSAGES/HT.mo +0 -0
  49. holidays/locale/en_US/LC_MESSAGES/IM.mo +0 -0
  50. holidays/locale/en_US/LC_MESSAGES/KH.mo +0 -0
  51. holidays/locale/en_US/LC_MESSAGES/KZ.mo +0 -0
  52. holidays/locale/en_US/LC_MESSAGES/LA.mo +0 -0
  53. holidays/locale/en_US/LC_MESSAGES/LC.mo +0 -0
  54. holidays/locale/en_US/LC_MESSAGES/LK.mo +0 -0
  55. holidays/locale/en_US/LC_MESSAGES/NI.mo +0 -0
  56. holidays/locale/en_US/LC_MESSAGES/PA.mo +0 -0
  57. holidays/locale/en_US/LC_MESSAGES/PE.mo +0 -0
  58. holidays/locale/en_US/LC_MESSAGES/RU.mo +0 -0
  59. holidays/locale/en_US/LC_MESSAGES/SC.mo +0 -0
  60. holidays/locale/en_US/LC_MESSAGES/TV.mo +0 -0
  61. holidays/locale/en_US/LC_MESSAGES/UY.mo +0 -0
  62. holidays/locale/es/LC_MESSAGES/PA.mo +0 -0
  63. holidays/locale/fi/LC_MESSAGES/GL.mo +0 -0
  64. holidays/locale/is/LC_MESSAGES/GL.mo +0 -0
  65. holidays/locale/kl/LC_MESSAGES/GL.mo +0 -0
  66. holidays/locale/no/LC_MESSAGES/GL.mo +0 -0
  67. holidays/locale/sv/LC_MESSAGES/GL.mo +0 -0
  68. holidays/locale/th/LC_MESSAGES/GB.mo +0 -0
  69. holidays/locale/th/LC_MESSAGES/HK.mo +0 -0
  70. holidays/locale/th/LC_MESSAGES/IM.mo +0 -0
  71. holidays/locale/tvl/LC_MESSAGES/TV.mo +0 -0
  72. holidays/locale/uk/LC_MESSAGES/CR.mo +0 -0
  73. holidays/locale/uk/LC_MESSAGES/DK.mo +0 -0
  74. holidays/locale/uk/LC_MESSAGES/ES.mo +0 -0
  75. holidays/locale/uk/LC_MESSAGES/GE.mo +0 -0
  76. holidays/locale/uk/LC_MESSAGES/GL.mo +0 -0
  77. holidays/locale/uk/LC_MESSAGES/MC.mo +0 -0
  78. holidays/locale/uk/LC_MESSAGES/MG.mo +0 -0
  79. holidays/locale/uk/LC_MESSAGES/PA.mo +0 -0
  80. holidays/locale/uk/LC_MESSAGES/RO.mo +0 -0
  81. holidays/locale/zh_CN/LC_MESSAGES/HK.mo +0 -0
  82. holidays/locale/zh_HK/LC_MESSAGES/HK.mo +0 -0
  83. holidays/registry.py +2 -0
  84. holidays/version.py +1 -1
  85. {holidays-0.66.dist-info → holidays-0.67.dist-info}/AUTHORS +1 -0
  86. {holidays-0.66.dist-info → holidays-0.67.dist-info}/METADATA +33 -17
  87. {holidays-0.66.dist-info → holidays-0.67.dist-info}/RECORD +90 -64
  88. {holidays-0.66.dist-info → holidays-0.67.dist-info}/LICENSE +0 -0
  89. {holidays-0.66.dist-info → holidays-0.67.dist-info}/WHEEL +0 -0
  90. {holidays-0.66.dist-info → holidays-0.67.dist-info}/top_level.txt +0 -0
@@ -134,6 +134,7 @@ from .puerto_rico import PuertoRico, PR, PRI, HolidaysPR
134
134
  from .romania import Romania, RO, ROU
135
135
  from .russia import Russia, RU, RUS
136
136
  from .saint_kitts_and_nevis import SaintKittsAndNevis, KN, KNA
137
+ from .saint_lucia import SaintLucia, LC, LCA
137
138
  from .samoa import Samoa, WS, WSM
138
139
  from .san_marino import SanMarino, SM, SMR
139
140
  from .saudi_arabia import SaudiArabia, SA, SAU
@@ -155,6 +156,7 @@ from .timor_leste import TimorLeste, TL, TLS
155
156
  from .tonga import Tonga, TO, TON
156
157
  from .tunisia import Tunisia, TN, TUN
157
158
  from .turkey import Turkey, TR, TUR
159
+ from .tuvalu import Tuvalu, TV, TUV
158
160
  from .ukraine import Ukraine, UA, UKR
159
161
  from .united_arab_emirates import UnitedArabEmirates, AE, ARE
160
162
  from .united_kingdom import UnitedKingdom, GB, GBR, UK
@@ -216,7 +216,7 @@ class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
216
216
  # Family & Community Day.
217
217
  self._add_holiday(tr("Family & Community Day"), fc_dates[self._year])
218
218
 
219
- # Labour Day.
219
+ # Labor Day.
220
220
  self._add_holiday_1st_mon_of_oct(tr("Labour Day"))
221
221
 
222
222
  # Christmas Day.
@@ -317,7 +317,7 @@ class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
317
317
  if self._year <= 2010:
318
318
  self._add_observed(apr_25)
319
319
 
320
- # Labour Day.
320
+ # Labor Day.
321
321
  self._add_holiday_1st_mon_of_oct(tr("Labour Day"))
322
322
 
323
323
  # Sovereign's Birthday.
@@ -493,7 +493,7 @@ class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
493
493
  else:
494
494
  self._add_anzac_day(name)
495
495
 
496
- # Labour Day.
496
+ # Labor Day.
497
497
  name = tr("Labour Day")
498
498
  if 2013 <= self._year <= 2015:
499
499
  self._add_holiday_1st_mon_of_oct(name)
@@ -631,7 +631,7 @@ class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
631
631
  if self._year >= 1936:
632
632
  self._add_holiday_2nd_mon_of_jun(self.sovereign_birthday)
633
633
 
634
- # Labour Day.
634
+ # Labor Day.
635
635
  self._add_holiday_1st_mon_of_oct(tr("Labour Day"))
636
636
 
637
637
  # Proclamation Day.
@@ -799,7 +799,7 @@ class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
799
799
  else:
800
800
  self._add_holiday_jan_26(self.australia_day)
801
801
 
802
- # Labour Day.
802
+ # Labor Day.
803
803
  self._add_holiday_2nd_mon_of_mar(tr("Labour Day"))
804
804
 
805
805
  if self._year >= 2003:
@@ -893,7 +893,7 @@ class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
893
893
  else:
894
894
  self._add_holiday_jan_26(self.australia_day)
895
895
 
896
- # Labour Day.
896
+ # Labor Day.
897
897
  self._add_holiday_1st_mon_of_mar(tr("Labour Day"))
898
898
 
899
899
  if self._year >= 2022:
@@ -149,7 +149,7 @@ class Cambodia(HolidayBase, InternationalHolidays, StaticHolidays, ThaiCalendarH
149
149
  # Assumed to start in 1993, defunct from 2020 onwards.
150
150
 
151
151
  if self._year <= 2019:
152
- # International Children Day
152
+ # International Children's Day
153
153
  self._add_childrens_day(tr("ទិវាកុមារអន្តរជាតិ"))
154
154
 
155
155
  # ព្រះរាជពិធីបុណ្យចម្រើនព្រះជន្ម សម្តេចព្រះមហាក្សត្រី ព្រះវររាជមាតា នរោត្តម មុនិនាថ សីហនុ
@@ -129,7 +129,7 @@ class Chile(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stati
129
129
  self._add_holiday(name, self._summer_solstice_date)
130
130
 
131
131
  if self._year <= 1967 or self._year >= 1986:
132
- # Saint Peter and Saint Paul.
132
+ # Saint Peter and Saint Paul's Day.
133
133
  self._move_holiday(self._add_saints_peter_and_paul_day(tr("San Pedro y San Pablo")))
134
134
 
135
135
  if self._year >= 2007:
@@ -64,7 +64,7 @@ class Cuba(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
64
64
  # Good Friday.
65
65
  self._add_good_friday(tr("Viernes Santo"))
66
66
 
67
- # International Worker's Day.
67
+ # International Workers' Day.
68
68
  self._add_observed(self._add_labor_day(tr("Día Internacional de los Trabajadores")))
69
69
 
70
70
  # Commemoration of the Assault of the Moncada garrison.
@@ -73,7 +73,7 @@ class Denmark(HolidayBase, ChristianHolidays, InternationalHolidays):
73
73
  self._add_christmas_day_two(tr("Anden juledag"))
74
74
 
75
75
  def _populate_optional_holidays(self):
76
- # International Workers' Day.
76
+ # Workers' Day.
77
77
  self._add_labor_day(tr("Arbejdernes kampdag"))
78
78
 
79
79
  # Constitution Day.
@@ -107,79 +107,79 @@ class Finland(HolidayBase, ChristianHolidays, InternationalHolidays):
107
107
 
108
108
  def _populate_unofficial_holidays(self):
109
109
  if self._year >= 1854:
110
- # Runeberg Day
110
+ # Runeberg Day.
111
111
  self._add_holiday_feb_5(tr("Runebergin päivä"))
112
112
 
113
113
  if self._year >= 1860:
114
- # Kalevala Day, Day of Finnish Culture
114
+ # Kalevala Day, Day of Finnish Culture.
115
115
  self._add_holiday_feb_28(tr("Kalevalan päivä, suomalaisen kulttuurin päivä"))
116
116
 
117
117
  if self._year >= 2007:
118
- # Minna Canth Day, Day of Equality
118
+ # Minna Canth Day, Day of Equality.
119
119
  self._add_holiday_mar_19(tr("Minna Canthin päivä, tasa-arvon päivä"))
120
120
 
121
121
  if self._year >= 1978:
122
- # Mikael Agricola Day, Day of the Finnish Language
122
+ # Mikael Agricola Day, Day of the Finnish Language.
123
123
  self._add_holiday_apr_9(tr("Mikael Agricolan päivä, suomen kielen päivä"))
124
124
 
125
125
  if self._year >= 1987:
126
- # National War Veterans' Day
126
+ # National War Veterans' Day.
127
127
  self._add_holiday_apr_27(tr("Kansallinen veteraanipäivä"))
128
128
 
129
129
  if self._year >= 2019:
130
- # Europe Day
130
+ # Europe Day.
131
131
  self._add_europe_day(tr("Eurooppa-päivä"))
132
132
 
133
133
  if self._year >= 1918:
134
- # Mothers' Day
134
+ # Mother's Day.
135
135
  self._add_holiday_2nd_sun_of_may(tr("Äitienpäivä"))
136
136
 
137
137
  if self._year >= 1952:
138
- # J. V. Snellman Day, Day of Finnish Heritage
138
+ # J. V. Snellman Day, Day of Finnish Heritage.
139
139
  self._add_holiday_may_12(tr("J.V. Snellmanin päivä, suomalaisuuden päivä"))
140
140
 
141
141
  if self._year >= 1977:
142
- # Remembrance Day
142
+ # Remembrance Day.
143
143
  self._add_holiday_3rd_sun_of_may(tr("Kaatuneitten muistopäivä"))
144
144
 
145
145
  if self._year >= 1942:
146
- # Flag Day of the Finnish Defense Forces
146
+ # Flag Day of the Finnish Defense Forces.
147
147
  self._add_holiday_jun_6(tr("Puolustusvoimain lippujuhlan päivä"))
148
148
 
149
149
  if self._year >= 1992:
150
- # Eino Leino Day, Day of Summer and Poetry
150
+ # Eino Leino Day, Day of Summer and Poetry.
151
151
  self._add_holiday_jul_6(tr("Eino Leinon päivä, runon ja suven päivä"))
152
152
 
153
153
  if self._year >= 2013:
154
- # Finland's Nature Day
154
+ # Finland's Nature Day.
155
155
  self._add_holiday_last_sat_of_aug(tr("Suomen luonnon päivä"))
156
156
 
157
157
  if self._year >= 2016:
158
- # Miina Sillanpää Day, Day of Civic Participation
158
+ # Miina Sillanpää Day, Day of Civic Participation.
159
159
  self._add_holiday_oct_1(tr("Miina Sillanpään ja kansalaisvaikuttamisen päivä"))
160
160
 
161
161
  if self._year >= 1950:
162
- # Aleksis Kivi Day, Day of Finnish Literature
162
+ # Aleksis Kivi Day, Day of Finnish Literature.
163
163
  self._add_holiday_oct_10(tr("Aleksis Kiven päivä, suomalaisen kirjallisuuden päivä"))
164
164
 
165
165
  if self._year >= 1987:
166
- # United Nations Day
166
+ # United Nations Day.
167
167
  self._add_united_nations_day(tr("YK:n päivä"))
168
168
 
169
169
  if self._year >= 1908:
170
- # Finnish Swedish Heritage Day, svenska dagen
170
+ # Finnish Swedish Heritage Day, svenska dagen.
171
171
  self._add_holiday_nov_6(tr("Ruotsalaisuuden päivä, Kustaa Aadolfin päivä"))
172
172
 
173
173
  if self._year >= 1949:
174
- # Fathers' Day
174
+ # Father's Day.
175
175
  self._add_holiday_2nd_sun_of_nov(tr("Isänpäivä"))
176
176
 
177
177
  if self._year >= 2020:
178
- # Day of Children's Rights
178
+ # Day of Children's Rights.
179
179
  self._add_holiday_nov_20(tr("Lapsen oikeuksien päivä"))
180
180
 
181
181
  if self._year >= 2007:
182
- # Jean Sibelius Day, Day of Finnish Music
182
+ # Jean Sibelius Day, Day of Finnish Music.
183
183
  self._add_holiday_dec_8(tr("Jean Sibeliuksen päivä, suomalaisen musiikin päivä"))
184
184
 
185
185
 
@@ -19,18 +19,20 @@ from holidays.holiday_base import HolidayBase
19
19
 
20
20
  class Greenland(HolidayBase, ChristianHolidays, InternationalHolidays):
21
21
  """
22
- Greenlandic holidays.
22
+ Greenland holidays.
23
23
 
24
24
  References:
25
- - https://en.wikipedia.org/wiki/Public_holidays_in_Greenland
26
- - https://www.norden.org/en/info-norden/public-holidays-greenland
27
- - https://www.timeanddate.com/holidays/greenland/
25
+ - https://en.wikipedia.org/wiki/Public_holidays_in_Greenland
26
+ - `Greenlandic names source <https://nalunaarutit.gl/groenlandsk-lovgivning/2008/bkg-26-2008?sc_lang=kl-GL>`_
27
+ - `Translation source <https://www.norden.org/en/info-norden/public-holidays-greenland>`_
28
28
  """
29
29
 
30
30
  country = "GL"
31
31
  default_language = "kl"
32
32
  supported_categories = (OPTIONAL, PUBLIC)
33
- supported_languages = ("da", "en_US", "kl")
33
+ supported_languages = ("da", "en_US", "fi", "is", "kl", "no", "sv", "uk")
34
+ # Greenland Home Rule Act 1978.
35
+ start_year = 1979
34
36
 
35
37
  def __init__(self, *args, **kwargs):
36
38
  ChristianHolidays.__init__(self)
@@ -39,50 +41,51 @@ class Greenland(HolidayBase, ChristianHolidays, InternationalHolidays):
39
41
 
40
42
  def _populate_public_holidays(self):
41
43
  # New Year's Day.
42
- self._add_new_years_day(tr("Ukioq nutaaq"))
44
+ self._add_new_years_day(tr("Ukiortaaq"))
43
45
 
44
46
  # Maundy Thursday.
45
- self._add_holy_thursday(tr("Sisamanngornermi illernartumi"))
47
+ self._add_holy_thursday(tr("Sisamanngortoq illernartoq"))
46
48
 
47
49
  # Good Friday.
48
- self._add_good_friday(tr("Tallimanngorneq ajortorsiorneq"))
50
+ self._add_good_friday(tr("Tallimanngorneq tannaartoq"))
49
51
 
50
52
  # Easter Sunday.
51
- self._add_easter_sunday(tr("Poorskimi"))
53
+ self._add_easter_sunday(tr("Poorskip ullua"))
52
54
 
53
55
  # Easter Monday.
54
- self._add_easter_monday(tr("Poorskimi ullut aappaat"))
56
+ self._add_easter_monday(tr("Poorskip-aappaa"))
55
57
 
56
- # Great Day of Prayers.
58
+ # Great Prayer Day.
57
59
  self._add_holiday_26_days_past_easter(tr("Ulloq qinuffiusoq"))
58
60
 
59
61
  # Ascension Day.
60
- self._add_ascension_thursday(tr("Ulloq Kristusip qilaliarnera"))
62
+ self._add_ascension_thursday(tr("Qilaliarfik"))
61
63
 
62
64
  # Whit Sunday.
63
65
  self._add_whit_sunday(tr("Piinsip ullua"))
64
66
 
65
67
  # Whit Monday.
66
- self._add_whit_monday(tr("Piinsip ulluisa aappaanni"))
68
+ self._add_whit_monday(tr("Piinsip-aappaa"))
67
69
 
68
70
  # Christmas Day.
69
- self._add_christmas_day(tr("Juulli"))
71
+ self._add_christmas_day(tr("Juullip ullua"))
70
72
 
71
73
  # Second Day of Christmas.
72
- self._add_christmas_day_two(tr("Juullip aappaa"))
74
+ self._add_christmas_day_two(tr("Juullip-aappaa"))
73
75
 
74
76
  def _populate_optional_holidays(self):
75
77
  # Epiphany.
76
- self._add_epiphany_day(tr("Mitaarneq"))
78
+ self._add_epiphany_day(tr("Kunngit pingasut ulluat"))
77
79
 
78
80
  # International Workers' Day.
79
81
  self._add_labor_day(tr("Sulisartut ulluat"))
80
82
 
81
- # National Day.
82
- self._add_holiday_jun_21(tr("Ullortuneq"))
83
+ if self._year >= 1983:
84
+ # National Day.
85
+ self._add_holiday_jun_21(tr("Ullortuneq"))
83
86
 
84
87
  # Christmas Eve.
85
- self._add_christmas_eve(tr("Juulliaqqami"))
88
+ self._add_christmas_eve(tr("Juulliaraq"))
86
89
 
87
90
  # New Year's Eve.
88
91
  self._add_new_years_eve(tr("Ukiortaami"))
@@ -56,7 +56,7 @@ class Guatemala(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
56
56
  self._add_good_friday(tr("Viernes Santo"))
57
57
 
58
58
  # Holy Saturday.
59
- self._add_holy_saturday(tr("Sabado Santo"))
59
+ self._add_holy_saturday(tr("Sábado Santo"))
60
60
 
61
61
  # Labor Day.
62
62
  dt = self._add_labor_day(tr("Día del Trabajo"))
@@ -76,13 +76,13 @@ class Haiti(HolidayBase, ChristianHolidays, InternationalHolidays):
76
76
  # Good Friday.
77
77
  self._add_good_friday(tr("Vendredi Saint"))
78
78
 
79
- # Easter.
79
+ # Easter Sunday.
80
80
  self._add_easter_sunday(tr("Pâques"))
81
81
 
82
82
  # Corpus Christi.
83
83
  self._add_corpus_christi_day(tr("Fête-Dieu"))
84
84
 
85
- # Assumption of Mary.
85
+ # Assumption Day.
86
86
  self._add_assumption_of_mary_day(tr("Assomption de Marie"))
87
87
 
88
88
  # Death of Dessalines.
@@ -110,7 +110,7 @@ class Haiti(HolidayBase, ChristianHolidays, InternationalHolidays):
110
110
  # Feast of Lady of Perpetual Help, Patroness of Haiti.
111
111
  self._add_holiday_jun_27(tr("Fête de Notre-Dame du Perpétuel Secours, patronne d'Haiti"))
112
112
 
113
- # Ascension.
113
+ # Ascension Day.
114
114
  self._add_ascension_thursday(tr("Ascension"))
115
115
 
116
116
  # Birth Anniversary of Jean-Jacques Dessalines.