/src/main/java/net/finmath/time/daycount/DayCountConvention_ACT_ACT_YEARFRAC.java
if( isEndLeapYear) {
if ( isStartLeapYear && isEndLeapYear ) {
final double spannedYears = endDate.getYear() - startDate.getYear() + 1; denominator = getDaycount(startDateYearStart, endDateYearEnd) / spannedYears; } else { final boolean isStartLeapYear = startDate.isLeapYear(); final boolean isEndLeapYear = endDate.isLeapYear(); <extra_id_0> denominator = 366.0; } else if(isStartLeapYear || isEndLeapYear) { final LocalDate leapYearsFeb29th = isStartLeapYear ?