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