Skip to content

Commit

Permalink
Add 2023-12-15 as South African public holiday (#1819)
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio authored Nov 3, 2023
2 parents 428bdd4 + 3a4285e commit 62c0f14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ql/time/calendars/southafrica.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ namespace QuantLib {
|| (d == 1 && m == November && y == 2021)
// one-shot: In lieu of Christmas falling on Sunday in 2022
|| (d == 27 && m == December && y == 2022)
// one-shot: Special holiday to celebrate winning of Rugby World Cup 2023
|| (d == 15 && m == December && y == 2023)
)
return false; // NOLINT(readability-simplify-boolean-expr)
return true;
Expand Down

0 comments on commit 62c0f14

Please sign in to comment.