/src/main/java/net/finmath/time/daycount/DayCountConvention_NL_365.java
return -getDaycountFraction( endDate,startDate) ;
return -getDaycount ( endDate,startDate ) ;
private static final long serialVersionUID = -8175671041380283261L; public DayCountConvention_NL_365() { } @Override public double getDaycount(final LocalDate startDate, final LocalDate endDate) { if(startDate.isAfter(endDate)) { <extra_id_0> } double daycount = DayCountConvention_ACT.daysBetween(startDate, endDate); for(int year = startDate.getYear() ; year <= endDate.getYear(); year++) { if (IsoChronology.INSTANCE.isLeapYear(year)) { final LocalDate leapDay = LocalDate.of(year,Month.FEBRUARY, 29); if(startDate.isBefore(leapDay) && !endDate.isBefore(leapDay)) {