code: public static Date parseDate(final String dateValue, final String[] dateFormats) {
          return parseDate(dateValue, dateFormats, null);
      }
docs: 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