@@ -508,4 +508,14 @@ public class DateUtil {
return localDate.atStartOfDay(ZoneId.systemDefault()).toInstant().toEpochMilli();
}
+ /**
+ * 将时间戳转换成日期类型
+ *
+ * @param timestamp 时间戳
+ * @return
+ */
+ public static Date convertTimestampToDate(long timestamp) {
+ return new Date(timestamp);
+ }
+