clearMilis(date1).compareTo(clearMilis(date2))
/**
* @param date date
*
* @return truncated miliseconds
*/
@Nonnull
public static Date clearMillis(final @Nonnull Date date)
{
DateTime result = new DateTime(date);
return result.minusMillis(result.getMillisOfSecond()).toDate();
}