posted 23 years ago
I am trying to compare two dates, one from adb and one that is yesterday. I am using Calendar objects to roll the date, and want to know how to do a comparison wihtout using deprecated Date methods.
Before I was using today instead of yesterday, so I just used two Date objects and got the milliseconds and subtracted.
I can just subtract 1 from this difference, but owuld like to know if I am missing a better comparator from Calendar.
Thanks!