Skip to content

Commit

Permalink
XTKS: Add 2024 Vernal and Autumnal equinoxes
Browse files Browse the repository at this point in the history
According to
https://www.jpx.co.jp/english/corporate/about-jpx/calendar/index.html,
https://www.timeanddate.com/holidays/japan/spring-equinox, and
https://www.timeanddate.com/holidays/japan/autumn-equinox,
in 2024 Vernal Equinox will happen on Mar. 20 (Wed.), and Autumnal
Equinox will happen on Sep. 22 (Sun.)., observed on Sep. 23 (Mon.)
  • Loading branch information
Quashqwart committed Nov 28, 2023
1 parent 74b3181 commit 61d847f
Show file tree
Hide file tree
Showing 2 changed files with 226 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exchange_calendars/xtks_holidays.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def sunday_to_wednesday(dt):
Timestamp("2021-03-20"),
Timestamp("2022-03-21"),
Timestamp("2023-03-21"),
Timestamp("2024-03-20"),
]

# The Golden Week holidays (late April - early May) are listed in reverse
Expand Down Expand Up @@ -263,6 +264,8 @@ def sunday_to_wednesday(dt):
Timestamp("2021-09-23"),
Timestamp("2022-09-23"),
Timestamp("2023-09-23"),
Timestamp("2024-09-22"),
Timestamp("2024-09-23"), # observed
]

# If the Autumnal Equinox falls on a Wednesday, the Tuesday before
Expand Down
Loading

0 comments on commit 61d847f

Please sign in to comment.