@JsonIgnore
    @Override
    public Long getTimeToLive() {
        val currentTime = ZonedDateTime.now(getClock()).toInstant();
        return Duration.between(currentTime, expirationInstant).toSeconds();
    }
Ticket expiration policy based on a predefined fixed expiration date.

@author Misagh
@since 7.0.0
core/cas-server-core-tickets-api/src/main/java/org/apereo/cas/ticket/expiration/FixedInstantExpirationPolicy.java