摘要: Date d1 = new Date(System.currentTimeMillis()-1000); Date d2 = new Date(System.currentTimeMillis()); System.out.println(d1.compareTo(d2)); 前者大于后者 返回大于 阅读全文
posted @ 2020-03-19 14:53 chelsey3tsf 阅读(165) 评论(0) 推荐(0)