diff --git a/ql/time/calendars/southafrica.cpp b/ql/time/calendars/southafrica.cpp index 4486a6377a6..c3764f7a261 100644 --- a/ql/time/calendars/southafrica.cpp +++ b/ql/time/calendars/southafrica.cpp @@ -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; diff --git a/ql/time/calendars/southafrica.hpp b/ql/time/calendars/southafrica.hpp index 254bb3f6577..d3b801b8108 100644 --- a/ql/time/calendars/southafrica.hpp +++ b/ql/time/calendars/southafrica.hpp @@ -50,6 +50,9 @@ namespace QuantLib {
  • Election Days
  • + Note that there are some one-off holidays not listed above. + See the implementation for the complete list. + \ingroup calendars */ class SouthAfrica : public Calendar {