比较两个时间的大小
Calendar c1 = Calendar.getInstance();
c1.setTime(new Date());
Calendar c2 = Calendar.getInstance();
c2.setTime(Timestamp.valueOf("2000-01-01 00:00:00"));
boolean f = c1.before(c2);
Calendar c1 = Calendar.getInstance();
c1.setTime(new Date());
Calendar c2 = Calendar.getInstance();
c2.setTime(Timestamp.valueOf("2000-01-01 00:00:00"));
boolean f = c1.before(c2);