时间戳转LocalDateTime

早上一直在做,最后发现这么简单。。。

Long remindTime = 1534825831L;  //时间戳

LocalDateTime dateTime =LocalDateTime.ofEpochSecond(remindTime,0, ZoneOffset.ofHours(8));
原文地址:https://www.cnblogs.com/wangbiubiu/p/9510665.html