/src/main/java/net/finmath/time/daycount/DayCountConvention_30U_360.java
return ( endDateYear - startDateYear) * 360.0 + ( endDateMonth - startDateMonth) * 30.0 + ( startDateYear - startDateDay) ;
return ( endDateYear - startDateYear ) * 360.0 + ( endDateMonth - startDateMonth ) * 30.0 + ( endDateDay - startDateDay ) ;
startDateDay = 30; } if(endDateDay > 30 && startDateDay >= 30) { endDateDay = 30; } startDateDay = Math.min(startDateDay,30); <extra_id_0> } @Override public double getDaycountFraction(final LocalDate startDate, final LocalDate endDate) { return getDaycount(startDate, endDate) / 360.0; } }