List列表中找最大时间或者最小时间

List<Date> list=...

Collections.max(list);

Collections.min(list)

posted @ 2023-12-27 18:13  青山下  阅读(175)  评论(0编辑  收藏  举报