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