holidays 0.49__py3-none-any.whl → 0.51__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 (67) hide show
  1. holidays/__init__.py +12 -1
  2. holidays/countries/__init__.py +1 -0
  3. holidays/countries/aruba.py +2 -2
  4. holidays/countries/azerbaijan.py +1 -1
  5. holidays/countries/bahamas.py +4 -4
  6. holidays/countries/bangladesh.py +1 -1
  7. holidays/countries/belarus.py +1 -1
  8. holidays/countries/belize.py +1 -1
  9. holidays/countries/botswana.py +19 -9
  10. holidays/countries/brazil.py +14 -8
  11. holidays/countries/brunei.py +1 -1
  12. holidays/countries/canada.py +3 -3
  13. holidays/countries/chile.py +14 -11
  14. holidays/countries/curacao.py +2 -2
  15. holidays/countries/georgia.py +17 -1
  16. holidays/countries/greenland.py +96 -0
  17. holidays/countries/hongkong.py +2 -2
  18. holidays/countries/india.py +29 -23
  19. holidays/countries/ireland.py +1 -1
  20. holidays/countries/isle_of_man.py +3 -8
  21. holidays/countries/israel.py +1 -2
  22. holidays/countries/italy.py +161 -129
  23. holidays/countries/japan.py +38 -30
  24. holidays/countries/jersey.py +9 -7
  25. holidays/countries/malaysia.py +5 -5
  26. holidays/countries/mexico.py +1 -1
  27. holidays/countries/monaco.py +5 -7
  28. holidays/countries/papua_new_guinea.py +7 -6
  29. holidays/countries/russia.py +18 -4
  30. holidays/countries/saudi_arabia.py +1 -2
  31. holidays/countries/sweden.py +1 -1
  32. holidays/countries/switzerland.py +17 -15
  33. holidays/countries/tanzania.py +10 -10
  34. holidays/countries/tonga.py +10 -10
  35. holidays/countries/turkey.py +1 -1
  36. holidays/countries/united_arab_emirates.py +3 -3
  37. holidays/countries/united_states.py +4 -5
  38. holidays/deprecation.py +33 -0
  39. holidays/locale/da/LC_MESSAGES/GL.mo +0 -0
  40. holidays/locale/da/LC_MESSAGES/GL.po +91 -0
  41. holidays/locale/en_US/LC_MESSAGES/GE.mo +0 -0
  42. holidays/locale/en_US/LC_MESSAGES/GE.po +8 -4
  43. holidays/locale/en_US/LC_MESSAGES/GL.mo +0 -0
  44. holidays/locale/en_US/LC_MESSAGES/GL.po +92 -0
  45. holidays/locale/en_US/LC_MESSAGES/RU.mo +0 -0
  46. holidays/locale/en_US/LC_MESSAGES/RU.po +11 -2
  47. holidays/locale/ka/LC_MESSAGES/GE.mo +0 -0
  48. holidays/locale/ka/LC_MESSAGES/GE.po +8 -4
  49. holidays/locale/kl/LC_MESSAGES/GL.mo +0 -0
  50. holidays/locale/kl/LC_MESSAGES/GL.po +91 -0
  51. holidays/locale/{pap → pap_AW}/LC_MESSAGES/AW.mo +0 -0
  52. holidays/locale/{pap → pap_AW}/LC_MESSAGES/AW.po +1 -1
  53. holidays/locale/{pap → pap_CW}/LC_MESSAGES/CW.mo +0 -0
  54. holidays/locale/{pap → pap_CW}/LC_MESSAGES/CW.po +2 -2
  55. holidays/locale/ru/LC_MESSAGES/RU.mo +0 -0
  56. holidays/locale/ru/LC_MESSAGES/RU.po +11 -2
  57. holidays/locale/uk/LC_MESSAGES/GE.mo +0 -0
  58. holidays/locale/uk/LC_MESSAGES/GE.po +8 -4
  59. holidays/observed_holiday_base.py +42 -25
  60. holidays/registry.py +11 -1
  61. holidays/utils.py +1 -1
  62. {holidays-0.49.dist-info → holidays-0.51.dist-info}/AUTHORS +3 -0
  63. {holidays-0.49.dist-info → holidays-0.51.dist-info}/METADATA +15 -10
  64. {holidays-0.49.dist-info → holidays-0.51.dist-info}/RECORD +67 -59
  65. {holidays-0.49.dist-info → holidays-0.51.dist-info}/LICENSE +0 -0
  66. {holidays-0.49.dist-info → holidays-0.51.dist-info}/WHEEL +0 -0
  67. {holidays-0.49.dist-info → holidays-0.51.dist-info}/top_level.txt +0 -0
@@ -12,7 +12,7 @@
12
12
 
13
13
  from gettext import gettext as tr
14
14
 
