@Deprecated
    public static Date parseDate(
            final String dateValue,
            final String[] dateFormats,
            final Date startDate) {
        final DateTimeFormatter[] dateTimeFormatters;
        if (dateFormats != null) {
            dateTimeFormatters = new DateTimeFormatter[dateFormats.length];
            for (int i = 0; i < dateFormats.length; i++) {
                dateTimeFormatters[i] = new DateTimeFormatterBuilder()
                        .parseLenient()
                        .parseCaseInsensitive()
                        .appendPattern(dateFormats[i])
                        .toFormatter();
            }
        } else {
            dateTimeFormatters = STANDARD_PATTERNS;
        }
        return toDate(parseDate(dateValue, dateTimeFormatters));
    }
Parses the date value using the given date/time formats.

@param dateValue the date value to parse
@param dateFormats the date/time formats to use
@param startDate During parsing, two digit years will be placed in the range
{@code startDate} to {@code startDate + 100 years}. This value may
be {@code null}. When {@code null} is given as a parameter, year
{@code 2000} will be used.

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

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