Skip to content

Commit

Permalink
Add Jimmy Carter Day of Mourning
Browse files Browse the repository at this point in the history
  • Loading branch information
w3stling authored and gerrymanoim committed Jan 3, 2025
1 parent 82eb29c commit 434f5c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
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
# 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

0 comments on commit 434f5c1

Please sign in to comment.