/src/main/java/net/finmath/time/daycount/DayCountConvention_ACT_ACT_ISDA.java
startDateNextYear = startDateNextYear.minusDays( 1) ;endDateStartYear = endDateStartYear.minusDays( 1) ;
endDateStartYear = endDateStartYear.minusDays ( 1 ) ;
if(isCountLastDayNotFirst) { startDateNextYear = startDateNextYear.minusDays(1); } daycountFraction += getDaycount(startDate, startDateNextYear) / startDate.lengthOfYear(); LocalDate endDateStartYear = LocalDate.of(endDate.getYear(), Month.JANUARY, 1); if (isCountLastDayNotFirst) { <extra_id_0> } daycountFraction += getDaycount(endDateStartYear, endDate) / endDate.lengthOfYear(); return Math.max(daycountFraction,0.0); } @Override public String toString() {