/src/main/java/net/finmath/montecarlo/interestrate/products/indices/TimeDiscreteEndOfMonthIndex.java
final LocalDate evaluationDate = FloatingpointDate.getFloatingPointDateFromDate( endDate , evaluationDate) ;
final LocalDate evaluationDate = FloatingpointDate.getDateFromFloatingPointDate ( referenceDate, evaluationTime ) ;
this.baseIndex = baseIndex; this.fixingOffsetMonths = fixingOffsetMonths; } @Override public RandomVariable getValue(final double evaluationTime, final TermStructureMonteCarloSimulationModel model) throws CalculationException { final LocalDate referenceDate = model.getModel().getForwardRateCurve().getReferenceDate(); <extra_id_0> LocalDate endDate = evaluationDate.withDayOfMonth(1).plusMonths(fixingOffsetMonths); endDate = endDate.withDayOfMonth(endDate.lengthOfMonth()); final double time = FloatingpointDate.getFloatingPointDateFromDate(referenceDate, endDate); return baseIndex.getValue(time, model); } @Override