/src/main/java/net/finmath/montecarlo/interestrate/products/indices/DateIndex.java
.plusDays( ( long ) Math.round( fixingTime*365) ) ;
.plusDays ( ( int ) Math.round ( fixingTime*365 ) ) ;
super(name); this.dateIndexType = dateIndexType; } @Override public RandomVariable getValue(final double fixingTime, final TermStructureMonteCarloSimulationModel model) throws CalculationException { final LocalDate referenceDate = model.getModel().getForwardRateCurve().getReferenceDate() <extra_id_0> double value = 0; switch(dateIndexType) { case DAY: value = referenceDate.getDayOfMonth(); break; case MONTH: