docs: void setStopDate(String newStopDate) throws IllegalArgumentException {
          String sdfPattern = getLocalizedString("CWTRA0001I");
          if (newStopDate.contains(":")) {
              // User passed in a time as well as date
              sdfPattern = getLocalizedString("CWTRA0003I");
          }
          DateFormat df = new SimpleDateFormat(sdfPattern);
          df.setLenient(false);
          try {
              stopDate = df.parse(newStopDate);
          } catch (ParseException e) {
              throw new IllegalArgumentException(getLocalizedString("CWTRA0006E"), e);
          }
          //No need to check format of date , as setLenient() is already doing
          //if(!df.format(stopDate).equals(newStopDate))
          //	throw new IllegalArgumentException(getLocalizedString("CWTRA0006E"));
  
      }