Skip to content

Commit

Permalink
Merge pull request #1118.
Browse files Browse the repository at this point in the history
Christmas Eve as settlement holiday for Norway
  • Loading branch information
lballabio committed Jun 18, 2021
2 parents 956d572 + 46b4ac1 commit b641a12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ql/time/calendars/norway.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ namespace QuantLib {
// May Day
|| (d == 1 && m == May)
// National Independence Day
|| (d == 17 && m == May)
|| (d == 17 && m == May)
// Christmas Eve
|| (d == 24 && m == December && y >= 2002)
// Christmas
|| (d == 25 && m == December)
// Boxing Day
Expand Down
3 changes: 2 additions & 1 deletion ql/time/calendars/norway.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ namespace QuantLib {
<li>Whit(Pentecost) Monday </li>
<li>New Year's Day, January 1st</li>
<li>May Day, May 1st</li>
<li>National Independence Day, May 17st</li>
<li>National Independence Day, May 17th</li>
<li>Christmas Eve, December 24th</li>
<li>Christmas, December 25th</li>
<li>Boxing Day, December 26th</li>
</ul>
Expand Down

0 comments on commit b641a12

Please sign in to comment.