Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Jimmy Carter Day of Mourning #439

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions exchange_calendars/exchange_calendar_xnys.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ class XNYSExchangeCalendar(ExchangeCalendar):
- Closed at 1:00 PM on Friday, December 31, 1999
- Closed at 1:00 PM on Friday, December 26, 1997
- Closed at 1:00 PM on Friday, December 26, 2003
- Closed on 1/9/2025 due to Jimmy Carter's death.
NOTE: The exchange was **not** closed early on Friday December 26, 2008,
nor was it closed on Friday December 26, 2014. The next Thursday Christmas
Expand Down
2 changes: 2 additions & 0 deletions exchange_calendars/us_holidays.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ def following_tuesday_every_four_years_observance(dt):
# - President Gerald R. Ford - Jan 2, 2007
# - President George H.W. Bush - Dec 5, 2018
# added Truman and Johnson to go back to 1970
# - President Jimmy Carter - Jan 5, 2025
w3stling marked this conversation as resolved.
Show resolved Hide resolved
# http://s3.amazonaws.com/armstrongeconomics-wp/2013/07/NYSE-Closings.pdf
USNationalDaysofMourning = [
Timestamp("1963-11-25"),
Expand All @@ -372,4 +373,5 @@ def following_tuesday_every_four_years_observance(dt):
Timestamp("2004-06-11"),
Timestamp("2007-01-02"),
Timestamp("2018-12-05"),
Timestamp("2025-01-09"),
]
1 change: 1 addition & 0 deletions tests/test_xnys_calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def adhoc_holidays_sample(self):
"1994-04-27", # Richard Nixon
"1973-01-25", # Lyndon B. Johnson
"1972-12-28", # Harry S. Truman
"2025-01-09", # Jimmy Carter
# National Days of Mourning
]

Expand Down
Loading