docs: public static DiscountCurveInterpolation createDiscountCurveFromDiscountFactors(
  			String name, LocalDate referenceDate,
  			double[] times, double[] givenDiscountFactors, boolean[] isParameter,
  			InterpolationMethod interpolationMethod, ExtrapolationMethod extrapolationMethod, InterpolationEntity interpolationEntity) {
  
  		DiscountCurveInterpolation discountFactors = new DiscountCurveInterpolation(name, referenceDate, interpolationMethod, extrapolationMethod, interpolationEntity);
  
  		for(int timeIndex=0; timeIndex<times.length;timeIndex++) {
  			discountFactors.addDiscountFactor(times[timeIndex], givenDiscountFactors[timeIndex], isParameter != null && isParameter[timeIndex]);
  		}
  
  		return discountFactors;
  	}