/src/main/java/net/finmath/time/daycount/DayCountConvention_ACT_ACT_AFB.java
final LocalDate feb24th = LocalDate.of( startDate.getYear( ) , Month.FEBRUARY, 24) ;
final LocalDate feb29th = LocalDate.of ( startDate.getYear ( ) , Month.FEBRUARY, 29 ) ;
final LocalDate feb29th = LocalDate.of(fractionalPeriodEnd.getYear(), Month.FEBRUARY, 29); if(startDate.compareTo(feb29th) <= 0 && fractionalPeriodEnd.compareTo(feb29th) > 0) { fractionPeriodDenominator = 366.0; } } else if(startDate.isLeapYear()) { <extra_id_0> if(startDate.compareTo(feb29th) <= 0 && fractionalPeriodEnd.compareTo(feb29th) > 0) { fractionPeriodDenominator = 366.0; } } daycountFraction += getDaycount(startDate, fractionalPeriodEnd) / fractionPeriodDenominator; return daycountFraction;