From e3fa924d17ee7e9268b31607cd850295b49da60e Mon Sep 17 00:00:00 2001 From: Giuseppe Li Date: Fri, 15 Dec 2023 16:51:58 +0000 Subject: [PATCH] Additional tests for XTKS 2024 --- tests/resources/xtks.csv | 22 ++++++++++++++++++++++ tests/test_xtks_calendar.py | 26 ++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/tests/resources/xtks.csv b/tests/resources/xtks.csv index ead92867..5fc63bd6 100644 --- a/tests/resources/xtks.csv +++ b/tests/resources/xtks.csv @@ -6105,3 +6105,25 @@ 2024-11-26T00:00:00Z,2024-11-26T00:00:00Z,2024-11-26T06:00:00Z,2024-11-26T02:30:00Z,2024-11-26T03:30:00Z 2024-11-27T00:00:00Z,2024-11-27T00:00:00Z,2024-11-27T06:00:00Z,2024-11-27T02:30:00Z,2024-11-27T03:30:00Z 2024-11-28T00:00:00Z,2024-11-28T00:00:00Z,2024-11-28T06:00:00Z,2024-11-28T02:30:00Z,2024-11-28T03:30:00Z +2024-11-29T00:00:00Z,2024-11-29T00:00:00Z,2024-11-29T06:00:00Z,2024-11-29T02:30:00Z,2024-11-29T03:30:00Z +2024-12-02T00:00:00Z,2024-12-02T00:00:00Z,2024-12-02T06:00:00Z,2024-12-02T02:30:00Z,2024-12-02T03:30:00Z +2024-12-03T00:00:00Z,2024-12-03T00:00:00Z,2024-12-03T06:00:00Z,2024-12-03T02:30:00Z,2024-12-03T03:30:00Z +2024-12-04T00:00:00Z,2024-12-04T00:00:00Z,2024-12-04T06:00:00Z,2024-12-04T02:30:00Z,2024-12-04T03:30:00Z +2024-12-05T00:00:00Z,2024-12-05T00:00:00Z,2024-12-05T06:00:00Z,2024-12-05T02:30:00Z,2024-12-05T03:30:00Z +2024-12-06T00:00:00Z,2024-12-06T00:00:00Z,2024-12-06T06:00:00Z,2024-12-06T02:30:00Z,2024-12-06T03:30:00Z +2024-12-09T00:00:00Z,2024-12-09T00:00:00Z,2024-12-09T06:00:00Z,2024-12-09T02:30:00Z,2024-12-09T03:30:00Z +2024-12-10T00:00:00Z,2024-12-10T00:00:00Z,2024-12-10T06:00:00Z,2024-12-10T02:30:00Z,2024-12-10T03:30:00Z +2024-12-11T00:00:00Z,2024-12-11T00:00:00Z,2024-12-11T06:00:00Z,2024-12-11T02:30:00Z,2024-12-11T03:30:00Z +2024-12-12T00:00:00Z,2024-12-12T00:00:00Z,2024-12-12T06:00:00Z,2024-12-12T02:30:00Z,2024-12-12T03:30:00Z +2024-12-13T00:00:00Z,2024-12-13T00:00:00Z,2024-12-13T06:00:00Z,2024-12-13T02:30:00Z,2024-12-13T03:30:00Z +2024-12-16T00:00:00Z,2024-12-16T00:00:00Z,2024-12-16T06:00:00Z,2024-12-16T02:30:00Z,2024-12-16T03:30:00Z +2024-12-17T00:00:00Z,2024-12-17T00:00:00Z,2024-12-17T06:00:00Z,2024-12-17T02:30:00Z,2024-12-17T03:30:00Z +2024-12-18T00:00:00Z,2024-12-18T00:00:00Z,2024-12-18T06:00:00Z,2024-12-18T02:30:00Z,2024-12-18T03:30:00Z +2024-12-19T00:00:00Z,2024-12-19T00:00:00Z,2024-12-19T06:00:00Z,2024-12-19T02:30:00Z,2024-12-19T03:30:00Z +2024-12-20T00:00:00Z,2024-12-20T00:00:00Z,2024-12-20T06:00:00Z,2024-12-20T02:30:00Z,2024-12-20T03:30:00Z +2024-12-23T00:00:00Z,2024-12-23T00:00:00Z,2024-12-23T06:00:00Z,2024-12-23T02:30:00Z,2024-12-23T03:30:00Z +2024-12-24T00:00:00Z,2024-12-24T00:00:00Z,2024-12-24T06:00:00Z,2024-12-24T02:30:00Z,2024-12-24T03:30:00Z +2024-12-25T00:00:00Z,2024-12-25T00:00:00Z,2024-12-25T06:00:00Z,2024-12-25T02:30:00Z,2024-12-25T03:30:00Z +2024-12-26T00:00:00Z,2024-12-26T00:00:00Z,2024-12-26T06:00:00Z,2024-12-26T02:30:00Z,2024-12-26T03:30:00Z +2024-12-27T00:00:00Z,2024-12-27T00:00:00Z,2024-12-27T06:00:00Z,2024-12-27T02:30:00Z,2024-12-27T03:30:00Z +2024-12-30T00:00:00Z,2024-12-30T00:00:00Z,2024-12-30T06:00:00Z,2024-12-30T02:30:00Z,2024-12-30T03:30:00Z diff --git a/tests/test_xtks_calendar.py b/tests/test_xtks_calendar.py index 1154844e..f13c26d7 100644 --- a/tests/test_xtks_calendar.py +++ b/tests/test_xtks_calendar.py @@ -201,6 +201,32 @@ def regular_holidays_sample(self, silver_week_holidays, golden_week_holidays): "2023-11-03", # Culture Day "2023-11-23", # Labor Thanksgiving Day "2023-12-31", # Market Holiday + # + # 2024 + "2024-01-01", # New Year's Day + "2024-01-02", # Market Holiday + "2024-01-03", # Market Holiday + "2024-01-08", # Coming of Age Day + "2024-02-11", # National Foundation Day + "2024-02-12", # National Foundation Day observed + "2024-02-23", # Emperor's Birthday + "2024-03-20", # Vernal Equinox + "2024-04-29", # Showa Day + "2024-05-03", # Constitution Memorial Day + "2024-05-04", # Greenery Day + "2024-05-05", # Children's Day + "2024-05-06", # Children's Day observed + "2024-07-15", # Marine Day + "2024-08-11", # Mountain Day + "2024-08-12", # Mountain Day observed + "2024-09-16", # Respect for the Aged Day + "2024-09-22", # Autumnal Equinox + "2024-09-23", # Autumnal Equinox observed + "2024-10-14", # Sports Day + "2024-11-03", # Culture Day + "2024-11-04", # Culture Day observed + "2024-11-23", # Labor Thanksgiving Day + "2024-12-31", # Market Holiday # Mountain Day 11th August, observed from 2016. "2016-08-11", "2019-08-12", # Falls on Sunday, made up on Monday.