List of utility methods to do SQL Date Compare
int | dateDiffer(java.sql.Date date1, java.sql.Date date2) date Differ if (date1 == null || date2 == null) return 0; return (int) ((date2.getTime() + 28800000) / 86400000 - (date1 .getTime() + 28800000) / 86400000); |