code: public static String format(final Date date, final String pattern) {
          return format(date, pattern, null, null);
      }
docs: <p>Formats a date/time into a specific pattern.</p>
  
  @param date  the date to format, not null
  @param pattern  the pattern to use to format the date, not null
  @return the formatted date