Is there a way to compare two calendar objects, but ignore milliseconds?
I have written a test case that compared two calendar objects, but there is a p
If you use jodaTime, the setCopy("0") method returns a DateTime object with milliseconds set to 0 to make it easy to compare:
DateTime dateTimeZerodMillis = new DateTime().millisOfSecond ().setCopy("0")