会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
山野万里,你是我藏在微风中的欢喜 ----致我的最爱,希妍
Always on the way to you
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
Java
时间字符串2021-02-25T15:32:54+08:00 转化为yyyy-MM-dd HH:mm:ss时间格式
摘要: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)
公告