/src/main/java/net/finmath/time/daycount/DayCountConvention_ACT_365A.java
if ( ( startDate.isBefore( leapDayEnd) ) && ( !( endDate.isBefore( leapDayEnd) ) ) ) {   daysPerYear = 366.0; }
[Delete]
if(startDate.isAfter(endDate)) { return -getDaycountFraction(endDate,startDate); } double daysPerYear = 365.0; if (startDate.isLeapYear()) { final LocalDate leapDayStart = LocalDate.of(startDate.getYear(), Month.FEBRUARY, 29); <extra_id_0> daysPerYear = 366.0; } } if (endDate.isLeapYear()){ final LocalDate leapDayEnd = LocalDate.of(endDate.getYear(), Month.FEBRUARY, 29); if(startDate.isBefore(leapDayEnd) && !endDate.isBefore(leapDayEnd)) {