Here you can find the source of toLocalDateTime(long systemMillis)
public static Object toLocalDateTime(long systemMillis)
//package com.java2s; //License from project: Apache License import java.sql.Timestamp; public class Main { /**//w ww.j a v a 2 s . c o m * Return the system millis time as a LocalDateTime. */ public static Object toLocalDateTime(long systemMillis) { return new Timestamp(systemMillis).toLocalDateTime(); } }