docs: public static Date toDate(final String dateText) throws Exception {
  
          Date date = null;
          if (dateText.length() > 0) {
              date = Z_DATETIME_FORMAT.parse(dateText.trim());
              if (!validateDate(date)) {
                  throw new IllegalArgumentException();
              }
          }
          return date;
      }