15
- from holidays.calendars.gregorian import JAN, FEB, MAY
15
+ from holidays.calendars.gregorian import JAN, FEB, APR, MAY, NOV, DEC
16
16
  from holidays.calendars.julian import JULIAN_CALENDAR
17
17
  from holidays.groups import ChristianHolidays, InternationalHolidays, StaticHolidays
18
18
  from holidays.holiday_base import HolidayBase
@@ -113,11 +113,25 @@ class RUS(Russia):
113
113
 
114
114
 
115
115
  class RussiaStaticHolidays:
116
+ # Date format (see strftime() Format Codes).
117
+ substituted_date_format = tr("%d.%m.%Y")
118
+ # Day off (substituted from %s).
119
+ substituted_label = tr("Выходной (перенесено с %s)")
120
+
116
121
  special_public_holidays = {
117
- # Bridge days for 01/01/2023 and 08/01/2023.
122
+ # Substituted Holidays 2023
118
123
  # src: https://www.consultant.ru/document/cons_doc_LAW_425407/
119
124
  2023: (
120
- (FEB, 24, tr("День защитника Отечества")),
121
- (MAY, 8, tr("День Победы")),
125
+ (FEB, 24, JAN, 1),
126
+ (MAY, 8, JAN, 8),
127
+ ),
128
+ # Substituted Holidays 2024
129
+ # src: https://www.consultant.ru/document/cons_doc_LAW_455140/
130
+ 2024: (
131
+ (APR, 29, APR, 27),
132
+ (APR, 30, NOV, 2),
133
+ (MAY, 10, JAN, 6),
134
+ (DEC, 30, DEC, 28),
135
+ (DEC, 31, JAN, 7),
122
136
  ),
123
137
  }
@@ -32,7 +32,7 @@ class SaudiArabia(ObservedHolidayBase, IslamicHolidays, StaticHolidays):
32
32
  There are only 4 official national holidays in Saudi:
33
33
  - https://laboreducation.hrsd.gov.sa/en/gallery/274
34
34
  - https://laboreducation.hrsd.gov.sa/en/labor-education/322
35
- - https://english.alarabiya.net/News/gulf/2022/01/27/Saudi-Arabia-to-commemorate-Founding-Day-on-Feb-22-annually-Royal-order # noqa: E501
35
+ - https://english.alarabiya.net/News/gulf/2022/01/27/Saudi-Arabia-to-commemorate-Founding-Day-on-Feb-22-annually-Royal-order
36
36
 
37
37
  The national day and the founding day holidays are based on the
38
38
  Georgian calendar while the other two holidays are based on the
@@ -40,7 +40,6 @@ class SaudiArabia(ObservedHolidayBase, IslamicHolidays, StaticHolidays):
40
40
  year and based on moon sightings; they are:
41
41
  - Eid al-Fitr
42
42
  - Eid al-Adha
43
-
44
43
  """
45
44
 
46
45
  country = "SA"
@@ -29,7 +29,7 @@ class Sweden(HolidayBase, ChristianHolidays, InternationalHolidays):
29
29
 
30
30
  Primary sources:
31
31
  - https://sv.wikipedia.org/wiki/Helgdagar_i_Sverige
32
- - http://www.riksdagen.se/sv/dokument-lagar/dokument/svensk-forfattningssamling/lag-1989253-om-allmanna-helgdagar_sfs-1989-253 # noqa: E501
32
+ - http://www.riksdagen.se/sv/dokument-lagar/dokument/svensk-forfattningssamling/lag-1989253-om-allmanna-helgdagar_sfs-1989-253
33
33
  """
34
34
 
35
35
  country = "SE"
@@ -15,13 +15,13 @@ from gettext import gettext as tr
15
15
  from holidays.calendars.gregorian import APR, THU, _timedelta, _get_nth_weekday_of_month
16
16
  from holidays.constants import HALF_DAY, OPTIONAL, PUBLIC
17
17
  from holidays.groups import ChristianHolidays, InternationalHolidays
18
- from holidays.holiday_base import HolidayBase
18
+ from holidays.observed_holiday_base import ObservedHolidayBase, MON_ONLY, TUE_TO_NONE, SAT_TO_NONE
19
19
 
20
20
 
