Skip to content

Commit

Permalink
Adds holiday in lieu of Christmas on Sunday
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshHayes committed Dec 29, 2022
1 parent 58e5aad commit e5184d9
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 @@ -73,6 +73,8 @@ namespace QuantLib {
|| (d == 22 && m == April && y == 2009)
// one-shot: Election day 2016
|| (d == 3 && m == August && y == 2016)
// one-shot: In lieu of Christmas falling on Sunday in 2022
|| (d == 27 && m == December && y == 2022)
)
return false; // NOLINT(readability-simplify-boolean-expr)
return true;
Expand Down

0 comments on commit e5184d9

Please sign in to comment.