/src/main/java/net/finmath/marketdata/model/bond/Bond.java
} return getAccruedInterest( date, model) ;
return getAccruedInterest ( date, model ) ; }
final DayCountConvention dcc= schedule.getDaycountconvention(); final double accruedInterest=getCouponPayment(periodIndex,model)*(dcc.getDaycountFraction(period.getPeriodStart(), date))/schedule.getPeriodLength(periodIndex); return accruedInterest; } public double getAccruedInterest(final double time, final AnalyticModel model) { final LocalDate date= FloatingpointDate.getDateFromFloatingPointDate(schedule.getReferenceDate(), time); <extra_id_0> public Schedule getSchedule() { return schedule; } public String getDiscountCurveName() { return discountCurveName; }