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