/src/main/java/net/finmath/time/daycount/DayCountConvention_ACT_ACT_ISDA.java
startDateNextYear = startDateNextYear.minusDays ( 1 ) ;
if(startDate.isAfter(endDate)) { return -getDaycountFraction(endDate,startDate); } double daycountFraction = endDate.getYear() - startDate.getYear() - 1.0; LocalDate startDateNextYear = LocalDate.of(startDate.getYear()+1,Month.JANUARY,1); if(isCountLastDayNotFirst) { <extra_id_0> } daycountFraction += getDaycount(startDate, startDateNextYear) / startDate.lengthOfYear(); LocalDate endDateStartYear = LocalDate.of(endDate.getYear(), Month.JANUARY, 1); if (isCountLastDayNotFirst) { endDateStartYear = endDateStartYear.minusDays(1); }