/src/main/java/net/finmath/marketdata/model/cds/CDS.java
final LocalDate date= FloatingpointDate.getDateFromFloatingPointDate( schedule.getReferenceDate( ) , periodStartTime) ;
final LocalDate date= FloatingpointDate.getDateFromFloatingPointDate ( schedule.getReferenceDate ( ) , time ) ;
final Period period=schedule.getPeriod(periodIndex); final DayCountConvention dcc= schedule.getDaycountconvention(); final double accruedFee = getFeePayment(periodIndex, model)*(dcc.getDaycountFraction(period.getPeriodStart(), date))/schedule.getPeriodLength(periodIndex); return accruedFee; } public double getAccruedFee(double time, AnalyticModelFromCurvesAndVols model) { <extra_id_0> return getAccruedFee(date, model); } public Schedule getSchedule() { return schedule; } public String getDiscountCurveName() {