public static ZonedDateTime zonedDateTimeOf(final TemporalAccessor time) {
        return ZonedDateTime.from(time);
    }
Utility for creating a ZonedDateTime object from a ZonedDateTime.

@param time ZonedDateTime to be copied
@return ZonedDateTime representing time
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/DateTimeUtils.java