code: protected final String parseAndFormatDate(final String pversionDate) {
      Date date;
      if (StringUtils.isEmpty(pversionDate)) {
        date = new Date();
      } else {
        try {
          date = versionDateFormat.parse(pversionDate);
        } catch (final IllegalArgumentException e) {
          date = new Date();
        }
      }
      return dateFormatDisplay.format(date);
    }
docs: parse and format a date string.
  
  @param pversionDate string with date in versionDateFormat
  @return the same date formated as dateFormatDisplay