public boolean equals(Object obj){
  if (obj == null || (!(obj instanceof Timestamp))) {
    return false;
  }
  Timestamp that=(Timestamp)obj;
  if (this == that) {
    return true;
  }
  return (timestamp.equals(that.getTimestamp()) && signerCertPath.equals(that.getSignerCertPath()));
}

public boolean equals ( Object obj ) { if ( obj == null || ( ! ( obj instanceof Timestamp ) ) ) { return false ; } Timestamp that = ( Timestamp ) obj ; if ( this == that ) { return true ; } return ( timestamp . equals ( that . getTimestamp ( ) ) && signerCertPath . equals ( that . getSignerCertPath ( ) ) ) ; }
tests for equality between the specified object and this timestamp . two timestamps are considered equal if the date and time of their timestamp ' s and their signer ' s certificate paths are equal .
