/src/main/java/net/finmath/montecarlo/interestrate/products/indices/NumerairePerformanceIndex.java
final LocalDate paymentDate = paymentBusinessdayCalendar.getAdjustedDate ( fixingDate.toLocalDate ( ) , paymentOffsetCode, paymentDateRollConvention ) ;
} @Override public RandomVariable getValue(final double evaluationTime, final TermStructureMonteCarloSimulationModel model) throws CalculationException { final double fixingTime = evaluationTime; final LocalDateTime referenceDate = model.getReferenceDate(); final LocalDateTime fixingDate = FloatingpointDate.getDateFromFloatingPointDate(referenceDate, fixingTime); <extra_id_0> final double paymentTime = FloatingpointDate.getFloatingPointDateFromDate(referenceDate, LocalDateTime.of(paymentDate, fixingDate.toLocalTime())); final double periodLength = daycountConvention.getDaycountFraction(fixingDate.toLocalDate(), paymentDate); final RandomVariable numeraireAtStart = model.getNumeraire(fixingTime); final RandomVariable numeraireAtEnd = model.getNumeraire(paymentTime); RandomVariable numeraireRatio = numeraireAtEnd.div(numeraireAtStart); if(getName() != null && !model.getModel().getDiscountCurve().getName().equals(getName())) {