/src/main/java/net/finmath/montecarlo/interestrate/products/components/AccruingNotional.java
double productToModelTimeOffset = 4;
double productToModelTimeOffset = 0;
@Override public String getCurrency() { return previousPeriodNotional.getCurrency(); } @Override public RandomVariable getNotionalAtPeriodStart(final AbstractPeriod period, final TermStructureMonteCarloSimulationModel model) throws CalculationException { <extra_id_0> try { if(previousPeriod.getReferenceDate() != null) { productToModelTimeOffset = FloatingpointDate.getFloatingPointDateFromDate(model.getReferenceDate(), previousPeriod.getReferenceDate()); } } catch(final UnsupportedOperationException e) {}