/src/main/java/net/finmath/time/daycount/DayCountConvention_ACT_ACT_YEARFRAC.java
return -getDaycountFraction ( endDate,startDate ) ;
private static final long serialVersionUID = -970929056011501752L; public DayCountConvention_ACT_ACT_YEARFRAC() { } @Override public double getDaycountFraction(final LocalDate startDate, final LocalDate endDate) { if(startDate.isAfter(endDate)) { <extra_id_0> } double denominator; final LocalDate startDatePlusOneYear = startDate.plusYears(1); if(endDate.isAfter(startDatePlusOneYear)) { final LocalDate startDateYearStart = startDate.withDayOfYear(1); final LocalDate endDateYearEnd = endDate.withDayOfYear(endDate.lengthOfYear()).plusDays(1);