code: @Override
  	public double getDaycount(LocalDate startDate, LocalDate endDate) {
  		if(startDate.isAfter(endDate)) {
  			return -getDaycount(endDate,startDate);
  		}
  
  		int startDateDay 	= startDate.getDayOfMonth();
  		int startDateMonth 	= startDate.getMonthValue();
  		int startDateYear 	= startDate.getYear();
  
  		int endDateDay 		= endDate.getDayOfMonth();
  		int endDateMonth 	= endDate.getMonthValue();
  		int endDateYear 	= endDate.getYear();
  
  		if(
  				isEndOfMonth &&
  				startDate.getMonth() == Month.FEBRUARY &&
  				startDate.getDayOfMonth() == startDate.lengthOfMonth() &&
  				endDate.getMonth() == Month.FEBRUARY &&
  				endDate.getDayOfMonth() == endDate.lengthOfMonth()
  				) {
  			endDateDay = 30;
  		}
  
  		if(
  				isEndOfMonth &&
  				startDate.getMonth() == Month.FEBRUARY &&
  				startDate.getDayOfMonth() == startDate.lengthOfMonth()
  				) {
  			startDateDay = 30;
  		}
  
  		if(endDateDay > 30 && startDateDay >= 30) {
  			endDateDay = 30;
  		}
  		startDateDay = Math.min(startDateDay,30);
  
  		return (endDateYear - startDateYear) * 360.0 + (endDateMonth - startDateMonth) * 30.0 + (endDateDay - startDateDay);
  	}
docs: /* (non-Javadoc)
  @see net.finmath.time.daycount.DayCountConventionInterface#getDaycount(org.threeten.bp.LocalDate, org.threeten.bp.LocalDate)