public static Date parseDate(final String dateValue, final String[] dateFormats) {
        return parseDate(dateValue, dateFormats, null);
    }
Parses the date value using the given date formats.

@param dateValue the date value to parse
@param dateFormats the date formats to use

@return the parsed date or null if input could not be parsed
ngrinder-runtime/src/main/java/org/apache/hc/client5/http/utils/DateUtils.java