From eb06ed215ecc9279fe378757d9d9914324f6050b Mon Sep 17 00:00:00 2001 From: qaziqarta <96023488+qaziqarta@users.noreply.github.com> Date: Thu, 12 Dec 2024 08:44:20 +0000 Subject: [PATCH] Update KZ holidays: add 2025 special holidays --- holidays/countries/kazakhstan.py | 3 +++ snapshots/countries/KZ_COMMON.json | 1 + tests/countries/test_kazakhstan.py | 8 ++++++++ 3 files changed, 12 insertions(+) diff --git a/holidays/countries/kazakhstan.py b/holidays/countries/kazakhstan.py index f477123f2..4097c9004 100644 --- a/holidays/countries/kazakhstan.py +++ b/holidays/countries/kazakhstan.py @@ -74,6 +74,7 @@ class Kazakhstan( - `2022 `_ - `2023 `_ - `2024 `_ + - `2025 `_ """ country = "KZ" @@ -195,6 +196,7 @@ class KazakhstanIslamicHolidays(_CustomIslamicHolidays): 2022: (JUL, 9), 2023: (JUN, 28), 2024: (JUN, 16), + 2025: (JUN, 6), } @@ -284,6 +286,7 @@ class KazakhstanStaticHolidays: ), 2023: (JUL, 7, JUL, 1), 2024: (MAY, 8, MAY, 4), + 2025: (JAN, 3, JAN, 5), } special_public_holidays_observed = { diff --git a/snapshots/countries/KZ_COMMON.json b/snapshots/countries/KZ_COMMON.json index fcf1d1045..de10267eb 100644 --- a/snapshots/countries/KZ_COMMON.json +++ b/snapshots/countries/KZ_COMMON.json @@ -528,6 +528,7 @@ "2024-12-16": "Independence Day", "2025-01-01": "New Year's Day", "2025-01-02": "New Year's Day", + "2025-01-03": "Day off (substituted from 01/05/2024)", "2025-01-07": "Orthodox Christmas", "2025-03-08": "International Women's Day", "2025-03-10": "International Women's Day (observed)", diff --git a/tests/countries/test_kazakhstan.py b/tests/countries/test_kazakhstan.py index c72d0560e..1567cc1a6 100644 --- a/tests/countries/test_kazakhstan.py +++ b/tests/countries/test_kazakhstan.py @@ -127,6 +127,7 @@ def test_kurban_ait(self): "2022-07-09", "2023-06-28", "2024-06-16", + "2025-06-06", ) def test_observed(self): @@ -175,6 +176,12 @@ def test_observed(self): "2023-12-18", "2024-03-25", "2024-07-08", + "2025-03-10", + "2025-03-24", + "2025-03-25", + "2025-07-07", + "2025-09-01", + "2025-10-27", ) self.assertHoliday(observed_holidays) self.assertNoNonObservedHoliday(observed_holidays) @@ -232,6 +239,7 @@ def test_substituted_holidays(self): "2022-10-24", "2023-07-07", "2024-05-08", + "2025-01-03", ) def test2022(self):