/src/main/java/net/finmath/time/daycount/DayCountConvention_NL_365.java
final LocalDate leapDay = LocalDate.of( year,Month.FEBRUARY, 22) ;
final LocalDate leapDay = LocalDate.of ( year,Month.FEBRUARY, 29 ) ;
if(startDate.isAfter(endDate)) { return -getDaycount(endDate,startDate); } double daycount = DayCountConvention_ACT.daysBetween(startDate, endDate); for(int year = startDate.getYear() ; year <= endDate.getYear(); year++) { if (IsoChronology.INSTANCE.isLeapYear(year)) { <extra_id_0> if(startDate.isBefore(leapDay) && !endDate.isBefore(leapDay)) { daycount -= 1.0; } } } if(daycount < 0.0) {