public static boolean isDateEqaualed(final java.util.Date date1,final java.util.Date date2){
  final String d1=JKFormatUtil.formatDate(date1,JKFormatUtil.MYSQL_DATE_DB_PATTERN);
  final String d2=JKFormatUtil.formatDate(date2,JKFormatUtil.MYSQL_DATE_DB_PATTERN);
  return d1.equalsIgnoreCase(d2);
}

public static boolean isDateEqaualed ( final java . util . Date date1 , final java . util . Date date2 ) { final String d1 = JKFormatUtil . formatDate ( date1 , JKFormatUtil . MYSQL_DATE_DB_PATTERN ) ; final String d2 = JKFormatUtil . formatDate ( date2 , JKFormatUtil . MYSQL_DATE_DB_PATTERN ) ; return d1 . equalsIgnoreCase ( d2 ) ; }
checks if is date eqaualed .
