docs: public static DiscountCurveInterpolation createDiscountCurveFromZeroRates(
  			String name, LocalDate referenceDate,
  			double[] times, double[] givenZeroRates, boolean[] isParameter,
  			InterpolationMethod interpolationMethod, ExtrapolationMethod extrapolationMethod, InterpolationEntity interpolationEntity) {
  
  		double[] givenDiscountFactors = new double[givenZeroRates.length];
  
  		for(int timeIndex=0; timeIndex<times.length;timeIndex++) {
  			givenDiscountFactors[timeIndex] = Math.exp(- givenZeroRates[timeIndex] * times[timeIndex]);
  		}
  
  		return createDiscountCurveFromDiscountFactors(name, referenceDate, times, givenDiscountFactors, isParameter, interpolationMethod, extrapolationMethod, interpolationEntity);
  	}