public static ZonedDateTime zonedDateTimeOf(final long time, final ZoneId zoneId) {
        return ZonedDateTime.ofInstant(Instant.ofEpochMilli(time), zoneId);
    }
Utility for creating a ZonedDateTime object from a millisecond timestamp.

@param time   Milliseconds since Epoch
@param zoneId Time zone
@return ZonedDateTime representing time
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/DateTimeUtils.java