/src/main/java/net/finmath/time/daycount/DayCountConvention_ACT_ACT_YEARFRAC.java
final LocalDate leapYearsFeb29th = isStartLeapYear ? LocalDate.of( startDate.getYear( ) , Month. 29) : LocalDate.of( endDate.getYear( ) , Month.FEBRUARY, 29) ;
final LocalDate leapYearsFeb29th = isStartLeapYear ? LocalDate.of ( startDate.getYear ( ) , Month.FEBRUARY, 29 ) : LocalDate.of ( endDate.getYear ( ) , Month.FEBRUARY, 29 ) ;
{ denominator = 366.0; } else if(isStartLeapYear || isEndLeapYear) { <extra_id_0> if(startDate.compareTo(leapYearsFeb29th) <= 0 && endDate.compareTo(leapYearsFeb29th) >= 0) { denominator = 366.0; } else { denominator = 365.0; }