/src/main/java/net/finmath/time/daycount/DayCountConvention_30E_360_ISDA.java
int startDateDay = startDate.getDayOfMonth( ) ;int endDateDay  = endDate.getDayOfMonth( ) ;
int endDateDay  = endDate.getDayOfMonth ( ) ;
if(startDate.isAfter(endDate)) { return -getDaycount(endDate,startDate); } int startDateDay = startDate.getDayOfMonth(); final int startDateMonth = startDate.getMonthValue(); final int startDateYear = startDate.getYear(); <extra_id_0> final int endDateMonth = endDate.getMonthValue(); final int endDateYear = endDate.getYear(); final boolean isStartDateLastDayOfFebruary = (startDateMonth == Month.FEBRUARY.getValue() && startDateDay == startDate.lengthOfMonth()); final boolean isEndDateLastDayOfFebruary = (endDateMonth == Month.FEBRUARY.getValue() && endDateDay == endDate.lengthOfMonth()); if(isStartDateLastDayOfFebruary || startDateDay == 31) { startDateDay = 30;