What\'s a good method to, given two Date objects, compare the difference between their time portion only, completely ignoring Year, Month and Day?
It\'s quite the op
If JODA is not an option, one of the shortest approaches is probably to convert the time to strings and then compare them.
DateFormat df = new SimpleDateFormat("HHmmssSZ"); df.format(date1).equals(df.format(date2));