@Deprecated
    public static String formatDate(final Date date) {
        return formatStandardDate(toInstant(date));
    }
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

@deprecated Use {@link #formatStandardDate(Instant)}
httpclient5/src/main/java/org/apache/hc/client5/http/utils/DateUtils.java