@Override
    public int compareTo(final MultifactorAuthenticationTrustRecord o) {
        return this.recordDate.compareTo(o.getRecordDate());
    }
Set expiration date of record in given time.

@param expiration the expiration
@param timeUnit   the time unit
support/cas-server-support-trusted-mfa-core/src/main/java/org/apereo/cas/trusted/authentication/api/MultifactorAuthenticationTrustRecord.java