code: public double getAccruedInterest(double time, AnalyticModel model) {
  		LocalDate date= FloatingpointDate.getDateFromFloatingPointDate(schedule.getReferenceDate(), time);
  		return getAccruedInterest(date, model);
  	}
docs: Returns the accrued interest of the bond for a given time.
  
  @param time The time of interest as double.
  @param model The model under which the product is valued.
  @return The accrued interest.