Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow holiday data to override weekends (#1958)
* adding exclude section in holiday data ini file to handle shifted weekends * Update holiday calendar change to be working days Fix combined() to retain new information
- Loading branch information
1 parent
db32975
commit a0c762a
Showing
6 changed files
with
201 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...st/resources/META-INF/com/opengamma/strata/config/base/HolidayCalendarDataWorkingDays.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[TEST-WORKINGDAYS] | ||
Weekend = Sat,Sun | ||
2015-01-01 | ||
2015-01-06 | ||
2015-04-05 | ||
2015-04-06 | ||
2015-05-01 | ||
2015-05-03 | ||
2015-05-24 | ||
2015-06-04 | ||
2015-08-15 | ||
2015-11-01 | ||
2015-11-11 | ||
2015-12-25 | ||
2015-12-26 | ||
2016-01-01 | ||
2016-01-06 | ||
2016-03-27 | ||
2016-03-28 | ||
2016-05-01 | ||
2016-05-03 | ||
2016-05-15 | ||
2016-05-26 | ||
2016-08-15 | ||
2016-11-01 | ||
2016-11-11 | ||
2016-12-25 | ||
2016-12-26 | ||
WorkingDays = 2016-01-02,2016-01-03 |