Date a Date b 1、a.after(b) a.before(b) a.equals(b) 2、A.compareTo(b) 转载于:https://www.cnblogs.com/bzywns/p/9585979.html