code: public String format(TemporalAccessor temporal) {
          StringBuilder buf = new StringBuilder(32);
          formatTo(temporal, buf);
          return buf.toString();
      }
docs: Formats a date-time object using this formatter.
  <p>
  This formats the date-time to a String using the rules of the formatter.
  
  @param temporal  the temporal object to format, not null
  @return the formatted string, not null
  @throws DateTimeException if an error occurs during formatting