随笔分类 -  Java

摘要:public static String dealDateFormat(String oldDate) { Date date1 = null; DateFormat df2 = null; try { DateFormat df = new SimpleDateFormat("yyyy-MM-dd 阅读全文
posted @ 2021-08-18 15:53 海飏凨 阅读(841) 评论(0) 推荐(0)
摘要:Collections.sort(list<T>, Comparator.comparing(T::getTime, (t1, t2) -> t2.compareTo(t1))); 阅读全文
posted @ 2021-08-18 15:46 海飏凨 阅读(32) 评论(0) 推荐(0)