[root]/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 141 (100.0%) | 6117 (100.0%) | 43.3 |
Benoit Xhenseval | 102 (72.3%) | 3551 (58.1%) | 34.8 |
Marcin Jekot | 39 (27.7%) | 2566 (41.9%) | 65.7 |
more tests.
167 lines of code changed in:
- Added method calculateTenorDates with/without a spot lag to enable calculation of a series of Tenor dates without changing the current business date in the calculator.
- Added method moveByTenor without a spot lag to allow tenor calculation based on the CURRENT date and not the spot lag.
136 lines of code changed in:
[Bug 1575498] Suggested by Paul Hill (thanks). Introduction of HolidayCalendar as a replacement to the simplistic Set<E> for holidays (deprecated).
The HolidayCalendar contains a set of holidays but also 2 boundaries early and late which define the VALID set of holidays.
e.g. last holiday for UK in 2006 is 26 Dec 2006 but that set should be VALID until Dec 31 2006.
Re-organised code to use only immutable Holiday calendars internally.
251 lines of code changed in:
[Bug 1575498] First cut on "Valid Range Calculators". Enable registration of HolidayCalendar in the Factory.
Calculation of default early and late boundaries to be the earliest date and latest date if the calendar does not
have such information.
9 lines of code changed in:
Tenor should not be used for backward, ModifiedPreceeding mechanisms.
Also calculation of Spot should take into account the holidays between current date and the spotLag, i.e. use moveByBusinessDay.
10 lines of code changed in:
[Bug 1601542]Thanks to Anthony Whitford for spotting the spelling mistake in our enum.
92 lines of code changed in:
Added new handler type ForwardUnlessNegative: a handler that acts like a Forward handler
if the increment is positive otherwise acts like a Backward handler
394 lines of code changed in:
Add the ads...
641 lines of code changed in:
Add license header.
272 lines of code changed in:
adding keyword substitution to files
0 lines of code changed in:
removed unused import
0 lines of code changed in:
Problem with setting UTC timezone - when you get the date object from the calendar, it has the default timezone anyways
0 lines of code changed in:
new qalab.xml
0 lines of code changed in:
More JavaDoc.
3 lines of code changed in:
Added more tests for Tenor.
Some .classpath etc where referencing non-existing directories.
310 lines of code changed in:
Added more tests for the Tenor code.
Plus implementation for JODA.
There is NO implementation for JDK and yes, you need to do it, thanks! :-)
More tests to follow for backward and modified preceeding.
315 lines of code changed in:
updated licence comments
0 lines of code changed in:
renamed AbstractPeriodCountCalculator to AbstractPeriodCountCalculatorTest, and added ACT_ACT test cases based on joda implementations (they should still be checked tho?) the jdk ones fail, will look into this next
444 lines of code changed in:
Removed some tenor codes which aren't real ones..
5 lines of code changed in:
added a null ACT_ACT - failing, and modularised the code repetition stuff
23 lines of code changed in:
(23 more)