public static String formatDate(final Date date) {
        return formatDate(date, PATTERN_RFC1123);
    }
Formats the given date according to the RFC 1123 pattern.

@param date The date to format.
@return An RFC 1123 formatted date string.

@see #PATTERN_RFC1123
ngrinder-runtime/src/main/java/org/apache/hc/client5/http/utils/DateUtils.java