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 President Carter's funeral on 2025-Jan-09 #2127

Merged
merged 2 commits into from
Jan 2, 2025
Merged
Changes from all commits
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
7 changes: 5 additions & 2 deletions ql/time/calendars/unitedstates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
Copyright (C) 2017 Peter Caspers
Copyright (C) 2017 Oleg Kulkov
Copyright (C) 2023 Skandinaviska Enskilda Banken AB (publ)
Copyright (C) 2024 Dirk Eddelbuettel

This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
Expand Down Expand Up @@ -219,8 +220,10 @@ namespace QuantLib {
return false;

// Special closings
if (// President Bush's Funeral
(y == 2018 && m == December && d == 5)
if (// President Carter's Funeral
(y == 2025 && m == January && d == 9)
// President Bush's Funeral
|| (y == 2018 && m == December && d == 5)
// Hurricane Sandy
|| (y == 2012 && m == October && (d == 29 || d == 30))
// President Ford's funeral
Expand Down
Loading