支持下载多个云端录像的zip压缩包
This commit is contained in:
@@ -106,6 +106,14 @@ public class DateUtil {
|
||||
return formatter.format(LocalDateTime.ofInstant(instant, ZoneId.of(zoneStr)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 时间戳 转 yyyy_MM_dd_HH_mm_ss
|
||||
*/
|
||||
public static String timestampMsToUrlToyyyy_MM_dd_HH_mm_ss(long timestamp) {
|
||||
Instant instant = Instant.ofEpochMilli(timestamp);
|
||||
return urlFormatter.format(LocalDateTime.ofInstant(instant, ZoneId.of(zoneStr)));
|
||||
}
|
||||
|
||||
/**
|
||||
* yyyy_MM_dd_HH_mm_ss 转时间戳(毫秒)
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user