From 484703c17f62ebd6f9b6679281f95c68b46cc24d Mon Sep 17 00:00:00 2001 From: Arkadii Yakovets Date: Thu, 29 Jun 2023 12:35:44 -0700 Subject: [PATCH] Clean up calendars - Extract Gregorian calendar related stuff to `calendars/gregorian.py` - Add `calendars/julian.py` for `JULIAN_CALENDAR` only - Remove redundant `KHMER_CALENDAR` and `THAI_CALENDAR` constants --- holidays/calendars/__init__.py | 9 +- holidays/calendars/buddhist.py | 2 +- holidays/calendars/chinese.py | 2 +- holidays/calendars/gregorian.py | 17 ++++ holidays/calendars/hebrew.py | 2 +- holidays/calendars/hindu.py | 2 +- holidays/calendars/islamic.py | 2 +- holidays/calendars/julian.py | 12 +++ holidays/calendars/thai.py | 1 - holidays/constants.py | 28 +++++- holidays/countries/albania.py | 4 +- holidays/countries/algeria.py | 2 +- holidays/countries/andorra.py | 2 +- holidays/countries/angola.py | 2 +- holidays/countries/argentina.py | 16 +++- holidays/countries/armenia.py | 4 +- holidays/countries/aruba.py | 2 +- holidays/countries/australia.py | 2 +- holidays/countries/austria.py | 3 +- holidays/countries/azerbaijan.py | 2 +- holidays/countries/bahrain.py | 2 +- holidays/countries/bangladesh.py | 2 +- holidays/countries/belarus.py | 4 +- holidays/countries/belgium.py | 2 +- holidays/countries/belize.py | 2 +- holidays/countries/bolivia.py | 2 +- holidays/countries/bosnia_and_herzegovina.py | 4 +- holidays/countries/botswana.py | 2 +- holidays/countries/brazil.py | 17 +++- holidays/countries/brunei.py | 2 +- holidays/countries/bulgaria.py | 2 +- holidays/countries/burkina_faso.py | 2 +- holidays/countries/burundi.py | 2 +- holidays/countries/cambodia.py | 4 +- holidays/countries/cameroon.py | 2 +- holidays/countries/canada.py | 2 +- holidays/countries/chad.py | 2 +- holidays/countries/chile.py | 2 +- holidays/countries/china.py | 2 +- holidays/countries/colombia.py | 2 +- holidays/countries/costa_rica.py | 2 +- holidays/countries/croatia.py | 2 +- holidays/countries/cuba.py | 2 +- holidays/countries/curacao.py | 2 +- holidays/countries/cyprus.py | 4 +- holidays/countries/czechia.py | 2 +- holidays/countries/djibouti.py | 2 +- holidays/countries/dominican_republic.py | 2 +- holidays/countries/ecuador.py | 2 +- holidays/countries/egypt.py | 4 +- holidays/countries/el_salvador.py | 2 +- holidays/countries/estonia.py | 2 +- holidays/countries/eswatini.py | 2 +- holidays/countries/ethiopia.py | 4 +- holidays/countries/finland.py | 2 +- holidays/countries/france.py | 2 +- holidays/countries/gabon.py | 2 +- holidays/countries/georgia.py | 4 +- holidays/countries/germany.py | 2 +- holidays/countries/greece.py | 4 +- holidays/countries/honduras.py | 2 +- holidays/countries/hongkong.py | 2 +- holidays/countries/hungary.py | 2 +- holidays/countries/iceland.py | 2 +- holidays/countries/india.py | 2 +- holidays/countries/indonesia.py | 2 +- holidays/countries/ireland.py | 2 +- holidays/countries/isle_of_man.py | 2 +- holidays/countries/italy.py | 17 +++- holidays/countries/jamaica.py | 2 +- holidays/countries/japan.py | 16 +++- holidays/countries/kazakhstan.py | 4 +- holidays/countries/kenya.py | 2 +- holidays/countries/kyrgyzstan.py | 4 +- holidays/countries/lesotho.py | 2 +- holidays/countries/lithuania.py | 2 +- holidays/countries/luxembourg.py | 2 +- holidays/countries/madagascar.py | 2 +- holidays/countries/malawi.py | 2 +- holidays/countries/malaysia.py | 2 +- holidays/countries/malta.py | 2 +- holidays/countries/marshall_islands.py | 2 +- holidays/countries/mexico.py | 2 +- holidays/countries/moldova.py | 4 +- holidays/countries/monaco.py | 2 +- holidays/countries/montenegro.py | 4 +- holidays/countries/morocco.py | 2 +- holidays/countries/mozambique.py | 2 +- holidays/countries/namibia.py | 2 +- holidays/countries/netherlands.py | 2 +- holidays/countries/new_zealand.py | 16 +++- holidays/countries/nicaragua.py | 2 +- holidays/countries/nigeria.py | 2 +- holidays/countries/north_macedonia.py | 4 +- holidays/countries/norway.py | 2 +- holidays/countries/pakistan.py | 2 +- holidays/countries/panama.py | 2 +- holidays/countries/paraguay.py | 2 +- holidays/countries/peru.py | 2 +- holidays/countries/philippines.py | 3 +- holidays/countries/poland.py | 2 +- holidays/countries/portugal.py | 2 +- holidays/countries/romania.py | 4 +- holidays/countries/russia.py | 2 +- holidays/countries/san_marino.py | 2 +- holidays/countries/saudi_arabia.py | 2 +- holidays/countries/serbia.py | 4 +- holidays/countries/singapore.py | 2 +- holidays/countries/slovakia.py | 2 +- holidays/countries/slovenia.py | 2 +- holidays/countries/south_africa.py | 16 +++- holidays/countries/south_korea.py | 2 +- holidays/countries/spain.py | 2 +- holidays/countries/sweden.py | 2 +- holidays/countries/switzerland.py | 2 +- holidays/countries/taiwan.py | 2 +- holidays/countries/thailand.py | 2 +- holidays/countries/tunisia.py | 2 +- holidays/countries/turkey.py | 2 +- holidays/countries/ukraine.py | 4 +- holidays/countries/united_arab_emirates.py | 2 +- holidays/countries/united_kingdom.py | 2 +- holidays/countries/united_states.py | 2 +- holidays/countries/uruguay.py | 2 +- holidays/countries/uzbekistan.py | 2 +- holidays/countries/vatican_city.py | 2 +- holidays/countries/venezuela.py | 2 +- holidays/countries/vietnam.py | 2 +- holidays/countries/zambia.py | 2 +- holidays/countries/zimbabwe.py | 2 +- holidays/financial/ny_stock_exchange.py | 17 +++- holidays/groups/chinese.py | 2 +- holidays/groups/christian.py | 16 +++- holidays/groups/international.py | 2 +- holidays/groups/thai.py | 2 +- holidays/holiday_base.py | 14 +-- holidays/locale/bs/LC_MESSAGES/BA.po | 88 +++++++++---------- holidays/locale/de/LC_MESSAGES/AT.po | 32 +++---- holidays/locale/en_US/LC_MESSAGES/AR.po | 50 +++++------ holidays/locale/en_US/LC_MESSAGES/AT.po | 32 +++---- holidays/locale/en_US/LC_MESSAGES/BA.po | 88 +++++++++---------- holidays/locale/en_US/LC_MESSAGES/JP.po | 50 +++++------ holidays/locale/es/LC_MESSAGES/AR.po | 50 +++++------ holidays/locale/ja/LC_MESSAGES/JP.po | 50 +++++------ holidays/locale/sr/LC_MESSAGES/BA.po | 88 +++++++++---------- holidays/locale/uk/LC_MESSAGES/AR.po | 50 +++++------ holidays/locale/uk/LC_MESSAGES/AT.po | 32 +++---- holidays/locale/uk/LC_MESSAGES/BA.po | 88 +++++++++---------- tests/common.py | 2 +- tests/countries/test_american_samoa.py | 2 +- tests/countries/test_guam.py | 2 +- tests/countries/test_malaysia.py | 2 +- tests/countries/test_marshall_islands.py | 2 +- .../test_northern_mariana_islands.py | 2 +- tests/countries/test_puerto_rico.py | 2 +- tests/countries/test_spain.py | 2 +- .../test_united_states_virgin_islands.py | 2 +- tests/financial/test_ny_stock_exchange.py | 2 +- tests/test_calendars.py | 4 +- tests/test_holiday_base.py | 3 +- 160 files changed, 686 insertions(+), 533 deletions(-) create mode 100644 holidays/calendars/gregorian.py create mode 100644 holidays/calendars/julian.py diff --git a/holidays/calendars/__init__.py b/holidays/calendars/__init__.py index ba519aafd..2a063c8a2 100644 --- a/holidays/calendars/__init__.py +++ b/holidays/calendars/__init__.py @@ -17,12 +17,9 @@ from holidays.calendars.buddhist import _CustomBuddhistCalendar, _BuddhistLunisolar from holidays.calendars.chinese import _CustomChineseCalendar, _ChineseLunisolar from holidays.calendars.custom import _CustomCalendar +from holidays.calendars.gregorian import GREGORIAN_CALENDAR from holidays.calendars.hebrew import _HebrewLunisolar from holidays.calendars.hindu import _HinduLunisolar, _CustomHinduCalendar from holidays.calendars.islamic import _CustomIslamicCalendar, _IslamicLunar -from holidays.calendars.thai import _ThaiLunisolar - -GREGORIAN_CALENDAR = "GREGORIAN_CALENDAR" -JULIAN_CALENDAR = "JULIAN_CALENDAR" -KHMER_CALENDAR = "KHMER_CALENDAR" -THAI_CALENDAR = "THAI_CALENDAR" +from holidays.calendars.julian import JULIAN_CALENDAR +from holidays.calendars.thai import _ThaiLunisolar, KHMER_CALENDAR, THAI_CALENDAR diff --git a/holidays/calendars/buddhist.py b/holidays/calendars/buddhist.py index a2a6e462b..c5b992c33 100644 --- a/holidays/calendars/buddhist.py +++ b/holidays/calendars/buddhist.py @@ -13,7 +13,7 @@ from typing import Optional, Tuple from holidays.calendars.custom import _CustomCalendar -from holidays.constants import MAY, JUN +from holidays.calendars.gregorian import MAY, JUN VESAK = "VESAK" VESAK_MAY = "VESAK_MAY" diff --git a/holidays/calendars/chinese.py b/holidays/calendars/chinese.py index c03a13006..e37cdd7bc 100644 --- a/holidays/calendars/chinese.py +++ b/holidays/calendars/chinese.py @@ -13,7 +13,7 @@ from typing import Optional, Tuple from holidays.calendars.custom import _CustomCalendar -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, SEP, OCT, NOV +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, SEP, OCT, NOV BUDDHA_BIRTHDAY = "BUDDHA_BIRTHDAY" DOUBLE_NINTH = "DOUBLE_NINTH" diff --git a/holidays/calendars/gregorian.py b/holidays/calendars/gregorian.py new file mode 100644 index 000000000..7181818e9 --- /dev/null +++ b/holidays/calendars/gregorian.py @@ -0,0 +1,17 @@ +# python-holidays +# --------------- +# A fast, efficient Python library for generating country, province and state +# specific sets of holidays on the fly. It aims to make determining whether a +# specific date is a holiday as fast and flexible as possible. +# +# Authors: dr-prodigy (c) 2017-2023 +# ryanss (c) 2014-2017 +# Website: https://github.com/dr-prodigy/python-holidays +# License: MIT (see LICENSE file) + +GREGORIAN_CALENDAR = "GREGORIAN_CALENDAR" + +MON, TUE, WED, THU, FRI, SAT, SUN = range(7) +WEEKEND = (SAT, SUN) + +JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC = range(1, 13) diff --git a/holidays/calendars/hebrew.py b/holidays/calendars/hebrew.py index 5e40d03ce..25da28187 100644 --- a/holidays/calendars/hebrew.py +++ b/holidays/calendars/hebrew.py @@ -12,7 +12,7 @@ from datetime import date from typing import Optional -from holidays.constants import FEB, MAR, APR, MAY, JUN, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import FEB, MAR, APR, MAY, JUN, SEP, OCT, NOV, DEC class _HebrewLunisolar: diff --git a/holidays/calendars/hindu.py b/holidays/calendars/hindu.py index abd40b6b1..72be00c33 100644 --- a/holidays/calendars/hindu.py +++ b/holidays/calendars/hindu.py @@ -13,7 +13,7 @@ from typing import Optional, Tuple from holidays.calendars.custom import _CustomCalendar -from holidays.constants import JAN, FEB, MAR, OCT, NOV +from holidays.calendars.gregorian import JAN, FEB, MAR, OCT, NOV DIWALI = "DIWALI" THAIPUSAM = "THAIPUSAM" diff --git a/holidays/calendars/islamic.py b/holidays/calendars/islamic.py index 1eb6ddc52..4443e49c8 100644 --- a/holidays/calendars/islamic.py +++ b/holidays/calendars/islamic.py @@ -13,7 +13,7 @@ from typing import Iterable, Tuple from holidays.calendars.custom import _CustomCalendar -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC from holidays.helpers import _normalize_tuple ASHURA = "ASHURA" diff --git a/holidays/calendars/julian.py b/holidays/calendars/julian.py new file mode 100644 index 000000000..130c69d7f --- /dev/null +++ b/holidays/calendars/julian.py @@ -0,0 +1,12 @@ +# python-holidays +# --------------- +# A fast, efficient Python library for generating country, province and state +# specific sets of holidays on the fly. It aims to make determining whether a +# specific date is a holiday as fast and flexible as possible. +# +# Authors: dr-prodigy (c) 2017-2023 +# ryanss (c) 2014-2017 +# Website: https://github.com/dr-prodigy/python-holidays +# License: MIT (see LICENSE file) + +JULIAN_CALENDAR = "JULIAN_CALENDAR" diff --git a/holidays/calendars/thai.py b/holidays/calendars/thai.py index a0dd91df2..75147aa01 100644 --- a/holidays/calendars/thai.py +++ b/holidays/calendars/thai.py @@ -14,7 +14,6 @@ from functools import lru_cache from typing import Optional -# Manual Assign to avoid circular import KHMER_CALENDAR = "KHMER_CALENDAR" THAI_CALENDAR = "THAI_CALENDAR" diff --git a/holidays/constants.py b/holidays/constants.py index e64231878..9b3613e3c 100644 --- a/holidays/constants.py +++ b/holidays/constants.py @@ -9,12 +9,32 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -HOLIDAY_NAME_DELIMITER = "; " # Holiday names separator. +# flake8: noqa: F401 -MON, TUE, WED, THU, FRI, SAT, SUN = range(7) -WEEKEND = (SAT, SUN) +from holidays.calendars.gregorian import ( + JAN, + FEB, + MAR, + APR, + MAY, + JUN, + JUL, + AUG, + SEP, + OCT, + NOV, + DEC, + MON, + TUE, + WED, + THU, + FRI, + SAT, + SUN, + WEEKEND, +) -JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC = range(1, 13) +HOLIDAY_NAME_DELIMITER = "; " # Holiday names separator. # Supported holiday categories. BANK = "bank" diff --git a/holidays/countries/albania.py b/holidays/countries/albania.py index f2e71e672..8dd37daed 100644 --- a/holidays/countries/albania.py +++ b/holidays/countries/albania.py @@ -11,8 +11,8 @@ from datetime import timedelta as td -from holidays.calendars import JULIAN_CALENDAR -from holidays.constants import JAN, MAR, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, MAR, SEP, OCT, NOV, DEC +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, IslamicHolidays, InternationalHolidays diff --git a/holidays/countries/algeria.py b/holidays/countries/algeria.py index 31143b61e..00159f8d5 100644 --- a/holidays/countries/algeria.py +++ b/holidays/countries/algeria.py @@ -1,4 +1,4 @@ -from holidays.constants import JAN, JUL, NOV +from holidays.calendars.gregorian import JAN, JUL, NOV from holidays.holiday_base import HolidayBase from holidays.holiday_groups import IslamicHolidays, InternationalHolidays diff --git a/holidays/countries/andorra.py b/holidays/countries/andorra.py index 7f72fb1c0..faf49a799 100644 --- a/holidays/countries/andorra.py +++ b/holidays/countries/andorra.py @@ -11,7 +11,7 @@ from datetime import timedelta as td -from holidays.constants import MAR, JUL, AUG, SEP, FRI, SAT +from holidays.calendars.gregorian import MAR, JUL, AUG, SEP, FRI, SAT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/angola.py b/holidays/countries/angola.py index 9c0152cf8..d26e902af 100644 --- a/holidays/countries/angola.py +++ b/holidays/countries/angola.py @@ -11,7 +11,7 @@ from datetime import timedelta as td -from holidays.constants import FEB, MAR, APR, SEP, NOV, DEC +from holidays.calendars.gregorian import FEB, MAR, APR, SEP, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/argentina.py b/holidays/countries/argentina.py index f6d877420..4666b606b 100644 --- a/holidays/countries/argentina.py +++ b/holidays/countries/argentina.py @@ -12,7 +12,21 @@ from datetime import date from gettext import gettext as tr -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC, MON +from holidays.calendars.gregorian import ( + JAN, + FEB, + MAR, + APR, + MAY, + JUN, + JUL, + AUG, + SEP, + OCT, + NOV, + DEC, + MON, +) from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/armenia.py b/holidays/countries/armenia.py index 5e30e2b1c..9803a5389 100644 --- a/holidays/countries/armenia.py +++ b/holidays/countries/armenia.py @@ -11,8 +11,8 @@ from gettext import gettext as tr -from holidays.calendars import JULIAN_CALENDAR -from holidays.constants import JAN, APR, MAY, JUL, SEP +from holidays.calendars.gregorian import JAN, APR, MAY, JUL, SEP +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/aruba.py b/holidays/countries/aruba.py index 34807c37a..2f5ce4e23 100644 --- a/holidays/countries/aruba.py +++ b/holidays/countries/aruba.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import JAN, MAR, APR, AUG +from holidays.calendars.gregorian import JAN, MAR, APR, AUG from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/australia.py b/holidays/countries/australia.py index ece363609..9a805445b 100644 --- a/holidays/countries/australia.py +++ b/holidays/countries/australia.py @@ -12,7 +12,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import JAN, MAR, APR, MAY, JUN, AUG, SEP, OCT, NOV, MON, TUE, FRI +from holidays.calendars.gregorian import JAN, MAR, APR, MAY, JUN, AUG, SEP, OCT, NOV, MON, TUE, FRI from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/austria.py b/holidays/countries/austria.py index 04ec1683b..5685b2e8c 100644 --- a/holidays/countries/austria.py +++ b/holidays/countries/austria.py @@ -11,7 +11,8 @@ from gettext import gettext as tr -from holidays.constants import OCT, NOV, BANK, PUBLIC +from holidays.calendars.gregorian import OCT, NOV +from holidays.constants import BANK, PUBLIC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/azerbaijan.py b/holidays/countries/azerbaijan.py index fa4036114..82286fdff 100644 --- a/holidays/countries/azerbaijan.py +++ b/holidays/countries/azerbaijan.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from holidays.calendars import _CustomIslamicCalendar -from holidays.constants import JAN, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import InternationalHolidays, IslamicHolidays diff --git a/holidays/countries/bahrain.py b/holidays/countries/bahrain.py index a6796db96..7ee3b12b1 100644 --- a/holidays/countries/bahrain.py +++ b/holidays/countries/bahrain.py @@ -10,7 +10,7 @@ # License: MIT (see LICENSE file) from holidays.calendars import _CustomIslamicCalendar -from holidays.constants import FRI, SAT, MAY, JUL, AUG, OCT, DEC +from holidays.calendars.gregorian import FRI, SAT, MAY, JUL, AUG, OCT, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import InternationalHolidays, IslamicHolidays diff --git a/holidays/countries/bangladesh.py b/holidays/countries/bangladesh.py index ac84836a4..f0ae79d9e 100644 --- a/holidays/countries/bangladesh.py +++ b/holidays/countries/bangladesh.py @@ -12,7 +12,7 @@ from datetime import date -from holidays.constants import FEB, MAR, APR, MAY, AUG, DEC +from holidays.calendars.gregorian import FEB, MAR, APR, MAY, AUG, DEC from holidays.holiday_base import HolidayBase diff --git a/holidays/countries/belarus.py b/holidays/countries/belarus.py index 03178bc4a..d477f998b 100644 --- a/holidays/countries/belarus.py +++ b/holidays/countries/belarus.py @@ -11,8 +11,8 @@ from gettext import gettext as tr -from holidays.calendars import GREGORIAN_CALENDAR, JULIAN_CALENDAR -from holidays.constants import JUL, NOV +from holidays.calendars.gregorian import GREGORIAN_CALENDAR, JUL, NOV +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/belgium.py b/holidays/countries/belgium.py index a5aa28078..6b91cd6dd 100644 --- a/holidays/countries/belgium.py +++ b/holidays/countries/belgium.py @@ -14,7 +14,7 @@ from dateutil.easter import easter -from holidays.constants import JAN, MAY, JUL, AUG, NOV, DEC +from holidays.calendars.gregorian import JAN, MAY, JUL, AUG, NOV, DEC from holidays.holiday_base import HolidayBase diff --git a/holidays/countries/belize.py b/holidays/countries/belize.py index 4a1cbc5e8..dae496e7f 100644 --- a/holidays/countries/belize.py +++ b/holidays/countries/belize.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from typing import Optional -from holidays.constants import JAN, MAR, MAY, AUG, SEP, OCT, NOV, MON +from holidays.calendars.gregorian import JAN, MAR, MAY, AUG, SEP, OCT, NOV, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/bolivia.py b/holidays/countries/bolivia.py index 9be717499..e26339118 100644 --- a/holidays/countries/bolivia.py +++ b/holidays/countries/bolivia.py @@ -12,7 +12,7 @@ from datetime import timedelta as td -from holidays.constants import JAN, APR, MAY, JUN, JUL, AUG, SEP, NOV +from holidays.calendars.gregorian import JAN, APR, MAY, JUN, JUL, AUG, SEP, NOV from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/bosnia_and_herzegovina.py b/holidays/countries/bosnia_and_herzegovina.py index 4c79ba730..92181f81c 100644 --- a/holidays/countries/bosnia_and_herzegovina.py +++ b/holidays/countries/bosnia_and_herzegovina.py @@ -14,7 +14,9 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.calendars import _CustomIslamicCalendar, GREGORIAN_CALENDAR, JULIAN_CALENDAR +from holidays.calendars import _CustomIslamicCalendar +from holidays.calendars.gregorian import GREGORIAN_CALENDAR +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, IslamicHolidays, InternationalHolidays diff --git a/holidays/countries/botswana.py b/holidays/countries/botswana.py index 172c7e261..b959d59bf 100644 --- a/holidays/countries/botswana.py +++ b/holidays/countries/botswana.py @@ -12,7 +12,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import JUL, SEP, MON +from holidays.calendars.gregorian import JUL, SEP, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/brazil.py b/holidays/countries/brazil.py index a10c3bf32..966904181 100644 --- a/holidays/countries/brazil.py +++ b/holidays/countries/brazil.py @@ -12,7 +12,22 @@ from datetime import timedelta as td from datetime import date -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC, FRI, SUN +from holidays.calendars.gregorian import ( + JAN, + FEB, + MAR, + APR, + MAY, + JUN, + JUL, + AUG, + SEP, + OCT, + NOV, + DEC, + FRI, + SUN, +) from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/brunei.py b/holidays/countries/brunei.py index cc73defd6..9b723fcc8 100644 --- a/holidays/countries/brunei.py +++ b/holidays/countries/brunei.py @@ -14,7 +14,7 @@ from gettext import gettext as tr from holidays.calendars import _CustomIslamicCalendar -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ( ChineseCalendarHolidays, diff --git a/holidays/countries/bulgaria.py b/holidays/countries/bulgaria.py index 75f75cd06..404d9dadb 100644 --- a/holidays/countries/bulgaria.py +++ b/holidays/countries/bulgaria.py @@ -14,7 +14,7 @@ from dateutil.easter import EASTER_ORTHODOX, easter -from holidays.constants import JAN, MAR, MAY, SEP, NOV, DEC +from holidays.calendars.gregorian import JAN, MAR, MAY, SEP, NOV, DEC from holidays.holiday_base import HolidayBase diff --git a/holidays/countries/burkina_faso.py b/holidays/countries/burkina_faso.py index 7fa0fc49c..cd35d5438 100644 --- a/holidays/countries/burkina_faso.py +++ b/holidays/countries/burkina_faso.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from holidays.calendars import _CustomIslamicCalendar -from holidays.constants import JAN, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays, IslamicHolidays diff --git a/holidays/countries/burundi.py b/holidays/countries/burundi.py index a5c6f3a8b..efcf89f62 100644 --- a/holidays/countries/burundi.py +++ b/holidays/countries/burundi.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from typing import Optional -from holidays.constants import FEB, APR, JUN, JUL, OCT +from holidays.calendars.gregorian import FEB, APR, JUN, JUL, OCT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, IslamicHolidays, InternationalHolidays diff --git a/holidays/countries/cambodia.py b/holidays/countries/cambodia.py index a89d78b4f..4ebfd5828 100644 --- a/holidays/countries/cambodia.py +++ b/holidays/countries/cambodia.py @@ -12,8 +12,8 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.calendars import KHMER_CALENDAR -from holidays.constants import JAN, APR, MAY, JUN, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, APR, MAY, JUN, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.thai import KHMER_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import InternationalHolidays, ThaiCalendarHolidays diff --git a/holidays/countries/cameroon.py b/holidays/countries/cameroon.py index 2547a8b06..4bc5a66a8 100644 --- a/holidays/countries/cameroon.py +++ b/holidays/countries/cameroon.py @@ -12,7 +12,7 @@ from datetime import timedelta as td from holidays.calendars import _CustomIslamicCalendar -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays, IslamicHolidays diff --git a/holidays/countries/canada.py b/holidays/countries/canada.py index c983c0f5e..b9eb62256 100644 --- a/holidays/countries/canada.py +++ b/holidays/countries/canada.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, SUN, MON +from holidays.calendars.gregorian import FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, SUN, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/chad.py b/holidays/countries/chad.py index 6407af2d2..5a700c76a 100644 --- a/holidays/countries/chad.py +++ b/holidays/countries/chad.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from holidays.calendars import _CustomIslamicCalendar -from holidays.constants import JAN, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays, IslamicHolidays diff --git a/holidays/countries/chile.py b/holidays/countries/chile.py index 69ecba3d2..e4fe0c0d6 100644 --- a/holidays/countries/chile.py +++ b/holidays/countries/chile.py @@ -14,7 +14,7 @@ from gettext import gettext as tr from typing import Tuple -from holidays.constants import JAN, MAY, JUN, JUL, AUG, SEP, OCT, MON +from holidays.calendars.gregorian import JAN, MAY, JUN, JUL, AUG, SEP, OCT, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/china.py b/holidays/countries/china.py index c72631c3b..5acefadda 100644 --- a/holidays/countries/china.py +++ b/holidays/countries/china.py @@ -11,7 +11,7 @@ from datetime import timedelta as td -from holidays.constants import OCT +from holidays.calendars.gregorian import OCT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChineseCalendarHolidays, InternationalHolidays diff --git a/holidays/countries/colombia.py b/holidays/countries/colombia.py index 32f16b586..c419c9de6 100644 --- a/holidays/countries/colombia.py +++ b/holidays/countries/colombia.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import JAN, MAR, JUN, JUL, AUG, OCT, NOV, MON +from holidays.calendars.gregorian import JAN, MAR, JUN, JUL, AUG, OCT, NOV, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/costa_rica.py b/holidays/countries/costa_rica.py index 254900c88..9ebec1554 100644 --- a/holidays/countries/costa_rica.py +++ b/holidays/countries/costa_rica.py @@ -12,7 +12,7 @@ from datetime import date from gettext import gettext as tr -from holidays.constants import APR, MAY, JUL, AUG, SEP, OCT, DEC, MON, SUN +from holidays.calendars.gregorian import APR, MAY, JUL, AUG, SEP, OCT, DEC, MON, SUN from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/croatia.py b/holidays/countries/croatia.py index d80104f60..d837b5d03 100644 --- a/holidays/countries/croatia.py +++ b/holidays/countries/croatia.py @@ -14,7 +14,7 @@ from dateutil.easter import easter -from holidays.constants import JAN, MAY, JUN, AUG, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, MAY, JUN, AUG, OCT, NOV, DEC from holidays.holiday_base import HolidayBase diff --git a/holidays/countries/cuba.py b/holidays/countries/cuba.py index e6fd7b9e3..6eeee3d03 100644 --- a/holidays/countries/cuba.py +++ b/holidays/countries/cuba.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import JAN, JUL, OCT +from holidays.calendars.gregorian import JAN, JUL, OCT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/curacao.py b/holidays/countries/curacao.py index 80fa81470..37b116556 100644 --- a/holidays/countries/curacao.py +++ b/holidays/countries/curacao.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import APR, MAY, JUL, OCT +from holidays.calendars.gregorian import APR, MAY, JUL, OCT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/cyprus.py b/holidays/countries/cyprus.py index 2a9d95288..a5fedc4a5 100644 --- a/holidays/countries/cyprus.py +++ b/holidays/countries/cyprus.py @@ -12,8 +12,8 @@ from gettext import gettext as tr -from holidays.calendars import JULIAN_CALENDAR, GREGORIAN_CALENDAR -from holidays.constants import MAR, APR, OCT +from holidays.calendars.gregorian import GREGORIAN_CALENDAR, MAR, APR, OCT +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/czechia.py b/holidays/countries/czechia.py index 3ae517b76..b63a474a2 100644 --- a/holidays/countries/czechia.py +++ b/holidays/countries/czechia.py @@ -14,7 +14,7 @@ from dateutil.easter import easter -from holidays.constants import JAN, MAY, JUL, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, MAY, JUL, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase diff --git a/holidays/countries/djibouti.py b/holidays/countries/djibouti.py index 231e26055..b1006db9b 100644 --- a/holidays/countries/djibouti.py +++ b/holidays/countries/djibouti.py @@ -9,7 +9,7 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.constants import FRI, SAT, JUN +from holidays.calendars.gregorian import FRI, SAT, JUN from holidays.holiday_base import HolidayBase from holidays.holiday_groups import IslamicHolidays, InternationalHolidays diff --git a/holidays/countries/dominican_republic.py b/holidays/countries/dominican_republic.py index 9da915e49..65ce91a4c 100644 --- a/holidays/countries/dominican_republic.py +++ b/holidays/countries/dominican_republic.py @@ -12,7 +12,7 @@ from datetime import date from gettext import gettext as tr -from holidays.constants import JAN, FEB, MAY, JUN, AUG, SEP, NOV, MON +from holidays.calendars.gregorian import JAN, FEB, MAY, JUN, AUG, SEP, NOV, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/ecuador.py b/holidays/countries/ecuador.py index 87f2a33db..acde2e78f 100644 --- a/holidays/countries/ecuador.py +++ b/holidays/countries/ecuador.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import MAY, AUG, OCT, NOV, DEC +from holidays.calendars.gregorian import MAY, AUG, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/egypt.py b/holidays/countries/egypt.py index a1406dfd7..29bc37c51 100644 --- a/holidays/countries/egypt.py +++ b/holidays/countries/egypt.py @@ -9,8 +9,8 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.calendars import JULIAN_CALENDAR -from holidays.constants import JAN, APR, JUN, JUL, OCT +from holidays.calendars.gregorian import JAN, APR, JUN, JUL, OCT +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, IslamicHolidays, InternationalHolidays diff --git a/holidays/countries/el_salvador.py b/holidays/countries/el_salvador.py index 1677a5643..35f04fb5d 100644 --- a/holidays/countries/el_salvador.py +++ b/holidays/countries/el_salvador.py @@ -9,7 +9,7 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.constants import MAY, JUN, AUG, SEP +from holidays.calendars.gregorian import MAY, JUN, AUG, SEP from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/estonia.py b/holidays/countries/estonia.py index 0e4019598..579028ab4 100644 --- a/holidays/countries/estonia.py +++ b/holidays/countries/estonia.py @@ -11,7 +11,7 @@ from gettext import gettext as tr -from holidays.constants import FEB, MAY, JUN, AUG +from holidays.calendars.gregorian import FEB, MAY, JUN, AUG from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/eswatini.py b/holidays/countries/eswatini.py index 3b2af7667..f9362d20d 100644 --- a/holidays/countries/eswatini.py +++ b/holidays/countries/eswatini.py @@ -13,7 +13,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import JAN, APR, JUL, SEP, DEC +from holidays.calendars.gregorian import JAN, APR, JUL, SEP, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/ethiopia.py b/holidays/countries/ethiopia.py index 15e02a587..ae5d2c0f6 100644 --- a/holidays/countries/ethiopia.py +++ b/holidays/countries/ethiopia.py @@ -11,8 +11,8 @@ from gettext import gettext as tr -from holidays.calendars import JULIAN_CALENDAR -from holidays.constants import MAR, MAY, SEP +from holidays.calendars.gregorian import MAR, MAY, SEP +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays, IslamicHolidays diff --git a/holidays/countries/finland.py b/holidays/countries/finland.py index 137a7f9bb..9df506cf7 100644 --- a/holidays/countries/finland.py +++ b/holidays/countries/finland.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import JAN, MAY, JUN, OCT, NOV, DEC, FRI, SAT +from holidays.calendars.gregorian import JAN, MAY, JUN, OCT, NOV, DEC, FRI, SAT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/france.py b/holidays/countries/france.py index efd008fe8..07f8ccd3e 100644 --- a/holidays/countries/france.py +++ b/holidays/countries/france.py @@ -12,7 +12,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import MAR, APR, MAY, JUN, JUL, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import MAR, APR, MAY, JUN, JUL, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/gabon.py b/holidays/countries/gabon.py index 7c0636686..d0d04eeb4 100644 --- a/holidays/countries/gabon.py +++ b/holidays/countries/gabon.py @@ -10,7 +10,7 @@ # License: MIT (see LICENSE file) from holidays.calendars import _CustomIslamicCalendar -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays, IslamicHolidays diff --git a/holidays/countries/georgia.py b/holidays/countries/georgia.py index e25b49eb7..472438a24 100644 --- a/holidays/countries/georgia.py +++ b/holidays/countries/georgia.py @@ -11,8 +11,8 @@ from gettext import gettext as tr -from holidays.calendars import JULIAN_CALENDAR -from holidays.constants import MAR, APR, MAY, AUG, OCT, NOV +from holidays.calendars.gregorian import MAR, APR, MAY, AUG, OCT, NOV +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/germany.py b/holidays/countries/germany.py index e35f5aacb..3b44dd06d 100644 --- a/holidays/countries/germany.py +++ b/holidays/countries/germany.py @@ -11,7 +11,7 @@ from gettext import gettext as tr -from holidays.constants import MAY, SEP, OCT, NOV, WED +from holidays.calendars.gregorian import MAY, SEP, OCT, NOV, WED from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/greece.py b/holidays/countries/greece.py index 5d33fd841..2efec99a1 100644 --- a/holidays/countries/greece.py +++ b/holidays/countries/greece.py @@ -12,8 +12,8 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.calendars import GREGORIAN_CALENDAR, JULIAN_CALENDAR -from holidays.constants import MAR, OCT, MON +from holidays.calendars.gregorian import GREGORIAN_CALENDAR, MAR, OCT, MON +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/honduras.py b/holidays/countries/honduras.py index eb11a42ec..14fad9c9b 100644 --- a/holidays/countries/honduras.py +++ b/holidays/countries/honduras.py @@ -12,7 +12,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import APR, SEP, OCT, WED +from holidays.calendars.gregorian import APR, SEP, OCT, WED from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/hongkong.py b/holidays/countries/hongkong.py index 2b5bca826..2c4a039fd 100644 --- a/holidays/countries/hongkong.py +++ b/holidays/countries/hongkong.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from typing import Optional -from holidays.constants import JUN, JUL, AUG, SEP, OCT, MON +from holidays.calendars.gregorian import JUN, JUL, AUG, SEP, OCT, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ( ChineseCalendarHolidays, diff --git a/holidays/countries/hungary.py b/holidays/countries/hungary.py index 81ee5d32e..88a44d31e 100644 --- a/holidays/countries/hungary.py +++ b/holidays/countries/hungary.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import MAR, APR, AUG, OCT, NOV, DEC +from holidays.calendars.gregorian import MAR, APR, AUG, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/iceland.py b/holidays/countries/iceland.py index 79060af15..bbc07e6e0 100644 --- a/holidays/countries/iceland.py +++ b/holidays/countries/iceland.py @@ -11,7 +11,7 @@ from gettext import gettext as tr -from holidays.constants import APR, JUN, AUG, MON, THU +from holidays.calendars.gregorian import APR, JUN, AUG, MON, THU from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/india.py b/holidays/countries/india.py index 75e7c17df..9717bffaa 100644 --- a/holidays/countries/india.py +++ b/holidays/countries/india.py @@ -11,7 +11,7 @@ import warnings -from holidays.constants import JAN, MAR, APR, MAY, JUN, AUG, OCT, NOV +from holidays.calendars.gregorian import JAN, MAR, APR, MAY, JUN, AUG, OCT, NOV from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays, IslamicHolidays diff --git a/holidays/countries/indonesia.py b/holidays/countries/indonesia.py index a8f3dd448..4b0f36e08 100644 --- a/holidays/countries/indonesia.py +++ b/holidays/countries/indonesia.py @@ -14,7 +14,7 @@ _CustomChineseCalendar, _CustomIslamicCalendar, ) -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ( BuddhistCalendarHolidays, diff --git a/holidays/countries/ireland.py b/holidays/countries/ireland.py index 95a06cc5a..3dea88190 100644 --- a/holidays/countries/ireland.py +++ b/holidays/countries/ireland.py @@ -12,7 +12,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import FEB, MAR, MAY, JUN, AUG, OCT, DEC, MON +from holidays.calendars.gregorian import FEB, MAR, MAY, JUN, AUG, OCT, DEC, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/isle_of_man.py b/holidays/countries/isle_of_man.py index 27d39ffd9..d1e637c41 100644 --- a/holidays/countries/isle_of_man.py +++ b/holidays/countries/isle_of_man.py @@ -12,7 +12,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import JUN, JUL, AUG, MON, FRI +from holidays.calendars.gregorian import JUN, JUL, AUG, MON, FRI from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/italy.py b/holidays/countries/italy.py index 240b261b6..49740769f 100644 --- a/holidays/countries/italy.py +++ b/holidays/countries/italy.py @@ -12,7 +12,22 @@ from datetime import timedelta as td -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC, TUE, SUN +from holidays.calendars.gregorian import ( + JAN, + FEB, + MAR, + APR, + MAY, + JUN, + JUL, + AUG, + SEP, + OCT, + NOV, + DEC, + TUE, + SUN, +) from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/jamaica.py b/holidays/countries/jamaica.py index 7312ce9a0..cd74cbdc8 100644 --- a/holidays/countries/jamaica.py +++ b/holidays/countries/jamaica.py @@ -12,7 +12,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import MAY, AUG, OCT, MON +from holidays.calendars.gregorian import MAY, AUG, OCT, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/japan.py b/holidays/countries/japan.py index 802bfeacc..26a662309 100644 --- a/holidays/countries/japan.py +++ b/holidays/countries/japan.py @@ -14,7 +14,21 @@ from gettext import gettext as tr from typing import Tuple -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC, MON +from holidays.calendars.gregorian import ( + JAN, + FEB, + MAR, + APR, + MAY, + JUN, + JUL, + AUG, + SEP, + OCT, + NOV, + DEC, + MON, +) from holidays.helpers import _normalize_tuple from holidays.holiday_base import HolidayBase diff --git a/holidays/countries/kazakhstan.py b/holidays/countries/kazakhstan.py index d7837fc76..89f31485f 100644 --- a/holidays/countries/kazakhstan.py +++ b/holidays/countries/kazakhstan.py @@ -11,8 +11,8 @@ from datetime import timedelta as td -from holidays.calendars import JULIAN_CALENDAR -from holidays.constants import MAR, MAY, JUL, AUG, OCT, DEC +from holidays.calendars.gregorian import MAR, MAY, JUL, AUG, OCT, DEC +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, IslamicHolidays, InternationalHolidays diff --git a/holidays/countries/kenya.py b/holidays/countries/kenya.py index 79eeaf04f..8d252940c 100644 --- a/holidays/countries/kenya.py +++ b/holidays/countries/kenya.py @@ -12,7 +12,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import FEB, APR, JUN, AUG, SEP, OCT, DEC +from holidays.calendars.gregorian import FEB, APR, JUN, AUG, SEP, OCT, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/kyrgyzstan.py b/holidays/countries/kyrgyzstan.py index 343423071..e8858cb0e 100644 --- a/holidays/countries/kyrgyzstan.py +++ b/holidays/countries/kyrgyzstan.py @@ -9,8 +9,8 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.calendars import JULIAN_CALENDAR -from holidays.constants import FEB, MAR, APR, MAY, AUG, NOV +from holidays.calendars.gregorian import FEB, MAR, APR, MAY, AUG, NOV +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, IslamicHolidays, InternationalHolidays diff --git a/holidays/countries/lesotho.py b/holidays/countries/lesotho.py index 64267e9ac..af058332d 100644 --- a/holidays/countries/lesotho.py +++ b/holidays/countries/lesotho.py @@ -9,7 +9,7 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.constants import MAR, APR, MAY, JUL, OCT +from holidays.calendars.gregorian import MAR, APR, MAY, JUL, OCT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/lithuania.py b/holidays/countries/lithuania.py index 0480dfdbf..0af58246c 100644 --- a/holidays/countries/lithuania.py +++ b/holidays/countries/lithuania.py @@ -11,7 +11,7 @@ from gettext import gettext as tr -from holidays.constants import FEB, MAR, MAY, JUN, JUL, SUN +from holidays.calendars.gregorian import FEB, MAR, MAY, JUN, JUL, SUN from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/luxembourg.py b/holidays/countries/luxembourg.py index b4fba8473..70cd71ce7 100644 --- a/holidays/countries/luxembourg.py +++ b/holidays/countries/luxembourg.py @@ -14,7 +14,7 @@ from dateutil.easter import easter -from holidays.constants import JAN, MAY, JUN, AUG, NOV, DEC +from holidays.calendars.gregorian import JAN, MAY, JUN, AUG, NOV, DEC from holidays.holiday_base import HolidayBase diff --git a/holidays/countries/madagascar.py b/holidays/countries/madagascar.py index e34eb9f35..14906608f 100644 --- a/holidays/countries/madagascar.py +++ b/holidays/countries/madagascar.py @@ -12,7 +12,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import MAR, MAY, JUN, DEC, SUN +from holidays.calendars.gregorian import MAR, MAY, JUN, DEC, SUN from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/malawi.py b/holidays/countries/malawi.py index 6848b7fff..9006c70a3 100644 --- a/holidays/countries/malawi.py +++ b/holidays/countries/malawi.py @@ -12,7 +12,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import JAN, MAR, MAY, JUL, OCT +from holidays.calendars.gregorian import JAN, MAR, MAY, JUL, OCT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/malaysia.py b/holidays/countries/malaysia.py index 217bbaac7..41b1beb33 100644 --- a/holidays/countries/malaysia.py +++ b/holidays/countries/malaysia.py @@ -18,7 +18,7 @@ _CustomHinduCalendar, _CustomIslamicCalendar, ) -from holidays.constants import ( +from holidays.calendars.gregorian import ( JAN, FEB, MAR, diff --git a/holidays/countries/malta.py b/holidays/countries/malta.py index f39834061..fbc4f5efd 100644 --- a/holidays/countries/malta.py +++ b/holidays/countries/malta.py @@ -11,7 +11,7 @@ from gettext import gettext as tr -from holidays.constants import FEB, MAR, JUN, SEP, DEC +from holidays.calendars.gregorian import FEB, MAR, JUN, SEP, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/marshall_islands.py b/holidays/countries/marshall_islands.py index 148bff8c5..f19a5df81 100644 --- a/holidays/countries/marshall_islands.py +++ b/holidays/countries/marshall_islands.py @@ -15,7 +15,7 @@ from dateutil.easter import easter -from holidays.constants import JAN, MAR, MAY, JUL, SEP, NOV, DEC, MON, FRI +from holidays.calendars.gregorian import JAN, MAR, MAY, JUL, SEP, NOV, DEC, MON, FRI from holidays.holiday_base import HolidayBase diff --git a/holidays/countries/mexico.py b/holidays/countries/mexico.py index 019ec0571..edb69dd3d 100644 --- a/holidays/countries/mexico.py +++ b/holidays/countries/mexico.py @@ -12,7 +12,7 @@ from datetime import date from gettext import gettext as tr -from holidays.constants import FEB, MAR, SEP, NOV, DEC, MON +from holidays.calendars.gregorian import FEB, MAR, SEP, NOV, DEC, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/moldova.py b/holidays/countries/moldova.py index a99668a17..d9ab8807c 100644 --- a/holidays/countries/moldova.py +++ b/holidays/countries/moldova.py @@ -12,8 +12,8 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.calendars import GREGORIAN_CALENDAR, JULIAN_CALENDAR -from holidays.constants import AUG +from holidays.calendars.gregorian import GREGORIAN_CALENDAR, AUG +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/monaco.py b/holidays/countries/monaco.py index 889b650be..c64eefeea 100644 --- a/holidays/countries/monaco.py +++ b/holidays/countries/monaco.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import JAN, NOV, DEC +from holidays.calendars.gregorian import JAN, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/montenegro.py b/holidays/countries/montenegro.py index 7d5cd0176..47a602d0b 100644 --- a/holidays/countries/montenegro.py +++ b/holidays/countries/montenegro.py @@ -12,8 +12,8 @@ from datetime import date from datetime import timedelta as td -from holidays.calendars import JULIAN_CALENDAR -from holidays.constants import MAY, JUL +from holidays.calendars.gregorian import MAY, JUL +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/morocco.py b/holidays/countries/morocco.py index 42726c033..9c7838111 100644 --- a/holidays/countries/morocco.py +++ b/holidays/countries/morocco.py @@ -9,7 +9,7 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.constants import JAN, MAR, JUL, AUG, NOV +from holidays.calendars.gregorian import JAN, MAR, JUL, AUG, NOV from holidays.holiday_base import HolidayBase from holidays.holiday_groups import IslamicHolidays, InternationalHolidays diff --git a/holidays/countries/mozambique.py b/holidays/countries/mozambique.py index 7f2ddf2dc..4eb91ace1 100644 --- a/holidays/countries/mozambique.py +++ b/holidays/countries/mozambique.py @@ -12,7 +12,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import FEB, APR, MAY, JUN, SEP, OCT +from holidays.calendars.gregorian import FEB, APR, MAY, JUN, SEP, OCT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/namibia.py b/holidays/countries/namibia.py index c1dc45880..807a110f0 100644 --- a/holidays/countries/namibia.py +++ b/holidays/countries/namibia.py @@ -12,7 +12,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import JAN, FEB, MAR, MAY, AUG, SEP, DEC +from holidays.calendars.gregorian import JAN, FEB, MAR, MAY, AUG, SEP, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/netherlands.py b/holidays/countries/netherlands.py index 08d2ebb1e..fdbf91cd3 100644 --- a/holidays/countries/netherlands.py +++ b/holidays/countries/netherlands.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import APR, MAY, AUG +from holidays.calendars.gregorian import APR, MAY, AUG from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/new_zealand.py b/holidays/countries/new_zealand.py index 3075e06de..33cc99e89 100644 --- a/holidays/countries/new_zealand.py +++ b/holidays/countries/new_zealand.py @@ -12,7 +12,21 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import JAN, FEB, MAR, APR, JUN, JUL, SEP, OCT, NOV, DEC, MON, TUE, WED +from holidays.calendars.gregorian import ( + JAN, + FEB, + MAR, + APR, + JUN, + JUL, + SEP, + OCT, + NOV, + DEC, + MON, + TUE, + WED, +) from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/nicaragua.py b/holidays/countries/nicaragua.py index 5253ee25f..afeb93c49 100644 --- a/holidays/countries/nicaragua.py +++ b/holidays/countries/nicaragua.py @@ -11,7 +11,7 @@ from gettext import gettext as tr -from holidays.constants import JUL, AUG, SEP +from holidays.calendars.gregorian import JUL, AUG, SEP from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/nigeria.py b/holidays/countries/nigeria.py index 536a78e43..12f1dabcf 100644 --- a/holidays/countries/nigeria.py +++ b/holidays/countries/nigeria.py @@ -11,7 +11,7 @@ from datetime import timedelta as td -from holidays.constants import FEB, MAY, JUN, OCT +from holidays.calendars.gregorian import FEB, MAY, JUN, OCT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, IslamicHolidays, InternationalHolidays diff --git a/holidays/countries/north_macedonia.py b/holidays/countries/north_macedonia.py index 1b43d4117..b23e5de8d 100644 --- a/holidays/countries/north_macedonia.py +++ b/holidays/countries/north_macedonia.py @@ -9,8 +9,8 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.calendars import JULIAN_CALENDAR -from holidays.constants import MAY, SEP, AUG, OCT, DEC +from holidays.calendars.gregorian import MAY, SEP, AUG, OCT, DEC +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, IslamicHolidays, InternationalHolidays diff --git a/holidays/countries/norway.py b/holidays/countries/norway.py index fdfeaef25..6c41d021b 100644 --- a/holidays/countries/norway.py +++ b/holidays/countries/norway.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import JAN, MAY, DEC, SUN +from holidays.calendars.gregorian import JAN, MAY, DEC, SUN from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/pakistan.py b/holidays/countries/pakistan.py index 1c9d96c97..85c5be208 100644 --- a/holidays/countries/pakistan.py +++ b/holidays/countries/pakistan.py @@ -10,7 +10,7 @@ # License: MIT (see LICENSE file) from holidays.calendars import _CustomIslamicCalendar -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import InternationalHolidays, IslamicHolidays diff --git a/holidays/countries/panama.py b/holidays/countries/panama.py index 79e98e995..1707167a2 100644 --- a/holidays/countries/panama.py +++ b/holidays/countries/panama.py @@ -12,7 +12,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import JAN, NOV, DEC +from holidays.calendars.gregorian import JAN, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/paraguay.py b/holidays/countries/paraguay.py index 08c499dac..027ba33a3 100644 --- a/holidays/countries/paraguay.py +++ b/holidays/countries/paraguay.py @@ -12,7 +12,7 @@ from datetime import date from gettext import gettext as tr -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, DEC +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/peru.py b/holidays/countries/peru.py index 6cc5e31fb..6ee1f032d 100644 --- a/holidays/countries/peru.py +++ b/holidays/countries/peru.py @@ -12,7 +12,7 @@ from gettext import gettext as tr -from holidays.constants import JUL, AUG, OCT, DEC +from holidays.calendars.gregorian import JUL, AUG, OCT, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/philippines.py b/holidays/countries/philippines.py index ce20cecfc..397f80c20 100644 --- a/holidays/countries/philippines.py +++ b/holidays/countries/philippines.py @@ -9,7 +9,8 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.constants import FEB, APR, JUN, AUG, NOV, DEC, MON + +from holidays.calendars.gregorian import FEB, APR, JUN, AUG, NOV, DEC, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ( ChineseCalendarHolidays, diff --git a/holidays/countries/poland.py b/holidays/countries/poland.py index f4becfa79..e71d0aebd 100644 --- a/holidays/countries/poland.py +++ b/holidays/countries/poland.py @@ -12,7 +12,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import MAY, JUL, NOV +from holidays.calendars.gregorian import MAY, JUL, NOV from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/portugal.py b/holidays/countries/portugal.py index 92efa8d01..31fbaf685 100644 --- a/holidays/countries/portugal.py +++ b/holidays/countries/portugal.py @@ -12,7 +12,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/romania.py b/holidays/countries/romania.py index f6eebea45..b8f253a33 100644 --- a/holidays/countries/romania.py +++ b/holidays/countries/romania.py @@ -11,8 +11,8 @@ from gettext import gettext as tr -from holidays.calendars import GREGORIAN_CALENDAR, JULIAN_CALENDAR -from holidays.constants import JAN, NOV, DEC +from holidays.calendars.gregorian import GREGORIAN_CALENDAR, JAN, NOV, DEC +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/russia.py b/holidays/countries/russia.py index 185c2fb00..4d32b6419 100644 --- a/holidays/countries/russia.py +++ b/holidays/countries/russia.py @@ -11,7 +11,7 @@ from gettext import gettext as tr -from holidays.constants import JAN, FEB, MAR, MAY, JUN, NOV +from holidays.calendars.gregorian import JAN, FEB, MAR, MAY, JUN, NOV from holidays.holiday_base import HolidayBase diff --git a/holidays/countries/san_marino.py b/holidays/countries/san_marino.py index 5e5287d52..29b392981 100644 --- a/holidays/countries/san_marino.py +++ b/holidays/countries/san_marino.py @@ -9,7 +9,7 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.constants import FEB, MAR, JUL, SEP +from holidays.calendars.gregorian import FEB, MAR, JUL, SEP from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/saudi_arabia.py b/holidays/countries/saudi_arabia.py index c6a0e1a7d..473a70e9f 100644 --- a/holidays/countries/saudi_arabia.py +++ b/holidays/countries/saudi_arabia.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from typing import Set -from holidays.constants import JAN, FEB, SEP, NOV, THU, FRI, SAT +from holidays.calendars.gregorian import JAN, FEB, SEP, NOV, THU, FRI, SAT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import IslamicHolidays diff --git a/holidays/countries/serbia.py b/holidays/countries/serbia.py index ed672a9c4..7f8ed6527 100644 --- a/holidays/countries/serbia.py +++ b/holidays/countries/serbia.py @@ -13,8 +13,8 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.calendars import JULIAN_CALENDAR -from holidays.constants import FEB +from holidays.calendars.gregorian import FEB +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/singapore.py b/holidays/countries/singapore.py index 5ab3712cf..2029904fa 100644 --- a/holidays/countries/singapore.py +++ b/holidays/countries/singapore.py @@ -17,7 +17,7 @@ _CustomIslamicCalendar, _CustomHinduCalendar, ) -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ( BuddhistCalendarHolidays, diff --git a/holidays/countries/slovakia.py b/holidays/countries/slovakia.py index e96f30b54..006c03ee9 100644 --- a/holidays/countries/slovakia.py +++ b/holidays/countries/slovakia.py @@ -11,7 +11,7 @@ from gettext import gettext as tr -from holidays.constants import JAN, MAY, JUL, AUG, SEP, OCT, NOV +from holidays.calendars.gregorian import JAN, MAY, JUL, AUG, SEP, OCT, NOV from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/slovenia.py b/holidays/countries/slovenia.py index 8a2dd659e..5ddadced5 100644 --- a/holidays/countries/slovenia.py +++ b/holidays/countries/slovenia.py @@ -14,7 +14,7 @@ from dateutil.easter import easter -from holidays.constants import JAN, FEB, APR, MAY, JUN, AUG, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, FEB, APR, MAY, JUN, AUG, OCT, NOV, DEC from holidays.holiday_base import HolidayBase diff --git a/holidays/countries/south_africa.py b/holidays/countries/south_africa.py index fdd0066c0..7b4a09290 100644 --- a/holidays/countries/south_africa.py +++ b/holidays/countries/south_africa.py @@ -12,7 +12,21 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import JAN, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC, MON, FRI +from holidays.calendars.gregorian import ( + JAN, + MAR, + APR, + MAY, + JUN, + JUL, + AUG, + SEP, + OCT, + NOV, + DEC, + MON, + FRI, +) from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/south_korea.py b/holidays/countries/south_korea.py index ce0ec5ebd..518942000 100644 --- a/holidays/countries/south_korea.py +++ b/holidays/countries/south_korea.py @@ -15,7 +15,7 @@ from datetime import timedelta as td from holidays.calendars import _CustomChineseCalendar -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, SAT, SUN +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, SAT, SUN from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ( ChineseCalendarHolidays, diff --git a/holidays/countries/spain.py b/holidays/countries/spain.py index 90efd3c8e..cbd1f62a0 100644 --- a/holidays/countries/spain.py +++ b/holidays/countries/spain.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from typing import Optional -from holidays.constants import FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, DEC +from holidays.calendars.gregorian import FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, IslamicHolidays, InternationalHolidays diff --git a/holidays/countries/sweden.py b/holidays/countries/sweden.py index 5eef4aa9e..e7f9ed5b9 100644 --- a/holidays/countries/sweden.py +++ b/holidays/countries/sweden.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import JAN, MAR, JUN, OCT, DEC, FRI, SAT, SUN +from holidays.calendars.gregorian import JAN, MAR, JUN, OCT, DEC, FRI, SAT, SUN from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/switzerland.py b/holidays/countries/switzerland.py index c203451a0..ff934ac23 100644 --- a/holidays/countries/switzerland.py +++ b/holidays/countries/switzerland.py @@ -12,7 +12,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import MAR, APR, JUN, AUG, SEP, DEC, THU, SUN +from holidays.calendars.gregorian import MAR, APR, JUN, AUG, SEP, DEC, THU, SUN from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/taiwan.py b/holidays/countries/taiwan.py index 189aac908..98b9c67da 100644 --- a/holidays/countries/taiwan.py +++ b/holidays/countries/taiwan.py @@ -9,7 +9,7 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.constants import FEB, APR, OCT +from holidays.calendars.gregorian import FEB, APR, OCT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChineseCalendarHolidays, InternationalHolidays diff --git a/holidays/countries/thailand.py b/holidays/countries/thailand.py index b1e7fb808..06ad63b37 100644 --- a/holidays/countries/thailand.py +++ b/holidays/countries/thailand.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import InternationalHolidays, ThaiCalendarHolidays diff --git a/holidays/countries/tunisia.py b/holidays/countries/tunisia.py index e6e587dfa..c24f8f4e3 100644 --- a/holidays/countries/tunisia.py +++ b/holidays/countries/tunisia.py @@ -9,7 +9,7 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.constants import JAN, MAR, APR, JUL, AUG, OCT +from holidays.calendars.gregorian import JAN, MAR, APR, JUL, AUG, OCT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import InternationalHolidays, IslamicHolidays diff --git a/holidays/countries/turkey.py b/holidays/countries/turkey.py index b578ed497..5212b0e1c 100644 --- a/holidays/countries/turkey.py +++ b/holidays/countries/turkey.py @@ -9,7 +9,7 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.constants import APR, MAY, JUL, AUG, OCT +from holidays.calendars.gregorian import APR, MAY, JUL, AUG, OCT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import IslamicHolidays, InternationalHolidays diff --git a/holidays/countries/ukraine.py b/holidays/countries/ukraine.py index 918d79ebd..fc99f7b26 100644 --- a/holidays/countries/ukraine.py +++ b/holidays/countries/ukraine.py @@ -13,8 +13,8 @@ from datetime import timedelta as td from gettext import gettext as tr -from holidays.calendars import GREGORIAN_CALENDAR, JULIAN_CALENDAR -from holidays.constants import JAN, APR, JUN, JUL, AUG, OCT, NOV +from holidays.calendars.gregorian import GREGORIAN_CALENDAR, JAN, APR, JUN, JUL, AUG, OCT, NOV +from holidays.calendars.julian import JULIAN_CALENDAR from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/united_arab_emirates.py b/holidays/countries/united_arab_emirates.py index 1dcebf83e..872c0aaab 100644 --- a/holidays/countries/united_arab_emirates.py +++ b/holidays/countries/united_arab_emirates.py @@ -10,7 +10,7 @@ # License: MIT (see LICENSE file) from holidays.calendars import _CustomIslamicCalendar -from holidays.constants import APR, MAY, JUN, JUL, AUG, SEP, NOV, DEC, FRI, SAT +from holidays.calendars.gregorian import APR, MAY, JUN, JUL, AUG, SEP, NOV, DEC, FRI, SAT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import InternationalHolidays, IslamicHolidays diff --git a/holidays/countries/united_kingdom.py b/holidays/countries/united_kingdom.py index 6c8395f41..18b4797a7 100644 --- a/holidays/countries/united_kingdom.py +++ b/holidays/countries/united_kingdom.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from typing import Tuple, Union -from holidays.constants import MAR, APR, MAY, JUN, JUL, AUG, SEP, NOV, DEC, MON +from holidays.calendars.gregorian import MAR, APR, MAY, JUN, JUL, AUG, SEP, NOV, DEC, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/united_states.py b/holidays/countries/united_states.py index 20052845b..b4b8d4050 100644 --- a/holidays/countries/united_states.py +++ b/holidays/countries/united_states.py @@ -13,7 +13,7 @@ from datetime import timedelta as td from typing import Tuple, Union -from holidays.constants import ( +from holidays.calendars.gregorian import ( JAN, FEB, MAR, diff --git a/holidays/countries/uruguay.py b/holidays/countries/uruguay.py index 5b89e6da4..1dc64e818 100644 --- a/holidays/countries/uruguay.py +++ b/holidays/countries/uruguay.py @@ -12,7 +12,7 @@ from datetime import date from gettext import gettext as tr -from holidays.constants import JAN, APR, MAY, JUN, JUL, AUG, OCT, MON +from holidays.calendars.gregorian import JAN, APR, MAY, JUN, JUL, AUG, OCT, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/uzbekistan.py b/holidays/countries/uzbekistan.py index 9ae3eac07..a1f0c39dc 100644 --- a/holidays/countries/uzbekistan.py +++ b/holidays/countries/uzbekistan.py @@ -9,7 +9,7 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.constants import MAR, SEP, OCT, DEC +from holidays.calendars.gregorian import MAR, SEP, OCT, DEC from holidays.holiday_base import HolidayBase from holidays.holiday_groups import InternationalHolidays, IslamicHolidays diff --git a/holidays/countries/vatican_city.py b/holidays/countries/vatican_city.py index e738035d5..237b56d9b 100644 --- a/holidays/countries/vatican_city.py +++ b/holidays/countries/vatican_city.py @@ -9,7 +9,7 @@ # Website: https://github.com/dr-prodigy/python-holidays # License: MIT (see LICENSE file) -from holidays.constants import JAN, FEB, MAR, APR, MAY, OCT, NOV +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, OCT, NOV from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays diff --git a/holidays/countries/venezuela.py b/holidays/countries/venezuela.py index 2e06d8178..4f3fb2b57 100644 --- a/holidays/countries/venezuela.py +++ b/holidays/countries/venezuela.py @@ -11,7 +11,7 @@ from gettext import gettext as tr -from holidays.constants import APR, JUN, JUL, OCT +from holidays.calendars.gregorian import APR, JUN, JUL, OCT from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/vietnam.py b/holidays/countries/vietnam.py index 24259f8b9..7346cc5a2 100644 --- a/holidays/countries/vietnam.py +++ b/holidays/countries/vietnam.py @@ -11,7 +11,7 @@ from datetime import timedelta as td -from holidays.constants import APR, SEP +from holidays.calendars.gregorian import APR, SEP from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChineseCalendarHolidays, InternationalHolidays diff --git a/holidays/countries/zambia.py b/holidays/countries/zambia.py index f472d5847..bab4fb30d 100644 --- a/holidays/countries/zambia.py +++ b/holidays/countries/zambia.py @@ -12,7 +12,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import MAR, APR, JUL, AUG, SEP, OCT, MON +from holidays.calendars.gregorian import MAR, APR, JUL, AUG, SEP, OCT, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/countries/zimbabwe.py b/holidays/countries/zimbabwe.py index 41eb8ff34..169bbd89a 100644 --- a/holidays/countries/zimbabwe.py +++ b/holidays/countries/zimbabwe.py @@ -12,7 +12,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import FEB, APR, AUG, DEC, MON +from holidays.calendars.gregorian import FEB, APR, AUG, DEC, MON from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/financial/ny_stock_exchange.py b/holidays/financial/ny_stock_exchange.py index 37c6deeb9..ea7d42a0c 100644 --- a/holidays/financial/ny_stock_exchange.py +++ b/holidays/financial/ny_stock_exchange.py @@ -12,7 +12,22 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC, MON, THU +from holidays.calendars.gregorian import ( + JAN, + FEB, + MAR, + APR, + MAY, + JUN, + JUL, + AUG, + SEP, + OCT, + NOV, + DEC, + MON, + THU, +) from holidays.holiday_base import HolidayBase from holidays.holiday_groups import ChristianHolidays, InternationalHolidays diff --git a/holidays/groups/chinese.py b/holidays/groups/chinese.py index 612965a1a..a3819102d 100644 --- a/holidays/groups/chinese.py +++ b/holidays/groups/chinese.py @@ -14,7 +14,7 @@ from typing import Tuple, Optional from holidays.calendars import _ChineseLunisolar -from holidays.constants import APR +from holidays.calendars.gregorian import APR class ChineseCalendarHolidays: diff --git a/holidays/groups/christian.py b/holidays/groups/christian.py index 602860202..7547d64db 100644 --- a/holidays/groups/christian.py +++ b/holidays/groups/christian.py @@ -14,8 +14,20 @@ from dateutil.easter import EASTER_ORTHODOX, EASTER_WESTERN, easter -from holidays.calendars import GREGORIAN_CALENDAR, JULIAN_CALENDAR -from holidays.constants import JAN, FEB, MAR, APR, JUN, JUL, AUG, SEP, NOV, DEC +from holidays.calendars.gregorian import ( + GREGORIAN_CALENDAR, + JAN, + FEB, + MAR, + APR, + JUN, + JUL, + AUG, + SEP, + NOV, + DEC, +) +from holidays.calendars.julian import JULIAN_CALENDAR class ChristianHolidays: diff --git a/holidays/groups/international.py b/holidays/groups/international.py index 66ef37b65..f6798b188 100644 --- a/holidays/groups/international.py +++ b/holidays/groups/international.py @@ -11,7 +11,7 @@ from datetime import date -from holidays.constants import JAN, MAR, MAY, JUN, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, MAR, MAY, JUN, OCT, NOV, DEC class InternationalHolidays: diff --git a/holidays/groups/thai.py b/holidays/groups/thai.py index 7c1fad0de..614e815f6 100644 --- a/holidays/groups/thai.py +++ b/holidays/groups/thai.py @@ -12,7 +12,7 @@ from datetime import date from typing import Optional -from holidays.calendars import _ThaiLunisolar, THAI_CALENDAR +from holidays.calendars.thai import _ThaiLunisolar, THAI_CALENDAR class ThaiCalendarHolidays: diff --git a/holidays/holiday_base.py b/holidays/holiday_base.py index b7c14ba45..a091cc0c4 100644 --- a/holidays/holiday_base.py +++ b/holidays/holiday_base.py @@ -22,18 +22,8 @@ from dateutil.parser import parse -from holidays.constants import ( - HOLIDAY_NAME_DELIMITER, - MON, - TUE, - WED, - THU, - FRI, - SAT, - SUN, - ALL_CATEGORIES, - PUBLIC, -) +from holidays.calendars.gregorian import MON, TUE, WED, THU, FRI, SAT, SUN +from holidays.constants import HOLIDAY_NAME_DELIMITER, ALL_CATEGORIES, PUBLIC from holidays.helpers import _normalize_tuple DateArg = Union[date, Tuple[int, int]] diff --git a/holidays/locale/bs/LC_MESSAGES/BA.po b/holidays/locale/bs/LC_MESSAGES/BA.po index 590d07ca3..3a5e62516 100644 --- a/holidays/locale/bs/LC_MESSAGES/BA.po +++ b/holidays/locale/bs/LC_MESSAGES/BA.po @@ -16,130 +16,130 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" "X-Generator: Poedit 3.2.2\n" -#: ./holidays/countries/bosnia_and_herzegovina.py:61 +#: ./holidays/countries/bosnia_and_herzegovina.py:63 #, c-format msgid "%s (preneseno)" msgstr "" #. Orthodox Good Friday. -#: ./holidays/countries/bosnia_and_herzegovina.py:69 +#: ./holidays/countries/bosnia_and_herzegovina.py:71 msgid "Veliki petak (Pravoslavni)" msgstr "" #. Catholic Easter Monday. -#: ./holidays/countries/bosnia_and_herzegovina.py:72 +#: ./holidays/countries/bosnia_and_herzegovina.py:74 msgid "Uskrsni ponedjeljak (Katolički)" msgstr "" #. Eid al-Fitr. -#: ./holidays/countries/bosnia_and_herzegovina.py:75 -#: ./holidays/countries/bosnia_and_herzegovina.py:153 -#: ./holidays/countries/bosnia_and_herzegovina.py:235 +#: ./holidays/countries/bosnia_and_herzegovina.py:77 +#: ./holidays/countries/bosnia_and_herzegovina.py:155 +#: ./holidays/countries/bosnia_and_herzegovina.py:237 msgid "Ramazanski Bajram" msgstr "" #. Eid al-Adha. -#: ./holidays/countries/bosnia_and_herzegovina.py:78 -#: ./holidays/countries/bosnia_and_herzegovina.py:156 -#: ./holidays/countries/bosnia_and_herzegovina.py:238 +#: ./holidays/countries/bosnia_and_herzegovina.py:80 +#: ./holidays/countries/bosnia_and_herzegovina.py:158 +#: ./holidays/countries/bosnia_and_herzegovina.py:240 msgid "Kurban Bajram" msgstr "" #. New Year's Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:90 -#: ./holidays/countries/bosnia_and_herzegovina.py:109 -#: ./holidays/countries/bosnia_and_herzegovina.py:160 -#: ./holidays/countries/bosnia_and_herzegovina.py:187 +#: ./holidays/countries/bosnia_and_herzegovina.py:92 +#: ./holidays/countries/bosnia_and_herzegovina.py:111 +#: ./holidays/countries/bosnia_and_herzegovina.py:162 +#: ./holidays/countries/bosnia_and_herzegovina.py:189 msgid "Nova godina" msgstr "" #. Orthodox Christmas. -#: ./holidays/countries/bosnia_and_herzegovina.py:95 -#: ./holidays/countries/bosnia_and_herzegovina.py:117 -#: ./holidays/countries/bosnia_and_herzegovina.py:165 -#: ./holidays/countries/bosnia_and_herzegovina.py:195 +#: ./holidays/countries/bosnia_and_herzegovina.py:97 +#: ./holidays/countries/bosnia_and_herzegovina.py:119 +#: ./holidays/countries/bosnia_and_herzegovina.py:167 +#: ./holidays/countries/bosnia_and_herzegovina.py:197 msgid "Božić (Pravoslavni)" msgstr "" #. Labor Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:98 -#: ./holidays/countries/bosnia_and_herzegovina.py:135 -#: ./holidays/countries/bosnia_and_herzegovina.py:174 -#: ./holidays/countries/bosnia_and_herzegovina.py:213 +#: ./holidays/countries/bosnia_and_herzegovina.py:100 +#: ./holidays/countries/bosnia_and_herzegovina.py:137 +#: ./holidays/countries/bosnia_and_herzegovina.py:176 +#: ./holidays/countries/bosnia_and_herzegovina.py:215 msgid "Međunarodni praznik rada" msgstr "" #. Catholic Christmas. -#: ./holidays/countries/bosnia_and_herzegovina.py:103 -#: ./holidays/countries/bosnia_and_herzegovina.py:150 -#: ./holidays/countries/bosnia_and_herzegovina.py:181 -#: ./holidays/countries/bosnia_and_herzegovina.py:232 +#: ./holidays/countries/bosnia_and_herzegovina.py:105 +#: ./holidays/countries/bosnia_and_herzegovina.py:152 +#: ./holidays/countries/bosnia_and_herzegovina.py:183 +#: ./holidays/countries/bosnia_and_herzegovina.py:234 msgid "Božić (Katolički)" msgstr "" #. Orthodox Christmas Eve. -#: ./holidays/countries/bosnia_and_herzegovina.py:114 -#: ./holidays/countries/bosnia_and_herzegovina.py:192 +#: ./holidays/countries/bosnia_and_herzegovina.py:116 +#: ./holidays/countries/bosnia_and_herzegovina.py:194 msgid "Badnji dan (Pravoslavni)" msgstr "" #. Independence Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:120 +#: ./holidays/countries/bosnia_and_herzegovina.py:122 msgid "Dan nezavisnosti" msgstr "" #. Catholic Good Friday. -#: ./holidays/countries/bosnia_and_herzegovina.py:123 -#: ./holidays/countries/bosnia_and_herzegovina.py:201 +#: ./holidays/countries/bosnia_and_herzegovina.py:125 +#: ./holidays/countries/bosnia_and_herzegovina.py:203 msgid "Veliki petak (Katolički)" msgstr "" #. Catholic Easter. -#: ./holidays/countries/bosnia_and_herzegovina.py:126 -#: ./holidays/countries/bosnia_and_herzegovina.py:204 +#: ./holidays/countries/bosnia_and_herzegovina.py:128 +#: ./holidays/countries/bosnia_and_herzegovina.py:206 msgid "Uskrs (Katolički)" msgstr "" #. Orthodox Easter. -#: ./holidays/countries/bosnia_and_herzegovina.py:129 -#: ./holidays/countries/bosnia_and_herzegovina.py:207 +#: ./holidays/countries/bosnia_and_herzegovina.py:131 +#: ./holidays/countries/bosnia_and_herzegovina.py:209 msgid "Vaskrs (Pravoslavni)" msgstr "" #. Orthodox Easter Monday. -#: ./holidays/countries/bosnia_and_herzegovina.py:132 -#: ./holidays/countries/bosnia_and_herzegovina.py:210 +#: ./holidays/countries/bosnia_and_herzegovina.py:134 +#: ./holidays/countries/bosnia_and_herzegovina.py:212 msgid "Uskrsni ponedjeljak (Pravoslavni)" msgstr "" #. Victory Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:141 -#: ./holidays/countries/bosnia_and_herzegovina.py:219 +#: ./holidays/countries/bosnia_and_herzegovina.py:143 +#: ./holidays/countries/bosnia_and_herzegovina.py:221 msgid "Dan pobjede nad fašizmom" msgstr "" #. Statehood Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:144 +#: ./holidays/countries/bosnia_and_herzegovina.py:146 msgid "Dan državnosti" msgstr "" #. Catholic Christmas Eve. -#: ./holidays/countries/bosnia_and_herzegovina.py:147 -#: ./holidays/countries/bosnia_and_herzegovina.py:229 +#: ./holidays/countries/bosnia_and_herzegovina.py:149 +#: ./holidays/countries/bosnia_and_herzegovina.py:231 msgid "Badnji dan (Katolički)" msgstr "" #. Day of establishment of Brčko District. -#: ./holidays/countries/bosnia_and_herzegovina.py:169 +#: ./holidays/countries/bosnia_and_herzegovina.py:171 msgid "Dan uspostavljanja Brčko distrikta" msgstr "" #. Orthodox New Year. -#: ./holidays/countries/bosnia_and_herzegovina.py:198 +#: ./holidays/countries/bosnia_and_herzegovina.py:200 msgid "Pravoslavna Nova godina" msgstr "" #. Dayton Agreement Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:223 +#: ./holidays/countries/bosnia_and_herzegovina.py:225 msgid "Dan uspostave Opšteg okvirnog sporazuma za mir u Bosni i Hercegovini" msgstr "" diff --git a/holidays/locale/de/LC_MESSAGES/AT.po b/holidays/locale/de/LC_MESSAGES/AT.po index 8b0359cdf..0b58c6d67 100644 --- a/holidays/locale/de/LC_MESSAGES/AT.po +++ b/holidays/locale/de/LC_MESSAGES/AT.po @@ -16,81 +16,81 @@ msgstr "" "X-Generator: Poedit 3.2.2\n" #. New Year's Day. -#: ./holidays/countries/austria.py:38 +#: ./holidays/countries/austria.py:39 msgid "Neujahr" msgstr "" #. Epiphany. -#: ./holidays/countries/austria.py:41 +#: ./holidays/countries/austria.py:42 msgid "Heilige Drei Könige" msgstr "" #. Easter Monday. -#: ./holidays/countries/austria.py:44 +#: ./holidays/countries/austria.py:45 msgid "Ostermontag" msgstr "" #. Labor Day. -#: ./holidays/countries/austria.py:47 +#: ./holidays/countries/austria.py:48 msgid "Staatsfeiertag" msgstr "" #. Ascension Day. -#: ./holidays/countries/austria.py:50 +#: ./holidays/countries/austria.py:51 msgid "Christi Himmelfahrt" msgstr "" #. Whit Monday. -#: ./holidays/countries/austria.py:53 +#: ./holidays/countries/austria.py:54 msgid "Pfingstmontag" msgstr "" #. Corpus Christi. -#: ./holidays/countries/austria.py:56 +#: ./holidays/countries/austria.py:57 msgid "Fronleichnam" msgstr "" #. Assumption Day. -#: ./holidays/countries/austria.py:59 +#: ./holidays/countries/austria.py:60 msgid "Mariä Himmelfahrt" msgstr "" #. National Day. -#: ./holidays/countries/austria.py:63 ./holidays/countries/austria.py:65 +#: ./holidays/countries/austria.py:64 ./holidays/countries/austria.py:66 msgid "Nationalfeiertag" msgstr "" #. All Saints' Day. -#: ./holidays/countries/austria.py:68 +#: ./holidays/countries/austria.py:69 msgid "Allerheiligen" msgstr "" #. Immaculate Conception. -#: ./holidays/countries/austria.py:71 +#: ./holidays/countries/austria.py:72 msgid "Mariä Empfängnis" msgstr "" #. Christmas Day. -#: ./holidays/countries/austria.py:74 +#: ./holidays/countries/austria.py:75 msgid "Christtag" msgstr "" #. St. Stephen's Day. -#: ./holidays/countries/austria.py:77 +#: ./holidays/countries/austria.py:78 msgid "Stefanitag" msgstr "" #. Good Friday. -#: ./holidays/countries/austria.py:81 +#: ./holidays/countries/austria.py:82 msgid "Karfreitag" msgstr "" #. Christmas Eve. -#: ./holidays/countries/austria.py:84 +#: ./holidays/countries/austria.py:85 msgid "Heiliger Abend" msgstr "" #. New Year's Eve. -#: ./holidays/countries/austria.py:87 +#: ./holidays/countries/austria.py:88 msgid "Silvester" msgstr "" diff --git a/holidays/locale/en_US/LC_MESSAGES/AR.po b/holidays/locale/en_US/LC_MESSAGES/AR.po index d9cf215f6..fe24c358a 100644 --- a/holidays/locale/en_US/LC_MESSAGES/AR.po +++ b/holidays/locale/en_US/LC_MESSAGES/AR.po @@ -16,19 +16,19 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" "X-Generator: Poedit 3.3\n" -#: ./holidays/countries/argentina.py:67 +#: ./holidays/countries/argentina.py:81 msgid "Feriado con fines turísticos" msgstr "Bridge Public Holiday" -#: ./holidays/countries/argentina.py:71 +#: ./holidays/countries/argentina.py:85 msgid "Bicentenario de la creación y primera jura de la bandera nacional" msgstr "Bicentenary of the creation and first oath of the national flag" -#: ./holidays/countries/argentina.py:74 +#: ./holidays/countries/argentina.py:88 msgid "Bicentenario de la Batalla de Tucumán" msgstr "Bicentenary of the Battle of Tucumán" -#: ./holidays/countries/argentina.py:75 +#: ./holidays/countries/argentina.py:89 msgid "" "Bicentenario de la sesión inaugural de la Asamblea Nacional Constituyente " "del año 1813" @@ -36,48 +36,48 @@ msgstr "" "Bicentenary of the inaugural session of the National Constituent Assembly of" " the year 1813" -#: ./holidays/countries/argentina.py:78 +#: ./holidays/countries/argentina.py:92 msgid "Bicentenario de la Batalla de Salta" msgstr "Bicentenary of the Battle of Salta" -#: ./holidays/countries/argentina.py:79 +#: ./holidays/countries/argentina.py:93 msgid "Censo nacional 2022" msgstr "National Census Day 2022" -#: ./holidays/countries/argentina.py:175 +#: ./holidays/countries/argentina.py:189 msgid "Año Nuevo" msgstr "New Year's Day" -#: ./holidays/countries/argentina.py:183 +#: ./holidays/countries/argentina.py:197 msgid "Día de Carnaval" msgstr "Carnival" -#: ./holidays/countries/argentina.py:193 +#: ./holidays/countries/argentina.py:207 msgid "Día Nacional de la Memoria por la Verdad y la Justicia" msgstr "Memory's National Day for the Truth and Justice" -#: ./holidays/countries/argentina.py:205 +#: ./holidays/countries/argentina.py:219 msgid "Día del Veterano de Guerra" msgstr "War Veterans Day" -#: ./holidays/countries/argentina.py:207 +#: ./holidays/countries/argentina.py:221 msgid "Día del Veterano y de los Caidos en la Guerra de Malvinas" msgstr "Veterans Day and the Fallen in the Malvinas War" #. Good Friday. -#: ./holidays/countries/argentina.py:212 +#: ./holidays/countries/argentina.py:226 msgid "Viernes Santo" msgstr "Good Friday" -#: ./holidays/countries/argentina.py:216 +#: ./holidays/countries/argentina.py:230 msgid "Día del Trabajo" msgstr "Labor Day" -#: ./holidays/countries/argentina.py:220 +#: ./holidays/countries/argentina.py:234 msgid "Día de la Revolución de Mayo" msgstr "May Revolution Day" -#: ./holidays/countries/argentina.py:230 +#: ./holidays/countries/argentina.py:244 msgid "" "Día de los Derechos Argentinos sobre las Islas Malvinas, Sandwich y del " "Atlántico Sur" @@ -85,45 +85,45 @@ msgstr "" "Day of Argentine Sovereignty over the Malvinas, Sandwich and South Atlantic " "Islands" -#: ./holidays/countries/argentina.py:246 +#: ./holidays/countries/argentina.py:260 msgid "Paso a la Inmortalidad del General Don Manuel Belgrano" msgstr "Pass to the Immortality of General Don Manuel Belgrano" -#: ./holidays/countries/argentina.py:254 +#: ./holidays/countries/argentina.py:268 msgid "Día de la Independencia" msgstr "Independence Day" #. Immaculate Conception. -#: ./holidays/countries/argentina.py:257 +#: ./holidays/countries/argentina.py:271 msgid "Inmaculada Concepción de María" msgstr "Immaculate Conception" #. Christmas. -#: ./holidays/countries/argentina.py:260 +#: ./holidays/countries/argentina.py:274 msgid "Navidad" msgstr "Christmas" -#: ./holidays/countries/argentina.py:270 +#: ./holidays/countries/argentina.py:284 msgid "Paso a la Inmortalidad del General Don Martín Miguel de Güemes" msgstr "Pass to the Immortality of General Don Martín Miguel de Güemes" -#: ./holidays/countries/argentina.py:284 +#: ./holidays/countries/argentina.py:298 msgid "Paso a la Inmortalidad del General Don José de San Martin" msgstr "Pass to the Immortality of General Don José de San Martin" -#: ./holidays/countries/argentina.py:304 +#: ./holidays/countries/argentina.py:318 msgid "Día del Respeto a la Diversidad Cultural" msgstr "Respect for Cultural Diversity Day" -#: ./holidays/countries/argentina.py:301 +#: ./holidays/countries/argentina.py:315 msgid "Día de la Raza" msgstr "Columbus day" -#: ./holidays/countries/argentina.py:314 +#: ./holidays/countries/argentina.py:328 msgid "Día de la Soberanía Nacional" msgstr "National Sovereignty Day" -#: ./holidays/countries/argentina.py:162 ./holidays/countries/argentina.py:165 +#: ./holidays/countries/argentina.py:176 ./holidays/countries/argentina.py:179 #, c-format msgid "%s (Observado)" msgstr "%s (Observed)" diff --git a/holidays/locale/en_US/LC_MESSAGES/AT.po b/holidays/locale/en_US/LC_MESSAGES/AT.po index ddf89b520..bf2ce53ad 100644 --- a/holidays/locale/en_US/LC_MESSAGES/AT.po +++ b/holidays/locale/en_US/LC_MESSAGES/AT.po @@ -17,81 +17,81 @@ msgstr "" "X-Generator: Poedit 3.2.2\n" #. New Year's Day. -#: ./holidays/countries/austria.py:38 +#: ./holidays/countries/austria.py:39 msgid "Neujahr" msgstr "New Year's Day" #. Epiphany. -#: ./holidays/countries/austria.py:41 +#: ./holidays/countries/austria.py:42 msgid "Heilige Drei Könige" msgstr "Epiphany" #. Easter Monday. -#: ./holidays/countries/austria.py:44 +#: ./holidays/countries/austria.py:45 msgid "Ostermontag" msgstr "Easter Monday" #. Labor Day. -#: ./holidays/countries/austria.py:47 +#: ./holidays/countries/austria.py:48 msgid "Staatsfeiertag" msgstr "Labor Day" #. Ascension Day. -#: ./holidays/countries/austria.py:50 +#: ./holidays/countries/austria.py:51 msgid "Christi Himmelfahrt" msgstr "Ascension Day" #. Whit Monday. -#: ./holidays/countries/austria.py:53 +#: ./holidays/countries/austria.py:54 msgid "Pfingstmontag" msgstr "Whit Monday" #. Corpus Christi. -#: ./holidays/countries/austria.py:56 +#: ./holidays/countries/austria.py:57 msgid "Fronleichnam" msgstr "Corpus Christi" #. Assumption Day. -#: ./holidays/countries/austria.py:59 +#: ./holidays/countries/austria.py:60 msgid "Mariä Himmelfahrt" msgstr "Assumption Day" #. National Day. -#: ./holidays/countries/austria.py:63 ./holidays/countries/austria.py:65 +#: ./holidays/countries/austria.py:64 ./holidays/countries/austria.py:66 msgid "Nationalfeiertag" msgstr "National Day" #. All Saints' Day. -#: ./holidays/countries/austria.py:68 +#: ./holidays/countries/austria.py:69 msgid "Allerheiligen" msgstr "All Saints' Day" #. Immaculate Conception. -#: ./holidays/countries/austria.py:71 +#: ./holidays/countries/austria.py:72 msgid "Mariä Empfängnis" msgstr "Immaculate Conception" #. Christmas Day. -#: ./holidays/countries/austria.py:74 +#: ./holidays/countries/austria.py:75 msgid "Christtag" msgstr "Christmas Day" #. St. Stephen's Day. -#: ./holidays/countries/austria.py:77 +#: ./holidays/countries/austria.py:78 msgid "Stefanitag" msgstr "St. Stephen's Day" #. Good Friday. -#: ./holidays/countries/austria.py:81 +#: ./holidays/countries/austria.py:82 msgid "Karfreitag" msgstr "Good Friday" #. Christmas Eve. -#: ./holidays/countries/austria.py:84 +#: ./holidays/countries/austria.py:85 msgid "Heiliger Abend" msgstr "Christmas Eve" #. New Year's Eve. -#: ./holidays/countries/austria.py:87 +#: ./holidays/countries/austria.py:88 msgid "Silvester" msgstr "New Year's Eve" diff --git a/holidays/locale/en_US/LC_MESSAGES/BA.po b/holidays/locale/en_US/LC_MESSAGES/BA.po index 8a7cc7c21..b2e13c4a4 100644 --- a/holidays/locale/en_US/LC_MESSAGES/BA.po +++ b/holidays/locale/en_US/LC_MESSAGES/BA.po @@ -16,130 +16,130 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" "X-Generator: Poedit 3.2.2\n" -#: ./holidays/countries/bosnia_and_herzegovina.py:61 +#: ./holidays/countries/bosnia_and_herzegovina.py:63 #, c-format msgid "%s (preneseno)" msgstr "%s (Observed)" #. Orthodox Good Friday. -#: ./holidays/countries/bosnia_and_herzegovina.py:69 +#: ./holidays/countries/bosnia_and_herzegovina.py:71 msgid "Veliki petak (Pravoslavni)" msgstr "Orthodox Good Friday" #. Catholic Easter Monday. -#: ./holidays/countries/bosnia_and_herzegovina.py:72 +#: ./holidays/countries/bosnia_and_herzegovina.py:74 msgid "Uskrsni ponedjeljak (Katolički)" msgstr "Catholic Easter Monday" #. Eid al-Fitr. -#: ./holidays/countries/bosnia_and_herzegovina.py:75 -#: ./holidays/countries/bosnia_and_herzegovina.py:153 -#: ./holidays/countries/bosnia_and_herzegovina.py:235 +#: ./holidays/countries/bosnia_and_herzegovina.py:77 +#: ./holidays/countries/bosnia_and_herzegovina.py:155 +#: ./holidays/countries/bosnia_and_herzegovina.py:237 msgid "Ramazanski Bajram" msgstr "Eid al-Fitr" #. Eid al-Adha. -#: ./holidays/countries/bosnia_and_herzegovina.py:78 -#: ./holidays/countries/bosnia_and_herzegovina.py:156 -#: ./holidays/countries/bosnia_and_herzegovina.py:238 +#: ./holidays/countries/bosnia_and_herzegovina.py:80 +#: ./holidays/countries/bosnia_and_herzegovina.py:158 +#: ./holidays/countries/bosnia_and_herzegovina.py:240 msgid "Kurban Bajram" msgstr "Eid al-Adha" #. New Year's Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:90 -#: ./holidays/countries/bosnia_and_herzegovina.py:109 -#: ./holidays/countries/bosnia_and_herzegovina.py:160 -#: ./holidays/countries/bosnia_and_herzegovina.py:187 +#: ./holidays/countries/bosnia_and_herzegovina.py:92 +#: ./holidays/countries/bosnia_and_herzegovina.py:111 +#: ./holidays/countries/bosnia_and_herzegovina.py:162 +#: ./holidays/countries/bosnia_and_herzegovina.py:189 msgid "Nova godina" msgstr "New Year's Day" #. Orthodox Christmas. -#: ./holidays/countries/bosnia_and_herzegovina.py:95 -#: ./holidays/countries/bosnia_and_herzegovina.py:117 -#: ./holidays/countries/bosnia_and_herzegovina.py:165 -#: ./holidays/countries/bosnia_and_herzegovina.py:195 +#: ./holidays/countries/bosnia_and_herzegovina.py:97 +#: ./holidays/countries/bosnia_and_herzegovina.py:119 +#: ./holidays/countries/bosnia_and_herzegovina.py:167 +#: ./holidays/countries/bosnia_and_herzegovina.py:197 msgid "Božić (Pravoslavni)" msgstr "Orthodox Christmas" #. Labor Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:98 -#: ./holidays/countries/bosnia_and_herzegovina.py:135 -#: ./holidays/countries/bosnia_and_herzegovina.py:174 -#: ./holidays/countries/bosnia_and_herzegovina.py:213 +#: ./holidays/countries/bosnia_and_herzegovina.py:100 +#: ./holidays/countries/bosnia_and_herzegovina.py:137 +#: ./holidays/countries/bosnia_and_herzegovina.py:176 +#: ./holidays/countries/bosnia_and_herzegovina.py:215 msgid "Međunarodni praznik rada" msgstr "Labor Day" #. Catholic Christmas. -#: ./holidays/countries/bosnia_and_herzegovina.py:103 -#: ./holidays/countries/bosnia_and_herzegovina.py:150 -#: ./holidays/countries/bosnia_and_herzegovina.py:181 -#: ./holidays/countries/bosnia_and_herzegovina.py:232 +#: ./holidays/countries/bosnia_and_herzegovina.py:105 +#: ./holidays/countries/bosnia_and_herzegovina.py:152 +#: ./holidays/countries/bosnia_and_herzegovina.py:183 +#: ./holidays/countries/bosnia_and_herzegovina.py:234 msgid "Božić (Katolički)" msgstr "Catholic Christmas" #. Orthodox Christmas Eve. -#: ./holidays/countries/bosnia_and_herzegovina.py:114 -#: ./holidays/countries/bosnia_and_herzegovina.py:192 +#: ./holidays/countries/bosnia_and_herzegovina.py:116 +#: ./holidays/countries/bosnia_and_herzegovina.py:194 msgid "Badnji dan (Pravoslavni)" msgstr "Orthodox Christmas Eve" #. Independence Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:120 +#: ./holidays/countries/bosnia_and_herzegovina.py:122 msgid "Dan nezavisnosti" msgstr "Independence Day" #. Catholic Good Friday. -#: ./holidays/countries/bosnia_and_herzegovina.py:123 -#: ./holidays/countries/bosnia_and_herzegovina.py:201 +#: ./holidays/countries/bosnia_and_herzegovina.py:125 +#: ./holidays/countries/bosnia_and_herzegovina.py:203 msgid "Veliki petak (Katolički)" msgstr "Catholic Good Friday" #. Catholic Easter. -#: ./holidays/countries/bosnia_and_herzegovina.py:126 -#: ./holidays/countries/bosnia_and_herzegovina.py:204 +#: ./holidays/countries/bosnia_and_herzegovina.py:128 +#: ./holidays/countries/bosnia_and_herzegovina.py:206 msgid "Uskrs (Katolički)" msgstr "Catholic Easter" #. Orthodox Easter. -#: ./holidays/countries/bosnia_and_herzegovina.py:129 -#: ./holidays/countries/bosnia_and_herzegovina.py:207 +#: ./holidays/countries/bosnia_and_herzegovina.py:131 +#: ./holidays/countries/bosnia_and_herzegovina.py:209 msgid "Vaskrs (Pravoslavni)" msgstr "Orthodox Easter" #. Orthodox Easter Monday. -#: ./holidays/countries/bosnia_and_herzegovina.py:132 -#: ./holidays/countries/bosnia_and_herzegovina.py:210 +#: ./holidays/countries/bosnia_and_herzegovina.py:134 +#: ./holidays/countries/bosnia_and_herzegovina.py:212 msgid "Uskrsni ponedjeljak (Pravoslavni)" msgstr "Orthodox Easter Monday" #. Victory Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:141 -#: ./holidays/countries/bosnia_and_herzegovina.py:219 +#: ./holidays/countries/bosnia_and_herzegovina.py:143 +#: ./holidays/countries/bosnia_and_herzegovina.py:221 msgid "Dan pobjede nad fašizmom" msgstr "Victory Day" #. Statehood Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:144 +#: ./holidays/countries/bosnia_and_herzegovina.py:146 msgid "Dan državnosti" msgstr "Statehood Day" #. Catholic Christmas Eve. -#: ./holidays/countries/bosnia_and_herzegovina.py:147 -#: ./holidays/countries/bosnia_and_herzegovina.py:229 +#: ./holidays/countries/bosnia_and_herzegovina.py:149 +#: ./holidays/countries/bosnia_and_herzegovina.py:231 msgid "Badnji dan (Katolički)" msgstr "Catholic Christmas Eve" #. Day of establishment of Brčko District. -#: ./holidays/countries/bosnia_and_herzegovina.py:169 +#: ./holidays/countries/bosnia_and_herzegovina.py:171 msgid "Dan uspostavljanja Brčko distrikta" msgstr "Day of establishment of Brčko District" #. Orthodox New Year. -#: ./holidays/countries/bosnia_and_herzegovina.py:198 +#: ./holidays/countries/bosnia_and_herzegovina.py:200 msgid "Pravoslavna Nova godina" msgstr "Orthodox New Year" #. Dayton Agreement Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:223 +#: ./holidays/countries/bosnia_and_herzegovina.py:225 msgid "Dan uspostave Opšteg okvirnog sporazuma za mir u Bosni i Hercegovini" msgstr "Dayton Agreement Day" diff --git a/holidays/locale/en_US/LC_MESSAGES/JP.po b/holidays/locale/en_US/LC_MESSAGES/JP.po index 81634df32..f114511d6 100644 --- a/holidays/locale/en_US/LC_MESSAGES/JP.po +++ b/holidays/locale/en_US/LC_MESSAGES/JP.po @@ -17,122 +17,122 @@ msgstr "" "X-Generator: Poedit 3.2.2\n" #. The Crown Prince marriage ceremony. -#: ./holidays/countries/japan.py:30 ./holidays/countries/japan.py:33 +#: ./holidays/countries/japan.py:44 ./holidays/countries/japan.py:47 msgid "結婚の儀" msgstr "The Crown Prince Marriage Ceremony" #. State Funeral of Emperor Shōwa. -#: ./holidays/countries/japan.py:31 +#: ./holidays/countries/japan.py:45 msgid "大喪の礼" msgstr "Emperor Shōwa Funeral Ceremony" #. Enthronement ceremony. -#: ./holidays/countries/japan.py:32 +#: ./holidays/countries/japan.py:46 msgid "即位礼正殿の儀" msgstr "Enthronement Ceremony" #. Enthronement day. -#: ./holidays/countries/japan.py:35 +#: ./holidays/countries/japan.py:49 msgid "天皇の即位の日" msgstr "Emperor's Enthronement Day" #. Enthronement ceremony. -#: ./holidays/countries/japan.py:36 +#: ./holidays/countries/japan.py:50 msgid "即位礼正殿の儀が行われる日" msgstr "Emperor's Enthronement Day" #. New Year's Day. -#: ./holidays/countries/japan.py:49 +#: ./holidays/countries/japan.py:63 msgid "元日" msgstr "New Year's Day" #. Coming of Age Day. -#: ./holidays/countries/japan.py:53 +#: ./holidays/countries/japan.py:67 msgid "成人の日" msgstr "Coming of Age Day" #. Foundation Day. -#: ./holidays/countries/japan.py:57 +#: ./holidays/countries/japan.py:71 msgid "建国記念の日" msgstr "Foundation Day" #. Emperor's Birthday. -#: ./holidays/countries/japan.py:61 ./holidays/countries/japan.py:68 -#: ./holidays/countries/japan.py:149 +#: ./holidays/countries/japan.py:75 ./holidays/countries/japan.py:82 +#: ./holidays/countries/japan.py:163 msgid "天皇誕生日" msgstr "Emperor's Birthday" #. Vernal Equinox Day. -#: ./holidays/countries/japan.py:64 +#: ./holidays/countries/japan.py:78 msgid "春分の日" msgstr "Vernal Equinox Day" #. Greenery Day. -#: ./holidays/countries/japan.py:71 ./holidays/countries/japan.py:82 +#: ./holidays/countries/japan.py:85 ./holidays/countries/japan.py:96 msgid "みどりの日" msgstr "Greenery Day" #. Showa Day. -#: ./holidays/countries/japan.py:74 +#: ./holidays/countries/japan.py:88 msgid "昭和の日" msgstr "Showa Day" #. Constitution Day. -#: ./holidays/countries/japan.py:78 +#: ./holidays/countries/japan.py:92 msgid "憲法記念日" msgstr "Constitution Day" #. Children's Day. -#: ./holidays/countries/japan.py:85 +#: ./holidays/countries/japan.py:99 msgid "こどもの日" msgstr "Children's Day" #. Marine Day. -#: ./holidays/countries/japan.py:97 +#: ./holidays/countries/japan.py:111 msgid "海の日" msgstr "Marine Day" #. Mountain Day. -#: ./holidays/countries/japan.py:106 +#: ./holidays/countries/japan.py:120 msgid "山の日" msgstr "Mountain Day" #. Respect for the Aged Day. -#: ./holidays/countries/japan.py:115 +#: ./holidays/countries/japan.py:129 msgid "敬老の日" msgstr "Respect for the Aged Day" #. Autumnal Equinox Day. -#: ./holidays/countries/japan.py:118 +#: ./holidays/countries/japan.py:132 msgid "秋分の日" msgstr "Autumnal Equinox" #. Physical Education Day. -#: ./holidays/countries/japan.py:127 +#: ./holidays/countries/japan.py:141 msgid "体育の日" msgstr "Physical Education Day" #. Sports Day. -#: ./holidays/countries/japan.py:124 +#: ./holidays/countries/japan.py:138 msgid "スポーツの日" msgstr "Sports Day" #. Culture Day. -#: ./holidays/countries/japan.py:142 +#: ./holidays/countries/japan.py:156 msgid "文化の日" msgstr "Culture Day" #. Labor Thanksgiving Day. -#: ./holidays/countries/japan.py:145 +#: ./holidays/countries/japan.py:159 msgid "勤労感謝の日" msgstr "Labor Thanksgiving Day" #. Substitute Holiday. -#: ./holidays/countries/japan.py:164 +#: ./holidays/countries/japan.py:178 msgid "振替休日" msgstr "Substitute Holiday" #. National Holiday. -#: ./holidays/countries/japan.py:175 +#: ./holidays/countries/japan.py:189 msgid "国民の休日" msgstr "National Holiday" diff --git a/holidays/locale/es/LC_MESSAGES/AR.po b/holidays/locale/es/LC_MESSAGES/AR.po index 1aa7ff40f..d0c39953d 100644 --- a/holidays/locale/es/LC_MESSAGES/AR.po +++ b/holidays/locale/es/LC_MESSAGES/AR.po @@ -16,110 +16,110 @@ msgstr "" "Generated-By: Lingua 4.15.0\n" "X-Generator: Poedit 3.3\n" -#: ./holidays/countries/argentina.py:67 +#: ./holidays/countries/argentina.py:81 msgid "Feriado con fines turísticos" msgstr "" -#: ./holidays/countries/argentina.py:71 +#: ./holidays/countries/argentina.py:85 msgid "Bicentenario de la creación y primera jura de la bandera nacional" msgstr "" -#: ./holidays/countries/argentina.py:74 +#: ./holidays/countries/argentina.py:88 msgid "Bicentenario de la Batalla de Tucumán" msgstr "" -#: ./holidays/countries/argentina.py:75 +#: ./holidays/countries/argentina.py:89 msgid "" "Bicentenario de la sesión inaugural de la Asamblea Nacional Constituyente " "del año 1813" msgstr "" -#: ./holidays/countries/argentina.py:78 +#: ./holidays/countries/argentina.py:92 msgid "Bicentenario de la Batalla de Salta" msgstr "" -#: ./holidays/countries/argentina.py:79 +#: ./holidays/countries/argentina.py:93 msgid "Censo nacional 2022" msgstr "" -#: ./holidays/countries/argentina.py:175 +#: ./holidays/countries/argentina.py:189 msgid "Año Nuevo" msgstr "" -#: ./holidays/countries/argentina.py:183 +#: ./holidays/countries/argentina.py:197 msgid "Día de Carnaval" msgstr "" -#: ./holidays/countries/argentina.py:193 +#: ./holidays/countries/argentina.py:207 msgid "Día Nacional de la Memoria por la Verdad y la Justicia" msgstr "" -#: ./holidays/countries/argentina.py:205 +#: ./holidays/countries/argentina.py:219 msgid "Día del Veterano de Guerra" msgstr "" -#: ./holidays/countries/argentina.py:207 +#: ./holidays/countries/argentina.py:221 msgid "Día del Veterano y de los Caidos en la Guerra de Malvinas" msgstr "" #. Good Friday. -#: ./holidays/countries/argentina.py:212 +#: ./holidays/countries/argentina.py:226 msgid "Viernes Santo" msgstr "" -#: ./holidays/countries/argentina.py:216 +#: ./holidays/countries/argentina.py:230 msgid "Día del Trabajo" msgstr "" -#: ./holidays/countries/argentina.py:220 +#: ./holidays/countries/argentina.py:234 msgid "Día de la Revolución de Mayo" msgstr "" -#: ./holidays/countries/argentina.py:230 +#: ./holidays/countries/argentina.py:244 msgid "" "Día de los Derechos Argentinos sobre las Islas Malvinas, Sandwich y del " "Atlántico Sur" msgstr "" -#: ./holidays/countries/argentina.py:246 +#: ./holidays/countries/argentina.py:260 msgid "Paso a la Inmortalidad del General Don Manuel Belgrano" msgstr "" -#: ./holidays/countries/argentina.py:254 +#: ./holidays/countries/argentina.py:268 msgid "Día de la Independencia" msgstr "" #. Immaculate Conception. -#: ./holidays/countries/argentina.py:257 +#: ./holidays/countries/argentina.py:271 msgid "Inmaculada Concepción de María" msgstr "" #. Christmas. -#: ./holidays/countries/argentina.py:260 +#: ./holidays/countries/argentina.py:274 msgid "Navidad" msgstr "" -#: ./holidays/countries/argentina.py:270 +#: ./holidays/countries/argentina.py:284 msgid "Paso a la Inmortalidad del General Don Martín Miguel de Güemes" msgstr "" -#: ./holidays/countries/argentina.py:284 +#: ./holidays/countries/argentina.py:298 msgid "Paso a la Inmortalidad del General Don José de San Martin" msgstr "" -#: ./holidays/countries/argentina.py:304 +#: ./holidays/countries/argentina.py:318 msgid "Día del Respeto a la Diversidad Cultural" msgstr "" -#: ./holidays/countries/argentina.py:301 +#: ./holidays/countries/argentina.py:315 msgid "Día de la Raza" msgstr "" -#: ./holidays/countries/argentina.py:314 +#: ./holidays/countries/argentina.py:328 msgid "Día de la Soberanía Nacional" msgstr "" -#: ./holidays/countries/argentina.py:162 ./holidays/countries/argentina.py:165 +#: ./holidays/countries/argentina.py:176 ./holidays/countries/argentina.py:179 #, c-format msgid "%s (Observado)" msgstr "" diff --git a/holidays/locale/ja/LC_MESSAGES/JP.po b/holidays/locale/ja/LC_MESSAGES/JP.po index 1a989adde..41d0f58d5 100644 --- a/holidays/locale/ja/LC_MESSAGES/JP.po +++ b/holidays/locale/ja/LC_MESSAGES/JP.po @@ -17,122 +17,122 @@ msgstr "" "X-Generator: Poedit 3.2.2\n" #. The Crown Prince marriage ceremony. -#: ./holidays/countries/japan.py:30 ./holidays/countries/japan.py:33 +#: ./holidays/countries/japan.py:44 ./holidays/countries/japan.py:47 msgid "結婚の儀" msgstr "" #. State Funeral of Emperor Shōwa. -#: ./holidays/countries/japan.py:31 +#: ./holidays/countries/japan.py:45 msgid "大喪の礼" msgstr "" #. Enthronement ceremony. -#: ./holidays/countries/japan.py:32 +#: ./holidays/countries/japan.py:46 msgid "即位礼正殿の儀" msgstr "" #. Enthronement day. -#: ./holidays/countries/japan.py:35 +#: ./holidays/countries/japan.py:49 msgid "天皇の即位の日" msgstr "" #. Enthronement ceremony. -#: ./holidays/countries/japan.py:36 +#: ./holidays/countries/japan.py:50 msgid "即位礼正殿の儀が行われる日" msgstr "" #. New Year's Day. -#: ./holidays/countries/japan.py:49 +#: ./holidays/countries/japan.py:63 msgid "元日" msgstr "" #. Coming of Age Day. -#: ./holidays/countries/japan.py:53 +#: ./holidays/countries/japan.py:67 msgid "成人の日" msgstr "" #. Foundation Day. -#: ./holidays/countries/japan.py:57 +#: ./holidays/countries/japan.py:71 msgid "建国記念の日" msgstr "" #. Emperor's Birthday. -#: ./holidays/countries/japan.py:61 ./holidays/countries/japan.py:68 -#: ./holidays/countries/japan.py:149 +#: ./holidays/countries/japan.py:75 ./holidays/countries/japan.py:82 +#: ./holidays/countries/japan.py:163 msgid "天皇誕生日" msgstr "" #. Vernal Equinox Day. -#: ./holidays/countries/japan.py:64 +#: ./holidays/countries/japan.py:78 msgid "春分の日" msgstr "" #. Greenery Day. -#: ./holidays/countries/japan.py:71 ./holidays/countries/japan.py:82 +#: ./holidays/countries/japan.py:85 ./holidays/countries/japan.py:96 msgid "みどりの日" msgstr "" #. Showa Day. -#: ./holidays/countries/japan.py:74 +#: ./holidays/countries/japan.py:88 msgid "昭和の日" msgstr "" #. Constitution Day. -#: ./holidays/countries/japan.py:78 +#: ./holidays/countries/japan.py:92 msgid "憲法記念日" msgstr "" #. Children's Day. -#: ./holidays/countries/japan.py:85 +#: ./holidays/countries/japan.py:99 msgid "こどもの日" msgstr "" #. Marine Day. -#: ./holidays/countries/japan.py:97 +#: ./holidays/countries/japan.py:111 msgid "海の日" msgstr "" #. Mountain Day. -#: ./holidays/countries/japan.py:106 +#: ./holidays/countries/japan.py:120 msgid "山の日" msgstr "" #. Respect for the Aged Day. -#: ./holidays/countries/japan.py:115 +#: ./holidays/countries/japan.py:129 msgid "敬老の日" msgstr "" #. Autumnal Equinox Day. -#: ./holidays/countries/japan.py:118 +#: ./holidays/countries/japan.py:132 msgid "秋分の日" msgstr "" #. Physical Education Day. -#: ./holidays/countries/japan.py:127 +#: ./holidays/countries/japan.py:141 msgid "体育の日" msgstr "" #. Sports Day. -#: ./holidays/countries/japan.py:124 +#: ./holidays/countries/japan.py:138 msgid "スポーツの日" msgstr "" #. Culture Day. -#: ./holidays/countries/japan.py:142 +#: ./holidays/countries/japan.py:156 msgid "文化の日" msgstr "" #. Labor Thanksgiving Day. -#: ./holidays/countries/japan.py:145 +#: ./holidays/countries/japan.py:159 msgid "勤労感謝の日" msgstr "" #. Substitute Holiday. -#: ./holidays/countries/japan.py:164 +#: ./holidays/countries/japan.py:178 msgid "振替休日" msgstr "" #. National Holiday. -#: ./holidays/countries/japan.py:175 +#: ./holidays/countries/japan.py:189 msgid "国民の休日" msgstr "" diff --git a/holidays/locale/sr/LC_MESSAGES/BA.po b/holidays/locale/sr/LC_MESSAGES/BA.po index 32506e512..1a3fb5848 100644 --- a/holidays/locale/sr/LC_MESSAGES/BA.po +++ b/holidays/locale/sr/LC_MESSAGES/BA.po @@ -16,130 +16,130 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" "X-Generator: Poedit 3.2.2\n" -#: ./holidays/countries/bosnia_and_herzegovina.py:61 +#: ./holidays/countries/bosnia_and_herzegovina.py:63 #, c-format msgid "%s (preneseno)" msgstr "%s (пренешено)" #. Orthodox Good Friday. -#: ./holidays/countries/bosnia_and_herzegovina.py:69 +#: ./holidays/countries/bosnia_and_herzegovina.py:71 msgid "Veliki petak (Pravoslavni)" msgstr "Велики петак (Православни)" #. Catholic Easter Monday. -#: ./holidays/countries/bosnia_and_herzegovina.py:72 +#: ./holidays/countries/bosnia_and_herzegovina.py:74 msgid "Uskrsni ponedjeljak (Katolički)" msgstr "Ускршњи понедељак (Католички)" #. Eid al-Fitr. -#: ./holidays/countries/bosnia_and_herzegovina.py:75 -#: ./holidays/countries/bosnia_and_herzegovina.py:153 -#: ./holidays/countries/bosnia_and_herzegovina.py:235 +#: ./holidays/countries/bosnia_and_herzegovina.py:77 +#: ./holidays/countries/bosnia_and_herzegovina.py:155 +#: ./holidays/countries/bosnia_and_herzegovina.py:237 msgid "Ramazanski Bajram" msgstr "Рамазански Бајрам" #. Eid al-Adha. -#: ./holidays/countries/bosnia_and_herzegovina.py:78 -#: ./holidays/countries/bosnia_and_herzegovina.py:156 -#: ./holidays/countries/bosnia_and_herzegovina.py:238 +#: ./holidays/countries/bosnia_and_herzegovina.py:80 +#: ./holidays/countries/bosnia_and_herzegovina.py:158 +#: ./holidays/countries/bosnia_and_herzegovina.py:240 msgid "Kurban Bajram" msgstr "Курбан Бајрам" #. New Year's Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:90 -#: ./holidays/countries/bosnia_and_herzegovina.py:109 -#: ./holidays/countries/bosnia_and_herzegovina.py:160 -#: ./holidays/countries/bosnia_and_herzegovina.py:187 +#: ./holidays/countries/bosnia_and_herzegovina.py:92 +#: ./holidays/countries/bosnia_and_herzegovina.py:111 +#: ./holidays/countries/bosnia_and_herzegovina.py:162 +#: ./holidays/countries/bosnia_and_herzegovina.py:189 msgid "Nova godina" msgstr "Нова година" #. Orthodox Christmas. -#: ./holidays/countries/bosnia_and_herzegovina.py:95 -#: ./holidays/countries/bosnia_and_herzegovina.py:117 -#: ./holidays/countries/bosnia_and_herzegovina.py:165 -#: ./holidays/countries/bosnia_and_herzegovina.py:195 +#: ./holidays/countries/bosnia_and_herzegovina.py:97 +#: ./holidays/countries/bosnia_and_herzegovina.py:119 +#: ./holidays/countries/bosnia_and_herzegovina.py:167 +#: ./holidays/countries/bosnia_and_herzegovina.py:197 msgid "Božić (Pravoslavni)" msgstr "Божић (Православни)" #. Labor Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:98 -#: ./holidays/countries/bosnia_and_herzegovina.py:135 -#: ./holidays/countries/bosnia_and_herzegovina.py:174 -#: ./holidays/countries/bosnia_and_herzegovina.py:213 +#: ./holidays/countries/bosnia_and_herzegovina.py:100 +#: ./holidays/countries/bosnia_and_herzegovina.py:137 +#: ./holidays/countries/bosnia_and_herzegovina.py:176 +#: ./holidays/countries/bosnia_and_herzegovina.py:215 msgid "Međunarodni praznik rada" msgstr "Међународни празник рада" #. Catholic Christmas. -#: ./holidays/countries/bosnia_and_herzegovina.py:103 -#: ./holidays/countries/bosnia_and_herzegovina.py:150 -#: ./holidays/countries/bosnia_and_herzegovina.py:181 -#: ./holidays/countries/bosnia_and_herzegovina.py:232 +#: ./holidays/countries/bosnia_and_herzegovina.py:105 +#: ./holidays/countries/bosnia_and_herzegovina.py:152 +#: ./holidays/countries/bosnia_and_herzegovina.py:183 +#: ./holidays/countries/bosnia_and_herzegovina.py:234 msgid "Božić (Katolički)" msgstr "Божић (Католички)" #. Orthodox Christmas Eve. -#: ./holidays/countries/bosnia_and_herzegovina.py:114 -#: ./holidays/countries/bosnia_and_herzegovina.py:192 +#: ./holidays/countries/bosnia_and_herzegovina.py:116 +#: ./holidays/countries/bosnia_and_herzegovina.py:194 msgid "Badnji dan (Pravoslavni)" msgstr "Бадњи дан (Православни)" #. Independence Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:120 +#: ./holidays/countries/bosnia_and_herzegovina.py:122 msgid "Dan nezavisnosti" msgstr "Дан независности" #. Catholic Good Friday. -#: ./holidays/countries/bosnia_and_herzegovina.py:123 -#: ./holidays/countries/bosnia_and_herzegovina.py:201 +#: ./holidays/countries/bosnia_and_herzegovina.py:125 +#: ./holidays/countries/bosnia_and_herzegovina.py:203 msgid "Veliki petak (Katolički)" msgstr "Велики петак (Католички)" #. Catholic Easter. -#: ./holidays/countries/bosnia_and_herzegovina.py:126 -#: ./holidays/countries/bosnia_and_herzegovina.py:204 +#: ./holidays/countries/bosnia_and_herzegovina.py:128 +#: ./holidays/countries/bosnia_and_herzegovina.py:206 msgid "Uskrs (Katolički)" msgstr "Ускрс (Католички)" #. Orthodox Easter. -#: ./holidays/countries/bosnia_and_herzegovina.py:129 -#: ./holidays/countries/bosnia_and_herzegovina.py:207 +#: ./holidays/countries/bosnia_and_herzegovina.py:131 +#: ./holidays/countries/bosnia_and_herzegovina.py:209 msgid "Vaskrs (Pravoslavni)" msgstr "Васкрс (Православни)" #. Orthodox Easter Monday. -#: ./holidays/countries/bosnia_and_herzegovina.py:132 -#: ./holidays/countries/bosnia_and_herzegovina.py:210 +#: ./holidays/countries/bosnia_and_herzegovina.py:134 +#: ./holidays/countries/bosnia_and_herzegovina.py:212 msgid "Uskrsni ponedjeljak (Pravoslavni)" msgstr "Ускршњи понедељак (Православни)" #. Victory Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:141 -#: ./holidays/countries/bosnia_and_herzegovina.py:219 +#: ./holidays/countries/bosnia_and_herzegovina.py:143 +#: ./holidays/countries/bosnia_and_herzegovina.py:221 msgid "Dan pobjede nad fašizmom" msgstr "Дан побједе над фашизмом" #. Statehood Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:144 +#: ./holidays/countries/bosnia_and_herzegovina.py:146 msgid "Dan državnosti" msgstr "Дан државности" #. Catholic Christmas Eve. -#: ./holidays/countries/bosnia_and_herzegovina.py:147 -#: ./holidays/countries/bosnia_and_herzegovina.py:229 +#: ./holidays/countries/bosnia_and_herzegovina.py:149 +#: ./holidays/countries/bosnia_and_herzegovina.py:231 msgid "Badnji dan (Katolički)" msgstr "Бадњи дан (Католички)" #. Day of establishment of Brčko District. -#: ./holidays/countries/bosnia_and_herzegovina.py:169 +#: ./holidays/countries/bosnia_and_herzegovina.py:171 msgid "Dan uspostavljanja Brčko distrikta" msgstr "Дан успостављања Брчко дистрикта" #. Orthodox New Year. -#: ./holidays/countries/bosnia_and_herzegovina.py:198 +#: ./holidays/countries/bosnia_and_herzegovina.py:200 msgid "Pravoslavna Nova godina" msgstr "Православна Нова година" #. Dayton Agreement Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:223 +#: ./holidays/countries/bosnia_and_herzegovina.py:225 msgid "Dan uspostave Opšteg okvirnog sporazuma za mir u Bosni i Hercegovini" msgstr "Дан успоставе Општег оквирног споразума за мир у Босни и Херцеговини" diff --git a/holidays/locale/uk/LC_MESSAGES/AR.po b/holidays/locale/uk/LC_MESSAGES/AR.po index 108b05545..2378ad0eb 100644 --- a/holidays/locale/uk/LC_MESSAGES/AR.po +++ b/holidays/locale/uk/LC_MESSAGES/AR.po @@ -16,67 +16,67 @@ msgstr "" "Generated-By: Lingua 4.15.0\n" "X-Generator: Poedit 3.3\n" -#: ./holidays/countries/argentina.py:67 +#: ./holidays/countries/argentina.py:81 msgid "Feriado con fines turísticos" msgstr "Додатковий вихідний" -#: ./holidays/countries/argentina.py:71 +#: ./holidays/countries/argentina.py:85 msgid "Bicentenario de la creación y primera jura de la bandera nacional" msgstr "200-річчя створення та першої присяги державному прапору" -#: ./holidays/countries/argentina.py:74 +#: ./holidays/countries/argentina.py:88 msgid "Bicentenario de la Batalla de Tucumán" msgstr "200-річчя битви при Тукумані" -#: ./holidays/countries/argentina.py:75 +#: ./holidays/countries/argentina.py:89 msgid "" "Bicentenario de la sesión inaugural de la Asamblea Nacional Constituyente " "del año 1813" msgstr "" "200-річчя інавгураційної сесії Національних установчих зборів 1813 року" -#: ./holidays/countries/argentina.py:78 +#: ./holidays/countries/argentina.py:92 msgid "Bicentenario de la Batalla de Salta" msgstr "200-річчя битви при Сальті" -#: ./holidays/countries/argentina.py:79 +#: ./holidays/countries/argentina.py:93 msgid "Censo nacional 2022" msgstr "День національного перепису 2022" -#: ./holidays/countries/argentina.py:175 +#: ./holidays/countries/argentina.py:189 msgid "Año Nuevo" msgstr "Новий рік" -#: ./holidays/countries/argentina.py:183 +#: ./holidays/countries/argentina.py:197 msgid "Día de Carnaval" msgstr "Карнавал" -#: ./holidays/countries/argentina.py:193 +#: ./holidays/countries/argentina.py:207 msgid "Día Nacional de la Memoria por la Verdad y la Justicia" msgstr "День памʼяті заради правди та правосуддя" -#: ./holidays/countries/argentina.py:205 +#: ./holidays/countries/argentina.py:219 msgid "Día del Veterano de Guerra" msgstr "День ветеранів війни" -#: ./holidays/countries/argentina.py:207 +#: ./holidays/countries/argentina.py:221 msgid "Día del Veterano y de los Caidos en la Guerra de Malvinas" msgstr "День ветеранів та загиблих на Мальвінській війні" #. Good Friday. -#: ./holidays/countries/argentina.py:212 +#: ./holidays/countries/argentina.py:226 msgid "Viernes Santo" msgstr "Страсна п'ятниця" -#: ./holidays/countries/argentina.py:216 +#: ./holidays/countries/argentina.py:230 msgid "Día del Trabajo" msgstr "День праці" -#: ./holidays/countries/argentina.py:220 +#: ./holidays/countries/argentina.py:234 msgid "Día de la Revolución de Mayo" msgstr "День Травневої революції" -#: ./holidays/countries/argentina.py:230 +#: ./holidays/countries/argentina.py:244 msgid "" "Día de los Derechos Argentinos sobre las Islas Malvinas, Sandwich y del " "Atlántico Sur" @@ -84,45 +84,45 @@ msgstr "" "День суверенітету Аргентини на Мальвінських, Сендвічевих і " "Південноатлантичних островах" -#: ./holidays/countries/argentina.py:246 +#: ./holidays/countries/argentina.py:260 msgid "Paso a la Inmortalidad del General Don Manuel Belgrano" msgstr "День пам’яті генерала Мануеля Бельграно" -#: ./holidays/countries/argentina.py:254 +#: ./holidays/countries/argentina.py:268 msgid "Día de la Independencia" msgstr "День незалежності" #. Immaculate Conception. -#: ./holidays/countries/argentina.py:257 +#: ./holidays/countries/argentina.py:271 msgid "Inmaculada Concepción de María" msgstr "Непорочне зачаття Діви Марії" #. Christmas. -#: ./holidays/countries/argentina.py:260 +#: ./holidays/countries/argentina.py:274 msgid "Navidad" msgstr "Різдво Христове" -#: ./holidays/countries/argentina.py:270 +#: ./holidays/countries/argentina.py:284 msgid "Paso a la Inmortalidad del General Don Martín Miguel de Güemes" msgstr "День пам'яті генерала Мартіна Мігеля де Гуемеса" -#: ./holidays/countries/argentina.py:284 +#: ./holidays/countries/argentina.py:298 msgid "Paso a la Inmortalidad del General Don José de San Martin" msgstr "День пам'яті генерала Хосе де Сан-Мартіна" -#: ./holidays/countries/argentina.py:304 +#: ./holidays/countries/argentina.py:318 msgid "Día del Respeto a la Diversidad Cultural" msgstr "День поваги до культурного різноманіття" -#: ./holidays/countries/argentina.py:301 +#: ./holidays/countries/argentina.py:315 msgid "Día de la Raza" msgstr "День Колумба" -#: ./holidays/countries/argentina.py:314 +#: ./holidays/countries/argentina.py:328 msgid "Día de la Soberanía Nacional" msgstr "День національного суверенітету" -#: ./holidays/countries/argentina.py:162 ./holidays/countries/argentina.py:165 +#: ./holidays/countries/argentina.py:176 ./holidays/countries/argentina.py:179 #, c-format msgid "%s (Observado)" msgstr "%s (вихідний)" diff --git a/holidays/locale/uk/LC_MESSAGES/AT.po b/holidays/locale/uk/LC_MESSAGES/AT.po index 3ffc5c85b..6dbd8d5bf 100644 --- a/holidays/locale/uk/LC_MESSAGES/AT.po +++ b/holidays/locale/uk/LC_MESSAGES/AT.po @@ -17,81 +17,81 @@ msgstr "" "X-Generator: Poedit 3.2.2\n" #. New Year's Day. -#: ./holidays/countries/austria.py:38 +#: ./holidays/countries/austria.py:39 msgid "Neujahr" msgstr "Новий рік" #. Epiphany. -#: ./holidays/countries/austria.py:41 +#: ./holidays/countries/austria.py:42 msgid "Heilige Drei Könige" msgstr "Богоявлення" #. Easter Monday. -#: ./holidays/countries/austria.py:44 +#: ./holidays/countries/austria.py:45 msgid "Ostermontag" msgstr "Великодній понеділок" #. Labor Day. -#: ./holidays/countries/austria.py:47 +#: ./holidays/countries/austria.py:48 msgid "Staatsfeiertag" msgstr "День праці" #. Ascension Day. -#: ./holidays/countries/austria.py:50 +#: ./holidays/countries/austria.py:51 msgid "Christi Himmelfahrt" msgstr "Вознесіння Господнє" #. Whit Monday. -#: ./holidays/countries/austria.py:53 +#: ./holidays/countries/austria.py:54 msgid "Pfingstmontag" msgstr "День Святого Духа" #. Corpus Christi. -#: ./holidays/countries/austria.py:56 +#: ./holidays/countries/austria.py:57 msgid "Fronleichnam" msgstr "Свято Тіла і Крові Христових" #. Assumption Day. -#: ./holidays/countries/austria.py:59 +#: ./holidays/countries/austria.py:60 msgid "Mariä Himmelfahrt" msgstr "Внебовзяття Пресвятої Діви Марії" #. National Day. -#: ./holidays/countries/austria.py:63 ./holidays/countries/austria.py:65 +#: ./holidays/countries/austria.py:64 ./holidays/countries/austria.py:66 msgid "Nationalfeiertag" msgstr "Національне свято" #. All Saints' Day. -#: ./holidays/countries/austria.py:68 +#: ./holidays/countries/austria.py:69 msgid "Allerheiligen" msgstr "День усіх святих" #. Immaculate Conception. -#: ./holidays/countries/austria.py:71 +#: ./holidays/countries/austria.py:72 msgid "Mariä Empfängnis" msgstr "Непорочне зачаття Діви Марії" #. Christmas Day. -#: ./holidays/countries/austria.py:74 +#: ./holidays/countries/austria.py:75 msgid "Christtag" msgstr "Різдво Христове" #. St. Stephen's Day. -#: ./holidays/countries/austria.py:77 +#: ./holidays/countries/austria.py:78 msgid "Stefanitag" msgstr "День Святого Стефана" #. Good Friday. -#: ./holidays/countries/austria.py:81 +#: ./holidays/countries/austria.py:82 msgid "Karfreitag" msgstr "Страсна п'ятниця" #. Christmas Eve. -#: ./holidays/countries/austria.py:84 +#: ./holidays/countries/austria.py:85 msgid "Heiliger Abend" msgstr "Святий вечір" #. New Year's Eve. -#: ./holidays/countries/austria.py:87 +#: ./holidays/countries/austria.py:88 msgid "Silvester" msgstr "Переддень Нового року" diff --git a/holidays/locale/uk/LC_MESSAGES/BA.po b/holidays/locale/uk/LC_MESSAGES/BA.po index ffb45b669..991ef6d45 100644 --- a/holidays/locale/uk/LC_MESSAGES/BA.po +++ b/holidays/locale/uk/LC_MESSAGES/BA.po @@ -16,131 +16,131 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" "X-Generator: Poedit 3.2.2\n" -#: ./holidays/countries/bosnia_and_herzegovina.py:61 +#: ./holidays/countries/bosnia_and_herzegovina.py:63 #, c-format msgid "%s (preneseno)" msgstr "%s (вихідний)" #. Orthodox Good Friday. -#: ./holidays/countries/bosnia_and_herzegovina.py:69 +#: ./holidays/countries/bosnia_and_herzegovina.py:71 msgid "Veliki petak (Pravoslavni)" msgstr "Страсна пʼятниця (православна)" #. Catholic Easter Monday. -#: ./holidays/countries/bosnia_and_herzegovina.py:72 +#: ./holidays/countries/bosnia_and_herzegovina.py:74 msgid "Uskrsni ponedjeljak (Katolički)" msgstr "Великодній понеділок (католицький)" #. Eid al-Fitr. -#: ./holidays/countries/bosnia_and_herzegovina.py:75 -#: ./holidays/countries/bosnia_and_herzegovina.py:153 -#: ./holidays/countries/bosnia_and_herzegovina.py:235 +#: ./holidays/countries/bosnia_and_herzegovina.py:77 +#: ./holidays/countries/bosnia_and_herzegovina.py:155 +#: ./holidays/countries/bosnia_and_herzegovina.py:237 msgid "Ramazanski Bajram" msgstr "Рамазан-байрам" #. Eid al-Adha. -#: ./holidays/countries/bosnia_and_herzegovina.py:78 -#: ./holidays/countries/bosnia_and_herzegovina.py:156 -#: ./holidays/countries/bosnia_and_herzegovina.py:238 +#: ./holidays/countries/bosnia_and_herzegovina.py:80 +#: ./holidays/countries/bosnia_and_herzegovina.py:158 +#: ./holidays/countries/bosnia_and_herzegovina.py:240 msgid "Kurban Bajram" msgstr "Курбан-байрам" #. New Year's Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:90 -#: ./holidays/countries/bosnia_and_herzegovina.py:109 -#: ./holidays/countries/bosnia_and_herzegovina.py:160 -#: ./holidays/countries/bosnia_and_herzegovina.py:187 +#: ./holidays/countries/bosnia_and_herzegovina.py:92 +#: ./holidays/countries/bosnia_and_herzegovina.py:111 +#: ./holidays/countries/bosnia_and_herzegovina.py:162 +#: ./holidays/countries/bosnia_and_herzegovina.py:189 msgid "Nova godina" msgstr "Новий рік" #. Orthodox Christmas. -#: ./holidays/countries/bosnia_and_herzegovina.py:95 -#: ./holidays/countries/bosnia_and_herzegovina.py:117 -#: ./holidays/countries/bosnia_and_herzegovina.py:165 -#: ./holidays/countries/bosnia_and_herzegovina.py:195 +#: ./holidays/countries/bosnia_and_herzegovina.py:97 +#: ./holidays/countries/bosnia_and_herzegovina.py:119 +#: ./holidays/countries/bosnia_and_herzegovina.py:167 +#: ./holidays/countries/bosnia_and_herzegovina.py:197 msgid "Božić (Pravoslavni)" msgstr "Різдво Христове (православне)" #. Labor Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:98 -#: ./holidays/countries/bosnia_and_herzegovina.py:135 -#: ./holidays/countries/bosnia_and_herzegovina.py:174 -#: ./holidays/countries/bosnia_and_herzegovina.py:213 +#: ./holidays/countries/bosnia_and_herzegovina.py:100 +#: ./holidays/countries/bosnia_and_herzegovina.py:137 +#: ./holidays/countries/bosnia_and_herzegovina.py:176 +#: ./holidays/countries/bosnia_and_herzegovina.py:215 msgid "Međunarodni praznik rada" msgstr "Міжнародний день праці" #. Catholic Christmas. -#: ./holidays/countries/bosnia_and_herzegovina.py:103 -#: ./holidays/countries/bosnia_and_herzegovina.py:150 -#: ./holidays/countries/bosnia_and_herzegovina.py:181 -#: ./holidays/countries/bosnia_and_herzegovina.py:232 +#: ./holidays/countries/bosnia_and_herzegovina.py:105 +#: ./holidays/countries/bosnia_and_herzegovina.py:152 +#: ./holidays/countries/bosnia_and_herzegovina.py:183 +#: ./holidays/countries/bosnia_and_herzegovina.py:234 msgid "Božić (Katolički)" msgstr "Різдво Христове (католицьке)" #. Orthodox Christmas Eve. -#: ./holidays/countries/bosnia_and_herzegovina.py:114 -#: ./holidays/countries/bosnia_and_herzegovina.py:192 +#: ./holidays/countries/bosnia_and_herzegovina.py:116 +#: ./holidays/countries/bosnia_and_herzegovina.py:194 msgid "Badnji dan (Pravoslavni)" msgstr "Святий вечір (православний)" #. Independence Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:120 +#: ./holidays/countries/bosnia_and_herzegovina.py:122 msgid "Dan nezavisnosti" msgstr "День незалежності" #. Catholic Good Friday. -#: ./holidays/countries/bosnia_and_herzegovina.py:123 -#: ./holidays/countries/bosnia_and_herzegovina.py:201 +#: ./holidays/countries/bosnia_and_herzegovina.py:125 +#: ./holidays/countries/bosnia_and_herzegovina.py:203 msgid "Veliki petak (Katolički)" msgstr "Страсна пʼятниця (католицька)" #. Catholic Easter. -#: ./holidays/countries/bosnia_and_herzegovina.py:126 -#: ./holidays/countries/bosnia_and_herzegovina.py:204 +#: ./holidays/countries/bosnia_and_herzegovina.py:128 +#: ./holidays/countries/bosnia_and_herzegovina.py:206 msgid "Uskrs (Katolički)" msgstr "Великдень (католицький)" #. Orthodox Easter. -#: ./holidays/countries/bosnia_and_herzegovina.py:129 -#: ./holidays/countries/bosnia_and_herzegovina.py:207 +#: ./holidays/countries/bosnia_and_herzegovina.py:131 +#: ./holidays/countries/bosnia_and_herzegovina.py:209 msgid "Vaskrs (Pravoslavni)" msgstr "Великдень (православний)" #. Orthodox Easter Monday. -#: ./holidays/countries/bosnia_and_herzegovina.py:132 -#: ./holidays/countries/bosnia_and_herzegovina.py:210 +#: ./holidays/countries/bosnia_and_herzegovina.py:134 +#: ./holidays/countries/bosnia_and_herzegovina.py:212 msgid "Uskrsni ponedjeljak (Pravoslavni)" msgstr "Великодній понеділок (православний)" #. Victory Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:141 -#: ./holidays/countries/bosnia_and_herzegovina.py:219 +#: ./holidays/countries/bosnia_and_herzegovina.py:143 +#: ./holidays/countries/bosnia_and_herzegovina.py:221 msgid "Dan pobjede nad fašizmom" msgstr "День перемоги над фашизмом" #. Statehood Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:144 +#: ./holidays/countries/bosnia_and_herzegovina.py:146 msgid "Dan državnosti" msgstr "День державності" #. Catholic Christmas Eve. -#: ./holidays/countries/bosnia_and_herzegovina.py:147 -#: ./holidays/countries/bosnia_and_herzegovina.py:229 +#: ./holidays/countries/bosnia_and_herzegovina.py:149 +#: ./holidays/countries/bosnia_and_herzegovina.py:231 msgid "Badnji dan (Katolički)" msgstr "Святий вечір (католицький)" #. Day of establishment of Brčko District. -#: ./holidays/countries/bosnia_and_herzegovina.py:169 +#: ./holidays/countries/bosnia_and_herzegovina.py:171 msgid "Dan uspostavljanja Brčko distrikta" msgstr "День заснування округу Брчко" #. Orthodox New Year. -#: ./holidays/countries/bosnia_and_herzegovina.py:198 +#: ./holidays/countries/bosnia_and_herzegovina.py:200 msgid "Pravoslavna Nova godina" msgstr "Православний Новий рік" #. Dayton Agreement Day. -#: ./holidays/countries/bosnia_and_herzegovina.py:223 +#: ./holidays/countries/bosnia_and_herzegovina.py:225 msgid "Dan uspostave Opšteg okvirnog sporazuma za mir u Bosni i Hercegovini" msgstr "" "День укладання Загальної рамкової угоди про мир у Боснії та Герцеговині" diff --git a/tests/common.py b/tests/common.py index 5177a41c1..9eded0946 100644 --- a/tests/common.py +++ b/tests/common.py @@ -18,7 +18,7 @@ from dateutil.parser import parse from holidays import HolidayBase -from holidays.constants import SUN +from holidays.calendars.gregorian import SUN PYTHON_VERSION = (3, 11) diff --git a/tests/countries/test_american_samoa.py b/tests/countries/test_american_samoa.py index 3d5d7d341..1c2f0f937 100644 --- a/tests/countries/test_american_samoa.py +++ b/tests/countries/test_american_samoa.py @@ -11,7 +11,7 @@ from datetime import date -from holidays.constants import DEC +from holidays.calendars.gregorian import DEC from holidays.countries.american_samoa import HolidaysAS, AS, ASM from tests.common import TestCase diff --git a/tests/countries/test_guam.py b/tests/countries/test_guam.py index 67d6f7474..420255891 100644 --- a/tests/countries/test_guam.py +++ b/tests/countries/test_guam.py @@ -11,7 +11,7 @@ from datetime import date -from holidays.constants import MAR +from holidays.calendars.gregorian import MAR from holidays.countries.guam import HolidaysGU, GU, GUM from tests.common import TestCase diff --git a/tests/countries/test_malaysia.py b/tests/countries/test_malaysia.py index f2b47e7d9..9ff21b773 100644 --- a/tests/countries/test_malaysia.py +++ b/tests/countries/test_malaysia.py @@ -11,7 +11,7 @@ from datetime import date -from holidays.constants import APR, AUG, DEC, FEB, JAN, JUL, JUN, MAR, MAY, NOV, OCT, SEP +from holidays.calendars.gregorian import APR, AUG, DEC, FEB, JAN, JUL, JUN, MAR, MAY, NOV, OCT, SEP from holidays.countries.malaysia import Malaysia, MY, MYS from tests.common import TestCase diff --git a/tests/countries/test_marshall_islands.py b/tests/countries/test_marshall_islands.py index b22e720c6..bf42a2249 100644 --- a/tests/countries/test_marshall_islands.py +++ b/tests/countries/test_marshall_islands.py @@ -12,7 +12,7 @@ import warnings from datetime import date -from holidays.constants import JAN, MAR, APR, MAY, JUL, SEP, NOV, DEC +from holidays.calendars.gregorian import JAN, MAR, APR, MAY, JUL, SEP, NOV, DEC from holidays.countries.marshall_islands import HolidaysMH, MH, MHL from tests.common import TestCase diff --git a/tests/countries/test_northern_mariana_islands.py b/tests/countries/test_northern_mariana_islands.py index 9589390aa..c5f9b7b64 100644 --- a/tests/countries/test_northern_mariana_islands.py +++ b/tests/countries/test_northern_mariana_islands.py @@ -11,7 +11,7 @@ from datetime import date -from holidays.constants import MAR +from holidays.calendars.gregorian import MAR from holidays.countries.northern_mariana_islands import HolidaysMP, MP, MNP from tests.common import TestCase diff --git a/tests/countries/test_puerto_rico.py b/tests/countries/test_puerto_rico.py index 909e2cf71..d170d7158 100644 --- a/tests/countries/test_puerto_rico.py +++ b/tests/countries/test_puerto_rico.py @@ -11,7 +11,7 @@ from datetime import date -from holidays.constants import NOV +from holidays.calendars.gregorian import NOV from holidays.countries.puerto_rico import HolidaysPR, PR, PRI from tests.common import TestCase diff --git a/tests/countries/test_spain.py b/tests/countries/test_spain.py index 2dcf1573e..e95cfc3e2 100644 --- a/tests/countries/test_spain.py +++ b/tests/countries/test_spain.py @@ -11,7 +11,7 @@ from datetime import date -from holidays.constants import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, DEC +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, DEC from holidays.countries.spain import Spain, ES, ESP from tests.common import TestCase diff --git a/tests/countries/test_united_states_virgin_islands.py b/tests/countries/test_united_states_virgin_islands.py index 6cf463acd..c1d3393eb 100644 --- a/tests/countries/test_united_states_virgin_islands.py +++ b/tests/countries/test_united_states_virgin_islands.py @@ -11,7 +11,7 @@ from datetime import date -from holidays.constants import MAR +from holidays.calendars.gregorian import MAR from holidays.countries.united_states_virgin_islands import HolidaysVI, VI, VIR from tests.common import TestCase diff --git a/tests/financial/test_ny_stock_exchange.py b/tests/financial/test_ny_stock_exchange.py index 8e66e030b..8014c5924 100644 --- a/tests/financial/test_ny_stock_exchange.py +++ b/tests/financial/test_ny_stock_exchange.py @@ -12,7 +12,7 @@ from datetime import date from datetime import timedelta as td -from holidays.constants import ( +from holidays.calendars.gregorian import ( JAN, FEB, MAR, diff --git a/tests/test_calendars.py b/tests/test_calendars.py index 759746f67..69f1d244d 100644 --- a/tests/test_calendars.py +++ b/tests/test_calendars.py @@ -13,8 +13,8 @@ from datetime import date from holidays import calendars -from holidays.calendars import KHMER_CALENDAR -from holidays.constants import FEB, MAR, MAY, JUN, JUL, AUG, SEP, OCT, NOV +from holidays.calendars.gregorian import FEB, MAR, MAY, JUN, JUL, AUG, SEP, OCT, NOV +from holidays.calendars.thai import KHMER_CALENDAR class TestThaiLunisolarCalendar(unittest.TestCase): diff --git a/tests/test_holiday_base.py b/tests/test_holiday_base.py index aa6ebdb4a..23a722433 100644 --- a/tests/test_holiday_base.py +++ b/tests/test_holiday_base.py @@ -20,7 +20,8 @@ from dateutil.relativedelta import relativedelta as rd import holidays -from holidays.constants import JAN, FEB, OCT, MON, TUE, SAT, SUN, HOLIDAY_NAME_DELIMITER +from holidays.calendars.gregorian import JAN, FEB, OCT, MON, TUE, SAT, SUN +from holidays.constants import HOLIDAY_NAME_DELIMITER class TestBasics(unittest.TestCase):