code: public ApiClient setDateFormat(DateFormat dateFormat) {
      this.dateFormat = dateFormat;
      // also set the date format for model (de)serialization with Date properties
      this.mapper.setDateFormat((DateFormat) dateFormat.clone());
      return this;
    }
docs: Set the date format used to parse/format date parameters.