public void expireIn(final long expiration, final ChronoUnit timeUnit) {
        val expDate = ZonedDateTime.now(ZoneOffset.UTC).plus(expiration, timeUnit).truncatedTo(ChronoUnit.SECONDS);
        val zonedExpDate = DateTimeUtils.dateOf(expDate);
        setExpirationDate(zonedExpDate);
    }
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