code: public static Date parseDate(String value, ParsePosition pos) {
          Long timestamp = parseTimestamp(value);
          if (timestamp != null) {
              return new Date(timestamp);
          }
          if (value.contains(" ")) {
              value = value.replace(" ", "+");
          }
          if (!(value.contains("-") || value.contains("+")) && !value.endsWith("Z")) {
              value += SYS_TZ;
          }
          try {
              return ISO8601Utils.parse(value, pos);
          } catch (ParseException e) {
              throw new ExtractorException(e);
          }
      }
docs: <p>parseDate.</p>
  
  @param value a {@link java.lang.String} object.
  @param pos   a {@link java.text.ParsePosition} object.
  @return a {@link java.util.Date} object.