`/** 将时间戳格式转化为 yyyy-MM-dd HH:mm:ss */
Double time = Double.valueOf(result.getTime() + "d");//先用double封装
item.setDateTime(TimeFormateUtil.formateTrackTime(time));`
```
import java.text.SimpleDateFormat;
public class TimeFormateUtil {
/**
*13位的豪秒级别的时间戳
* @param trackTime = 1546071846000
*
* */
public static String formateTrackTime(Double trackTime){
String result = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(trackTime);
// System.out.println("13位数的时间戳(毫秒)--->Date:" + result);
return result;
}
}