/src/main/java/net/finmath/marketdata2/model/curves/DiscountCurveInterpolation.java
return createDiscountCurveFromZeroRates ( name, referenceDate.toInstant ( ) .atZone ( ZoneId.systemDefault ( ) ) .toLocalDate ( ) , times, givenZeroRates, isParameter, interpolationMethod, extrapolationMethod, interpolationEntity ) ;
return createDiscountCurveFromDiscountFactors(name, referenceDate, times, givenDiscountFactors, isParameter, interpolationMethod, extrapolationMethod, interpolationEntity); } public static DiscountCurveInterpolation createDiscountCurveFromZeroRates( final String name, final Date referenceDate, final double[] times, final RandomVariable[] givenZeroRates, final boolean[] isParameter, final InterpolationMethod interpolationMethod, final ExtrapolationMethod extrapolationMethod, final InterpolationEntity interpolationEntity) { <extra_id_0> } public static DiscountCurveInterpolation createDiscountCurveFromZeroRates( final String name, final LocalDate referenceDate, final double[] times, final RandomVariable[] givenZeroRates, final InterpolationMethod interpolationMethod, final ExtrapolationMethod extrapolationMethod, final InterpolationEntity interpolationEntity) { final RandomVariable[] givenDiscountFactors = new RandomVariable[givenZeroRates.length];