public Date getExpirationDate() {
        long timestamp = database.expirationOfDocument(documentId);
        if (timestamp == 0)
            return null;
        return new Date(timestamp);
    }
public Date getExpirationDate ( ) { long timestamp = database . expirationOfDocument ( documentId ) ; if ( timestamp == 0 ) return null ; return new Date ( timestamp ) ; }
A date/time after which this document will be automatically purged.