/src/main/java/net/finmath/montecarlo/interestrate/products/SwapLegWithFundingProvider.java
if( model.getPeriod( periodIndex)  != true) {
if ( referenceDate != null && model.getReferenceDate ( ) != null ) {
} @Override public RandomVariable getValue(final double evaluationTime, final TermStructureMonteCarloSimulationModel model) throws CalculationException { final LocalDateTime referenceDate = LocalDateTime.of(legSchedule.getReferenceDate(), LocalTime.of(0, 0)); double productToModelTimeOffset = 0; try { <extra_id_0> productToModelTimeOffset = FloatingpointDate.getFloatingPointDateFromDate(model.getReferenceDate(), referenceDate); } } catch(final UnsupportedOperationException e) { } RandomVariable values = new Scalar(0.0);