public Digester digest(Date date) {
        if (date != null) {
            digest(md, date.getTime());
        }
        return this;
    }
Updates the digest with a date.
@param date the date
@return this digester
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/Digester.java