Here you can find the source of timestampToZonedDateTime(Long timestamp)
public static ZonedDateTime timestampToZonedDateTime(Long timestamp)
//package com.java2s; //License from project: Open Source License import java.time.*; public class Main { public static ZonedDateTime timestampToZonedDateTime(Long timestamp) { return Instant.ofEpochSecond(timestamp).atZone(ZoneOffset.UTC); }/*from w w w. ja v a 2 s.c om*/ }