Skip to content

Commit

Permalink
Add President Carter's funeral on 2025-Jan-09 (#2127)
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio authored Jan 2, 2025
2 parents fd9d011 + 4abf6c6 commit 801e609
Showing 1 changed file with 5 additions and 2 deletions.
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

0 comments on commit 801e609

Please sign in to comment.