Here you can find the source of getLocalDateTimeFromMillis(long millis)
public static LocalDateTime getLocalDateTimeFromMillis(long millis)
//package com.java2s; //License from project: BSD License import java.time.*; public class Main { /**//from w ww. java 2s .c o m * Shorthand method to return a LocalDateTime from 'millis since longAgo'. */ public static LocalDateTime getLocalDateTimeFromMillis(long millis) { return LocalDateTime.from(Instant.ofEpochMilli(millis)); } }