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

@param time the time
@return the local date time