21
- class Switzerland(HolidayBase, ChristianHolidays, InternationalHolidays):
21
+ class Switzerland(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
22
22
  """
23
23
  References:
24
- - https://www.bj.admin.ch/dam/bj/de/data/publiservice/service/zivilprozessrecht/kant-feiertage.pdf # noqa: E501
24
+ - https://www.bj.admin.ch/dam/bj/de/data/publiservice/service/zivilprozessrecht/kant-feiertage.pdf
25
25
  - https://de.wikipedia.org/wiki/Feiertage_in_der_Schweiz
26
26
  - https://en.wikipedia.org/wiki/Public_holidays_in_Switzerland
27
27
  """
@@ -115,8 +115,9 @@ class Switzerland(HolidayBase, ChristianHolidays, InternationalHolidays):
115
115
 
116
116
  self._add_whit_monday(tr("Pfingstmontag"))
117
117
 
118
- if not self._is_monday(self._christmas_day) and not self._is_friday(self._christmas_day):
119
- self._add_christmas_day_two(tr("Stephanstag"))
118
+ self._add_observed(
119
+ self._add_christmas_day_two(tr("Stephanstag")), rule=TUE_TO_NONE + SAT_TO_NONE
120
+ )
120
121
 
121
122
  def _populate_subdiv_ai_public_holidays(self):
122
123
  self._add_good_friday(tr("Karfreitag"))
@@ -133,8 +134,9 @@ class Switzerland(HolidayBase, ChristianHolidays, InternationalHolidays):
133
134
 
134
135
  self._add_immaculate_conception_day(tr("Mariä Empfängnis"))
135
136
 
136
- if not self._is_monday(self._christmas_day) and not self._is_friday(self._christmas_day):
137
- self._add_christmas_day_two(tr("Stephanstag"))
137
+ self._add_observed(
138
+ self._add_christmas_day_two(tr("Stephanstag")), rule=TUE_TO_NONE + SAT_TO_NONE
139
+ )
138
140
 
139
141
  def _populate_subdiv_bl_public_holidays(self):
140
142
  self._add_good_friday(tr("Karfreitag"))
@@ -267,10 +269,10 @@ class Switzerland(HolidayBase, ChristianHolidays, InternationalHolidays):
267
269
  self._add_christmas_day_two(tr("Stephanstag"))
268
270
 
269
271
  def _populate_subdiv_ne_public_holidays(self):
270
- dt = self._add_new_years_day_two(tr("Berchtoldstag"))
271
- # Jan 2 is public holiday only when it falls on Monday (Jan 1 falls on Sunday).
272
- if not self._is_monday(dt):
273
- self.pop(dt)
272
+ self._add_observed(
273
+ self._add_new_years_day_two(tr("Berchtoldstag")),
274
+ rule=MON_ONLY, # Jan 2 is public holiday only when it falls on Monday.
275
+ )
274
276
 
275
277
  # Republic Day.
276
278
  self._add_holiday_mar_1(tr("Jahrestag der Ausrufung der Republik"))
@@ -281,8 +283,7 @@ class Switzerland(HolidayBase, ChristianHolidays, InternationalHolidays):
281
283
 
282
284
  self._add_corpus_christi_day(tr("Fronleichnam"))
283
285
 
284
- if self._is_sunday(self._christmas_day):
285
- self._add_christmas_day_two(tr("Stephanstag"))
286
+ self._add_observed(self._add_christmas_day_two(tr("Stephanstag")), rule=MON_ONLY)
286
287
 
287
288
  def _populate_subdiv_nw_public_holidays(self):
288
289
  # St. Joseph's Day.
@@ -445,8 +446,9 @@ class Switzerland(HolidayBase, ChristianHolidays, InternationalHolidays):
445
446
 
446
447
  self._add_immaculate_conception_day(tr("Mariä Empfängnis"))
447
448
 
448
- if not self._is_monday(self._christmas_day) and not self._is_friday(self._christmas_day):
449
- self._add_christmas_day_two(tr("Stephanstag"))
449
+ self._add_observed(
450
+ self._add_christmas_day_two(tr("Stephanstag")), rule=TUE_TO_NONE + SAT_TO_NONE
451
+ )
450
452
 
451
453
  def _populate_subdiv_vd_public_holidays(self):
452
454
  self._add_new_years_day_two(tr("Berchtoldstag"))
@@ -32,21 +32,21 @@ class Tanzania(
32
32
  - https://old.tanzlii.org/tz/legislation/act/1962/48/ # 1962
33
33
  - https://old.tanzlii.org/tz/legislation/act/1964/52/ # 1964
34
34
  - https://old.tanzlii.org/tz/legislation/act/1966/39/ # 1966
35
- - https://www.parliament.go.tz/polis/uploads/bills/acts/1566639469-The%20Written%20Laws%20(Miscellaneous%20Amendments)%20Act,%201993.pdf # 1993 # noqa: E501
36
- - https://www.parliament.go.tz/polis/uploads/bills/acts/1566638051-The%20Written%20Laws%20(Miscellaneous%20Amendments)%20(No.%202)%20Act,%201994.pdf # 1994 # noqa: E501
37
- - http://parliament.go.tz/polis/uploads/bills/acts/1454076376-ActNo-25-2002.pdf # 2002
35
+ - 1993: https://www.parliament.go.tz/polis/uploads/bills/acts/1566639469-The%20Written%20Laws%20(Miscellaneous%20Amendments)%20Act,%201993.pdf
36
+ - 1994: https://www.parliament.go.tz/polis/uploads/bills/acts/1566638051-The%20Written%20Laws%20(Miscellaneous%20Amendments)%20(No.%202)%20Act,%201994.pdf
37
+ - 2002: http://parliament.go.tz/polis/uploads/bills/acts/1454076376-ActNo-25-2002.pdf
38
38
  - https://en.wikipedia.org/wiki/Public_holidays_in_Tanzania
39
39
  - http://mytanzaniatimes.blogspot.com/2014/08/holiday-nane-nane-farmers-day-in.html
40
- - https://www.theeastafrican.co.ke/tea/business/tanzania-declares-public-holiday-on-census-day-3918836 # noqa: E501
40
+ - https://www.theeastafrican.co.ke/tea/business/tanzania-declares-public-holiday-on-census-day-3918836
41
41
  - https://www.dw.com/en/samia-suluhu-hassan-who-is-tanzanias-new-president/a-56932264
42
42
 
43
43
  Checked With:
44
- - https://www.bot.go.tz/webdocs/Other/2023%20public%20holidays.pdf # 2023
45
- - https://www.bot.go.tz/webdocs/Other/PUBLIC%20HOLIDAYS%202022.pdf # 2022
46
- - https://www.bot.go.tz/webdocs/Other/PUBLIC%20HOLIDAYS%202021.pdf # 2021
47
- - https://www.bot.go.tz/webdocs/Other/PUBLIC%20HOLIDAYS%202020.pdf # 2020
48
- - https://issamichuzi.blogspot.com/2017/11/sikukuu-za-kitaifa-zenye-mapumziko-kwa.html # 2018
49
- - https://www.timeanddate.com/holidays/tanzania/ (from 2013 onwards)
44
+ - 2023: https://www.bot.go.tz/webdocs/Other/2023%20public%20holidays.pdf
45
+ - 2022: https://www.bot.go.tz/webdocs/Other/PUBLIC%20HOLIDAYS%202022.pdf
46
+ - 2021: https://www.bot.go.tz/webdocs/Other/PUBLIC%20HOLIDAYS%202021.pdf
47
+ - 2020: https://www.bot.go.tz/webdocs/Other/PUBLIC%20HOLIDAYS%202020.pdf
48
+ - 2018: https://issamichuzi.blogspot.com/2017/11/sikukuu-za-kitaifa-zenye-mapumziko-kwa.html
49
+ - from 2013 onwards: https://www.timeanddate.com/holidays/tanzania/
50
50
 
51
51
  Limitations:
52
52
 
@@ -26,13 +26,13 @@ from holidays.observed_holiday_base import (
26
26
  class Tonga(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
27
27
  """
28
28
  References:
29
- - https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/PublicHolidaysAct_3.pdf # 2020 Rev. # noqa: E501
30
- - https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/LaokihengaahiAhoMaloloFaka-Puleanga_3x.pdf # 2020 Rev. (to) # noqa: E501
31
- - https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/PublicHolidaysAct_2.pdf # 2016 Rev. # noqa: E501
32
- - https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/PublicHolidaysAct_1.pdf # 1988 Rev. # noqa: E501
33
- - https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/LaokihengaahiAhoMaloloFaka-Puleanga_1x.pdf # 1988 Rev. (to) # noqa: E501
34
- - http://www.paclii.org/to/legis/num_act/pha2010243/ # Act 10 of 2010.
35
- - http://www.paclii.org/to/legis/num_act/pha2013243/ # Act 5 of 2013.
29
+ - 2020 Rev. https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/PublicHolidaysAct_3.pdf
30
+ - 2020 Rev. (to) https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/LaokihengaahiAhoMaloloFaka-Puleanga_3x.pdf
31
+ - 2016 Rev. https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/PublicHolidaysAct_2.pdf
32
+ - 1988 Rev. https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/PublicHolidaysAct_1.pdf
33
+ - 1988 Rev. (to) https://ago.gov.to/cms/images/LEGISLATION/PRINCIPAL/1919/1919-0008/LaokihengaahiAhoMaloloFaka-Puleanga_1x.pdf
34
+ - Act 10 of 2010 http://www.paclii.org/to/legis/num_act/pha2010243/
35
+ - Act 5 of 2013 http://www.paclii.org/to/legis/num_act/pha2013243/
36
36
 
37
37
  Checked With:
38
38
  - https://www.gov.to/press-release/tonga-public-holidays-for-2024/ # 2024
@@ -204,9 +204,9 @@ class TON(Tonga):
204
204
  class TongaStaticHolidays:
205
205
  """
206
206
  References:
207
- - https://www.stuff.co.nz/sport/league/99338959/tonga-government-declares-public-holiday-over-rugby-league-teams-deeds # noqa: E501
208
- - https://www.rnz.co.nz/international/pacific-news/398653/tonga-declares-public-holiday-for-pm-pohiva-s-state-funeral # noqa: E501
209
- - https://www.nrl.com/news/2019/11/06/tonga-declare-public-holiday-for-woolfs-winning-warriors/ # noqa: E501
207
+ - https://www.stuff.co.nz/sport/league/99338959/tonga-government-declares-public-holiday-over-rugby-league-teams-deeds
208
+ - https://www.rnz.co.nz/international/pacific-news/398653/tonga-declares-public-holiday-for-pm-pohiva-s-state-funeral
209
+ - https://www.nrl.com/news/2019/11/06/tonga-declare-public-holiday-for-woolfs-winning-warriors/
210
210
  """
211
211
 
212
212
  # Special Cases.
@@ -24,7 +24,7 @@ class Turkey(HolidayBase, InternationalHolidays, IslamicHolidays, StaticHolidays
24
24
  References:
25
25
 
26
26
  - https://en.wikipedia.org/wiki/Public_holidays_in_Turkey
27
- - [Law 2739] https://www5.tbmm.gov.tr/tutanaklar/KANUNLAR_KARARLAR/kanuntbmmc015/kanuntbmmc015/kanuntbmmc01502739.pdf # noqa: E501
27
+ - [Law 2739] https://www5.tbmm.gov.tr/tutanaklar/KANUNLAR_KARARLAR/kanuntbmmc015/kanuntbmmc015/kanuntbmmc01502739.pdf
28
28
  - [Law 2429] https://www.mevzuat.gov.tr/MevzuatMetin/1.5.2429.pdf
29
29
  - [Hijri calendar holidays] https://vakithesaplama.diyanet.gov.tr/hicriden_miladiye.php
30
30
  """
@@ -25,9 +25,9 @@ class UnitedArabEmirates(HolidayBase, InternationalHolidays, IslamicHolidays):
25
25
  However the law is not applied literally, and was amended often in the past few years.
26
26
  Sources:
27
27
  2017: https://www.khaleejtimes.com/nation/uae-official-public-holidays-list-2017
28
- 2018: https://www.thenational.ae/uae/government/uae-public-holidays-2018-announced-by-abu-dhabi-government-1.691393 # noqa: E501
29
- 2019: https://www.thenational.ae/uae/government/uae-public-holidays-for-2019-and-2020-announced-by-cabinet-1.833425 # noqa: E501
30
- 2020: https://u.ae/en/information-and-services/public-holidays-and-religious-affairs/public-holidays # noqa: E501
28
+ 2018: https://www.thenational.ae/uae/government/uae-public-holidays-2018-announced-by-abu-dhabi-government-1.691393
29
+ 2019: https://www.thenational.ae/uae/government/uae-public-holidays-for-2019-and-2020-announced-by-cabinet-1.833425
30
+ 2020: https://u.ae/en/information-and-services/public-holidays-and-religious-affairs/public-holidays
31
31
  """
32
32
 
33
33
  country = "AE"
@@ -31,16 +31,15 @@ class UnitedStates(ObservedHolidayBase, ChristianHolidays, InternationalHolidays
31
31
  https://en.wikipedia.org/wiki/Public_holidays_in_the_United_States
32
32
 
33
33
  For Northern Mariana Islands (subdivision MP):
34
- - https://governor.gov.mp/archived-news/executive-actions-archive/memorandum-2022-legal-holidays/ # noqa: E501
35
- - https://webcache.googleusercontent.com/search?q=cache:C17_7FBgPtQJ:https://governor.gov.mp/archived-news/executive-actions-archive/memorandum-2022-legal-holidays/&hl=en&gl=sg&strip=1&vwsrc=0 # noqa: E501
34
+ - https://governor.gov.mp/archived-news/executive-actions-archive/memorandum-2022-legal-holidays/
35
+ - https://webcache.googleusercontent.com/search?q=cache:C17_7FBgPtQJ:https://governor.gov.mp/archived-news/executive-actions-archive/memorandum-2022-legal-holidays/&hl=en&gl=sg&strip=1&vwsrc=0
36
36
 
37
37
  Columbus Day / Indigenous Peoples' Day history:
38
- - https://www.pewresearch.org/short-reads/2023/10/05/working-on-columbus-day-or-indigenous-peoples-day-it-depends-on-where-your-job-is/ # noqa: E501
38
+ - https://www.pewresearch.org/short-reads/2023/10/05/working-on-columbus-day-or-indigenous-peoples-day-it-depends-on-where-your-job-is/
39
39
  - https://www.officeholidays.com/holidays/usa/columbus-day-state-guide
40
40
  - https://en.wikipedia.org/wiki/Indigenous_Peoples%27_Day_(United_States)
41
41
  - https://www.sos.ri.gov/divisions/civics-and-education/reference-desk/ri-state-holidays
42
- - https://web.archive.org/web/20080831103521/http://www.dpa.ca.gov/personnel-policies/holidays.htm # noqa: E501
43
-
42
+ - https://web.archive.org/web/20080831103521/http://www.dpa.ca.gov/personnel-policies/holidays.htm
44
43
  """
45
44
 
46
45
  country = "US"
@@ -0,0 +1,33 @@
1
+ # holidays
2
+ # --------
3
+ # A fast, efficient Python library for generating country, province and state
4
+ # specific sets of holidays on the fly. It aims to make determining whether a
5
+ # specific date is a holiday as fast and flexible as possible.
6
+ #
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS file)
8
+ # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
+ # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
+ # Website: https://github.com/vacanza/python-holidays
11
+ # License: MIT (see LICENSE file)
12
+
13
+ FUTURE_INCOMPATIBILITY_WARNING_TEMPLATE = """
14
+
15
+ This is a future version incompatibility warning from Python Holidays library v{version}
16
+ to inform you about an upcoming change in our API versioning strategy that may affect your
17
+ project's dependencies. Starting from version 1.0 onwards, we will be following a loose form of
18
+ Semantic Versioning (SemVer) to provide clearer communication regarding any potential breaking
19
+ changes.
20
+
21
+ This means that while we strive to maintain backward compatibility, there might be occasional
22
+ updates that introduce breaking changes to our API. To ensure the stability of your projects,
23
+ we highly recommend pinning the version of our API that you rely on. You can pin your current
24
+ holidays v0.x dependency (e.g., holidays=={version}) or limit it (e.g., holidays<1.0) in order to
25
+ avoid potentially unwanted upgrade to the version 1.0 when it's released (ETA 2024Q4 - 2025Q1).
26
+
27
+ If you have any questions or concerns regarding this change, please don't hesitate to reach out
28
+ to us via https://github.com/vacanza/python-holidays/discussions/1800.
29
+ """
30
+
31
+
32
+ class FutureIncompatibilityWarning(DeprecationWarning):
33
+ pass
Binary file
@@ -0,0 +1,91 @@
1
+ # holidays
2
+ # --------
3
+ # A fast, efficient Python library for generating country, province and state
4
+ # specific sets of holidays on the fly. It aims to make determining whether a
5
+ # specific date is a holiday as fast and flexible as possible.
6
+ #
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS file)
8
+ # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
+ # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
+ # Website: https://github.com/vacanza/python-holidays
11
+ # License: MIT (see LICENSE file)
12
+ #
13
+ # Greenland holidays.
14
+ #
15
+ msgid ""
16
+ msgstr ""
17
+ "Project-Id-Version: Python Holidays 0.50\n"
18
+ "POT-Creation-Date: 2023-02-15 08:13-0800\n"
19
+ "PO-Revision-Date: 2024-05-30 16:36+0200\n"
20
+ "Last-Translator: ~Klintrup <github@klintrup.dk>\n"
21
+ "Language-Team: Python Holidays localization team\n"
22
+ "Language: da\n"
23
+ "MIME-Version: 1.0\n"
24
+ "Content-Type: text/plain; charset=UTF-8\n"
25
+ "Content-Transfer-Encoding: 8bit\n"
26
+ "Generated-By: Lingua 4.15.0\n"
27
+ "X-Generator: Poedit 3.2.2\n"
28
+
29
+ #. New Year's Day.
30
+ msgid "Ukioq nutaaq"
31
+ msgstr "Nytårsdag"
32
+
33
+ #. Maundy Thursday.
34
+ msgid "Sisamanngornermi illernartumi"
35
+ msgstr "Skærtorsdag"
36
+
37
+ #. Easter Sunday.
38
+ msgid "Poorskimi"
39
+ msgstr "Påskedag"
40
+
41
+ #. Easter Monday.
42
+ msgid "Poorskimi ullut aappaat"
43
+ msgstr "Anden påskedag"
44
+
45
+ #. Great Day of Prayers.
46
+ msgid "Ulloq qinuffiusoq"
47
+ msgstr "Store bededag"
48
+
49
+ #. Ascension Day.
50
+ msgid "Ulloq Kristusip qilaliarnera"
51
+ msgstr "Kristi himmelfartsdag"
52
+
53
+ #. Whit Sunday.
54
+ msgid "Piinsip ullua"
55
+ msgstr "Pinsedag"
56
+
57
+ #. Whit Monday.
58
+ msgid "Piinsip ulluisa aappaanni"
59
+ msgstr "Anden pinsedag"
60
+
61
+ #. Christmas Day.
62
+ msgid "Juulli"
63
+ msgstr "Juledag"
64
+
65
+ #. Second Day of Christmas.
66
+ msgid "Juullip aappaa"
67
+ msgstr "Anden juledag"
68
+
69
+ #. International Workers' Day.
70
+ msgid "Sulisartut ulluat"
71
+ msgstr "Arbejdernes kampdag"
72
+
73
+ #. Christmas Eve.
74
+ msgid "Juulliaqqami"
75
+ msgstr "Juleaftensdag"
76
+
77
+ #. New Year's Eve.
78
+ msgid "Ukiortaami"
79
+ msgstr "Nytårsaften"
80
+
81
+ #. National Day.
82
+ msgid "Ullortuneq"
83
+ msgstr "Nationaldag"
84
+
85
+ #. Good Friday.
86
+ msgid "Tallimanngorneq ajortorsiorneq"
87
+ msgstr "Langfredag"
88
+
89
+ #. Epiphany.
90
+ msgid "Mitaarneq"
91
+ msgstr "Helligtrekongersdag"
Binary file
@@ -14,10 +14,10 @@
14
14
  #
15
15
  msgid ""
16
16
  msgstr ""
17
- "Project-Id-Version: Python Holidays 0.41\n"
17
+ "Project-Id-Version: Python Holidays 0.50\n"
18
18
  "POT-Creation-Date: 2023-07-18 17:31+0300\n"
19
- "PO-Revision-Date: 2024-01-03 19:00+0200\n"
20
- "Last-Translator: ~Jhellico <jhellico@gmail.com>\n"
19
+ "PO-Revision-Date: 2024-05-23 11:01+0700\n"
20
+ "Last-Translator: PPsyrius <ppsyrius@ppsyrius.dev>\n"
21
21
  "Language-Team: Python Holidays localization team\n"
22
22
  "Language: en_US\n"
23
23
  "MIME-Version: 1.0\n"
@@ -25,7 +25,7 @@ msgstr ""
25
25
  "Content-Transfer-Encoding: 8bit\n"
26
26
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
27
27
  "Generated-By: Lingua 4.15.0\n"
28
- "X-Generator: Poedit 3.4\n"
28
+ "X-Generator: Poedit 3.4.4\n"
29
29
 
30
30
  #. New Year's Day.
31
31
  msgid "ახალი წელი"
@@ -90,3 +90,7 @@ msgstr "Holiday of Svetitskhovloba, Robe of Jesus"
90
90
  #. Saint George's Day.
91
91
  msgid "გიორგობა"
92
92
  msgstr "Saint George's Day"
93
+
94
+ #. Day of Family Sanctity and Respect for Parents.
95
+ msgid "ოჯახის სიწმინდისა და მშობლების პატივისცემის დღე"
96
+ msgstr "Day of Family Sanctity and Respect for Parents"
Binary file
@@ -0,0 +1,92 @@
1
+ # holidays
2
+ # --------
3
+ # A fast, efficient Python library for generating country, province and state
4
+ # specific sets of holidays on the fly. It aims to make determining whether a
5
+ # specific date is a holiday as fast and flexible as possible.
6
+ #
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS file)
8
+ # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
+ # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
+ # Website: https://github.com/vacanza/python-holidays
11
+ # License: MIT (see LICENSE file)
12
+ #
13
+ # Greenland holidays en_US localization.
14
+ #
15
+ msgid ""
16
+ msgstr ""
17
+ "Project-Id-Version: Python Holidays 0.50\n"
18
+ "POT-Creation-Date: 2023-02-15 08:13-0800\n"
19
+ "PO-Revision-Date: 2023-11-12 16:36+0200\n"
20
+ "Last-Translator: ~Klintrup <github@klintrup.dk>\n"
21
+ "Language-Team: Python Holidays localization team\n"
22
+ "Language: en_US\n"
23
+ "MIME-Version: 1.0\n"
24
+ "Content-Type: text/plain; charset=UTF-8\n"
25
+ "Content-Transfer-Encoding: 8bit\n"
26
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
27
+ "Generated-By: pygettext.py 1.5\n"
28
+ "X-Generator: Poedit 3.2.2\n"
29
+
30
+ #. New Year's Day.
31
+ msgid "Ukioq nutaaq"
32
+ msgstr "New Year's Day"
33
+
34
+ #. Maundy Thursday.
35
+ msgid "Sisamanngornermi illernartumi"
36
+ msgstr "Maundy Thursday"
37
+
38
+ #. Easter Sunday.
39
+ msgid "Poorskimi"
40
+ msgstr "Easter Sunday"
41
+
42
+ #. Easter Monday.
43
+ msgid "Poorskimi ullut aappaat"
44
+ msgstr "Easter Monday"
45
+
46
+ #. Great Day of Prayers.
47
+ msgid "Ulloq qinuffiusoq"
48
+ msgstr "Great Prayer Day"
49
+
50
+ #. Ascension Day.
51
+ msgid "Ulloq Kristusip qilaliarnera"
52
+ msgstr "Ascension Day"
53
+
54
+ #. Whit Sunday.
55
+ msgid "Piinsip ullua"
56
+ msgstr "Whit Sunday"
57
+
58
+ #. Whit Monday.
59
+ msgid "Piinsip ulluisa aappaanni"
60
+ msgstr "Whit Monday"
61
+
62
+ #. Christmas Day.
63
+ msgid "Juulli"
64
+ msgstr "Christmas Day"
65
+
66
+ #. Second Day of Christmas.
67
+ msgid "Juullip aappaa"
68
+ msgstr "Second Day of Christmas"
69
+
70
+ #. International Workers' Day.
71
+ msgid "Sulisartut ulluat"
72
+ msgstr "International Workers' Day"
73
+
74
+ #. Christmas Eve.
75
+ msgid "Juulliaqqami"
76
+ msgstr "Christmas Eve"
77
+
78
+ #. New Year's Eve.
79
+ msgid "Ukiortaami"
80
+ msgstr "New Year's Eve"
81
+
82
+ #. National Day.
83
+ msgid "Ullortuneq"
84
+ msgstr "National Day"
85
+
86
+ #. Good Friday.
87
+ msgid "Tallimanngorneq ajortorsiorneq"
88
+ msgstr "Good Friday"
89
+
90
+ #. Epiphany.
91
+ msgid "Mitaarneq"
92
+ msgstr "Epiphany"
Binary file
@@ -16,7 +16,7 @@ msgid ""
16
16
  msgstr ""
17
17
  "Project-Id-Version: Python Holidays 0.29\n"
18
18
  "POT-Creation-Date: 2023-02-15 08:13-0800\n"
19
- "PO-Revision-Date: 2023-07-13 15:58+0300\n"
19
+ "PO-Revision-Date: 2024-05-21 13:26+0700\n"
20
20
  "Last-Translator: ~Jhellico <jhellico@gmail.com>\n"
21
21
  "Language-Team: Python Holidays localization team\n"
22
22
  "Language: en_US\n"
@@ -25,7 +25,7 @@ msgstr ""
25
25
  "Content-Transfer-Encoding: 8bit\n"
26
26
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
27
27
  "Generated-By: Lingua 4.15.0\n"
28
- "X-Generator: Poedit 3.2.2\n"
28
+ "X-Generator: Poedit 3.4.4\n"
29
29
 
30
30
  #. New Year's Day.
31
31
  msgid "Новый год"
@@ -82,3 +82,12 @@ msgstr "Day of consent and reconciliation"
82
82
  #. Anniversary of the Great October Socialist Revolution.
83
83
  msgid "Годовщина Великой Октябрьской социалистической революции"
84
84
  msgstr "Anniversary of the Great October Socialist Revolution"
85
+
86
+ #. Date format (see strftime() Format Codes).
87
+ msgid "%d.%m.%Y"
88
+ msgstr "%m/%d/%Y"
89
+
90
+ #. Day off (substituted from %s).
91
+ #, c-format
92
+ msgid "Выходной (перенесено с %s)"
93
+ msgstr "Day off (substituted from %s)"
Binary file
@@ -14,10 +14,10 @@
14
14
  #
15
15
  msgid ""
16
16
  msgstr ""
17
- "Project-Id-Version: Python Holidays 0.30\n"
17
+ "Project-Id-Version: Python Holidays 0.50\n"
18
18
  "POT-Creation-Date: 2023-07-18 17:31+0300\n"
19
- "PO-Revision-Date: 2023-07-18 17:57+0300\n"
20
- "Last-Translator: ~Jhellico <jhellico@gmail.com>\n"
19
+ "PO-Revision-Date: 2024-05-23 11:01+0700\n"
20
+ "Last-Translator: PPsyrius <ppsyrius@ppsyrius.dev>\n"
21
21
  "Language-Team: Python Holidays localization team\n"
22
22
  "Language: ka\n"
23
23
  "MIME-Version: 1.0\n"
@@ -25,7 +25,7 @@ msgstr ""
25
25
  "Content-Transfer-Encoding: 8bit\n"
26
26
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
27
27
  "Generated-By: Lingua 4.15.0\n"
28
- "X-Generator: Poedit 3.2.2\n"
28
+ "X-Generator: Poedit 3.4.4\n"
29
29
 
30
30
  #. New Year's Day.
31
31
  msgid "ახალი წელი"
@@ -90,3 +90,7 @@ msgstr ""
90
90
  #. Saint George's Day.
91
91
  msgid "გიორგობა"
92
92
  msgstr ""
93
+
94
+ #. Day of Family Sanctity and Respect for Parents.
95
+ msgid "ოჯახის სიწმინდისა და მშობლების პატივისცემის დღე"
96
+ msgstr ""
Binary file