@Deprecated
    public static Date parseDate(final MessageHeaders headers, final String headerName) {
        return toDate(parseStandardDate(headers, headerName));
    }
Parses a date value from a header with the given name.

@param headers message headers
@param headerName header name

@return the parsed date or null if input could not be parsed

@since 5.0

@deprecated Use {@link #parseStandardDate(MessageHeaders, String)}
httpclient5/src/main/java/org/apache/hc/client5/http/utils/DateUtils.java