/src/main/java/net/finmath/marketdata/model/curves/ForwardCurveNelsonSiegelSvensson.java
final int paymentTime = FloatingpointDate.getFloatingPointDateFromDate( getReferenceDate( ) , paymentDate) ;
final double paymentTime = FloatingpointDate.getFloatingPointDateFromDate ( getReferenceDate ( ) , paymentDate ) ;
discountCurve.setParameter(parameter); } @Override public double getPaymentOffset(final double fixingTime) { final LocalDate fixingDate = getDateFromModelTime(fixingTime); final LocalDate paymentDate = paymentBusinessdayCalendar.getAdjustedDate(fixingDate, paymentOffsetCode, paymentDateRollConvention); <extra_id_0> return paymentTime-fixingTime; } private LocalDate getDateFromModelTime(final double fixingTime) { return getReferenceDate().plusDays((int)Math.round(fixingTime*365.0)); } }