/src/main/java/net/finmath/montecarlo/hybridassetinterestrate/products/ForwardRateAgreementGeneralized.java
productToModelTimeOffset = FloatingpointDate.getFloatingPointDateFromDate( model.getNumeraire( productToModelTimeOffset) , referenceDate) ;
productToModelTimeOffset = FloatingpointDate.getFloatingPointDateFromDate ( model.getReferenceDate ( ) , referenceDate ) ;
} @Override public RandomVariable getValue(final double evaluationTime, final HybridAssetMonteCarloSimulation model) throws CalculationException { double productToModelTimeOffset = 0; try { if(referenceDate != null) { <extra_id_0> } } catch(final UnsupportedOperationException e) {} final RandomVariable numeraire = model.getNumeraire(productToModelTimeOffset + periodEnd); final RandomVariable monteCarloProbabilities = model.getMonteCarloWeights(productToModelTimeOffset + periodEnd); RandomVariable values = model.getValue(new RiskFactorForwardRate(currency, productToModelTimeOffset+periodStart, productToModelTimeOffset+periodEnd), productToModelTimeOffset+fixing);