Home
last modified time | relevance | path

Searched refs:getDayDifference (Results 1 – 3 of 3) sorted by relevance

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
DDateUtilTests.java37 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/ContactsCommon/src/com/android/contacts/common/util/
DDateUtils.java282 public static int getDayDifference(Time time, long date1, long date2) { in getDayDifference() method in DateUtils
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogGroupBuilder.java275 int days = DateUtils.getDayDifference(TIME, date, now); in getDayGroup()