public static LocalDateTime localDateTimeOf(final long time) {
        return LocalDateTime.ofInstant(Instant.ofEpochMilli(time), ZoneOffset.UTC);
    }
Local date time of local date time.

@param time the time
@return the local date time
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/DateTimeUtils.java