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

List<Date> list=...

Collections.max(list);

Collections.min(list)

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