Пример #1
0
  /**
   * Gets the revocation date in ISO8601 format.
   *
   * @return Returns the creation date in ISO8601 format.
   */
  public String getIso8601RevocationDate() {

    if (getRevocationDate() == null) {
      return null;
    }
    return XmlUtility.normalizeDate(getRevocationDate());
  }
Пример #2
0
  /**
   * Gets the date of last modification in ISO8601 format. <br>
   * The maximum of creation date and revocation date is returned for this.
   *
   * @return Returns the creation date in ISO8601 format.
   */
  public String getIso8601LastModificationDate() {

    final Date lastModificationDate = getLastModificationDate();
    if (lastModificationDate == null) {
      return null;
    }
    return XmlUtility.normalizeDate(lastModificationDate);
  }