code: public static ForwardCurveInterpolation createForwardCurveFromForwards(String name, Date referenceDate, String paymentOffsetCode,
  			BusinessdayCalendar paymentBusinessdayCalendar, BusinessdayCalendar.DateRollConvention paymentDateRollConvention,
  			InterpolationMethod interpolationMethod, ExtrapolationMethod extrapolationMethod, InterpolationEntity interpolationEntity,
  			InterpolationEntityForward interpolationEntityForward, String discountCurveName, AnalyticModel model, double[] times, double[] givenForwards) {
  
  		return createForwardCurveFromForwards(name, referenceDate.toInstant().atZone(ZoneId.systemDefault()).toLocalDate(), paymentOffsetCode, paymentBusinessdayCalendar, paymentDateRollConvention, interpolationMethod, extrapolationMethod, interpolationEntity, interpolationEntityForward, discountCurveName, model, times, givenForwards);
  	}
docs: Create a forward curve from given times and given forwards.
  
  @param name The name of this curve.
  @param referenceDate The reference date for this code, i.e., the date which defines t=0.
  @param paymentOffsetCode The maturity of the index modeled by this curve.
  @param paymentBusinessdayCalendar The business day calendar used for adjusting the payment date.
  @param paymentDateRollConvention The date roll convention used for adjusting the payment date.
  @param interpolationMethod The interpolation method used for the curve.
  @param extrapolationMethod The extrapolation method used for the curve.
  @param interpolationEntity The entity interpolated/extrapolated.
  @param interpolationEntityForward Interpolation entity used for forward rate interpolation.
  @param discountCurveName The name of a discount curve associated with this index (associated with it's funding or collateralization), if any.
  @param model The model to be used to fetch the discount curve, if needed.
  @param times A vector of given time points.
  @param givenForwards A vector of given forwards (corresponding to the given time points).
  @return A new ForwardCurve object.