diff --git a/exchange_calendars/exchange_calendar_xtae.py b/exchange_calendars/exchange_calendar_xtae.py index 67814f53..51ee2405 100644 --- a/exchange_calendars/exchange_calendar_xtae.py +++ b/exchange_calendars/exchange_calendar_xtae.py @@ -34,6 +34,8 @@ SukkothInterimDay1, SukkothInterimDay2, SukkothInterimDay3, + SukkothInterimDay4, + SukkothInterimDay5, Passover2Eve, PassoverEve, Pentecost, @@ -160,6 +162,8 @@ def special_closes(self): SukkothInterimDay1, SukkothInterimDay2, SukkothInterimDay3, + SukkothInterimDay4, + SukkothInterimDay5, ] ), ), diff --git a/exchange_calendars/tase_holidays.py b/exchange_calendars/tase_holidays.py index e1c19383..998c726d 100644 --- a/exchange_calendars/tase_holidays.py +++ b/exchange_calendars/tase_holidays.py @@ -376,6 +376,20 @@ def holiday(self): offset=[_Sukkoth(), Day(3)], days_of_week=(0, 1, 2, 3, 6) ) +SukkothInterimDay4 = Holiday( + "Sukkoth Interim Day", + month=1, + day=1, + offset=[_Sukkoth(), Day(4)], + days_of_week=(0, 1, 2, 3, 6) +) +SukkothInterimDay5 = Holiday( + "Sukkoth Interim Day", + month=1, + day=1, + offset=[_Sukkoth(), Day(5)], + days_of_week=(0, 1, 2, 3, 6) +) # Passover interim days are the days between beginning and end of passover. Any otherwise regular business day in that # period becomes an early close day. diff --git a/tests/resources/xtae.csv b/tests/resources/xtae.csv index debafa53..c3c0fd96 100644 --- a/tests/resources/xtae.csv +++ b/tests/resources/xtae.csv @@ -430,8 +430,8 @@ 2020-10-04T00:00:00Z,2020-10-04T06:59:00Z,2020-10-04T11:15:00Z,, 2020-10-05T00:00:00Z,2020-10-05T06:59:00Z,2020-10-05T11:15:00Z,, 2020-10-06T00:00:00Z,2020-10-06T06:59:00Z,2020-10-06T11:15:00Z,, -2020-10-07T00:00:00Z,2020-10-07T06:59:00Z,2020-10-07T14:15:00Z,, -2020-10-08T00:00:00Z,2020-10-08T06:59:00Z,2020-10-08T14:15:00Z,, +2020-10-07T00:00:00Z,2020-10-07T06:59:00Z,2020-10-07T11:15:00Z,, +2020-10-08T00:00:00Z,2020-10-08T06:59:00Z,2020-10-08T11:15:00Z,, 2020-10-11T00:00:00Z,2020-10-11T06:59:00Z,2020-10-11T12:40:00Z,, 2020-10-12T00:00:00Z,2020-10-12T06:59:00Z,2020-10-12T14:15:00Z,, 2020-10-13T00:00:00Z,2020-10-13T06:59:00Z,2020-10-13T14:15:00Z,, @@ -668,7 +668,7 @@ 2021-09-19T00:00:00Z,2021-09-19T06:59:00Z,2021-09-19T12:40:00Z,, 2021-09-22T00:00:00Z,2021-09-22T06:59:00Z,2021-09-22T11:15:00Z,, 2021-09-23T00:00:00Z,2021-09-23T06:59:00Z,2021-09-23T11:15:00Z,, -2021-09-26T00:00:00Z,2021-09-26T06:59:00Z,2021-09-26T12:40:00Z,, +2021-09-26T00:00:00Z,2021-09-26T06:59:00Z,2021-09-26T11:15:00Z,, 2021-09-29T00:00:00Z,2021-09-29T06:59:00Z,2021-09-29T14:15:00Z,, 2021-09-30T00:00:00Z,2021-09-30T06:59:00Z,2021-09-30T14:15:00Z,, 2021-10-03T00:00:00Z,2021-10-03T06:59:00Z,2021-10-03T12:40:00Z,, @@ -1166,8 +1166,8 @@ 2023-10-01T00:00:00Z,2023-10-01T06:59:00Z,2023-10-01T11:15:00Z,, 2023-10-02T00:00:00Z,2023-10-02T06:59:00Z,2023-10-02T11:15:00Z,, 2023-10-03T00:00:00Z,2023-10-03T06:59:00Z,2023-10-03T11:15:00Z,, -2023-10-04T00:00:00Z,2023-10-04T06:59:00Z,2023-10-04T14:15:00Z,, -2023-10-05T00:00:00Z,2023-10-05T06:59:00Z,2023-10-05T14:15:00Z,, +2023-10-04T00:00:00Z,2023-10-04T06:59:00Z,2023-10-04T11:15:00Z,, +2023-10-05T00:00:00Z,2023-10-05T06:59:00Z,2023-10-05T11:15:00Z,, 2023-10-08T00:00:00Z,2023-10-08T06:59:00Z,2023-10-08T12:40:00Z,, 2023-10-09T00:00:00Z,2023-10-09T06:59:00Z,2023-10-09T14:15:00Z,, 2023-10-10T00:00:00Z,2023-10-10T06:59:00Z,2023-10-10T14:15:00Z,,