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