Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallLogDates.java188 public static int getDayDifference(long firstTimestamp, long secondTimestamp) { in getDayDifference() argument
190 if (secondTimestamp < firstTimestamp) { in getDayDifference()
192 firstTimestamp = secondTimestamp; in getDayDifference()
193 secondTimestamp = t; in getDayDifference()
198 startOfReferenceDay.setTimeInMillis(secondTimestamp); in getDayDifference()
236 private static boolean isWithinOneYear(long firstTimestamp, long secondTimestamp) { in isWithinOneYear() argument
238 if (secondTimestamp < firstTimestamp) { in isWithinOneYear()
240 firstTimestamp = secondTimestamp; in isWithinOneYear()
241 secondTimestamp = t; in isWithinOneYear()
246 reference.setTimeInMillis(secondTimestamp); in isWithinOneYear()