摘要: public static String formatDate(String inDate) { SimpleDateFormat inTime = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); SimpleDateFormat outTime = new 阅读全文
posted @ 2020-07-26 16:20 猿码哥 阅读(156) 评论(0) 推荐(0) 编辑
摘要: /** * Date 转为LocalDateTime * * @param date * @return */public static LocalDateTime convertDateToLDT(Date date) { return LocalDateTime.ofInstant(date.t 阅读全文
posted @ 2020-07-26 16:19 猿码哥 阅读(330) 评论(0) 推荐(0) 编辑