Searched refs:getDayDifference (Results 1 – 3 of 3) sorted by relevance
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
D | DateUtilTests.java | 37 assertEquals(0, DateUtils.getDayDifference(time, date1, date2)); in testDayDiffNone() 38 assertEquals(0, DateUtils.getDayDifference(time, date2, date1)); in testDayDiffNone() 48 assertEquals(1, DateUtils.getDayDifference(time, date1, date2)); in testDayDiffOne() 49 assertEquals(1, DateUtils.getDayDifference(time, date2, date1)); in testDayDiffOne() 59 assertEquals(2, DateUtils.getDayDifference(time, date1, date2)); in testDayDiffTwo() 60 assertEquals(2, DateUtils.getDayDifference(time, date2, date1)); in testDayDiffTwo()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallLogGroupBuilder.java | 258 int days = DateUtils.getDayDifference(TIME, date, now); in getDayGroup()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | DateUtils.java | 282 public static int getDayDifference(Time time, long date1, long date2) { in getDayDifference() method in DateUtils
|