/src/main/java/net/finmath/time/daycount/DayCountConvention_ACT_365L.java
if ( endDate.isLeapYear ( ) ) { daysPerYear = 366.0; }
@Override public double getDaycountFraction(final LocalDate startDate, final LocalDate endDate) { if(startDate.isAfter(endDate)) { return -getDaycountFraction(endDate,startDate); } double daysPerYear = 365.0; <extra_id_0> final double daycountFraction = getDaycount(startDate, endDate) / daysPerYear; return daycountFraction; } }