Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallLogDates.java197 Calendar startOfReferenceDay = Calendar.getInstance(); in getDayDifference() local
198 startOfReferenceDay.setTimeInMillis(secondTimestamp); in getDayDifference()
205 startOfReferenceDay.add(Calendar.HOUR_OF_DAY, -startOfReferenceDay.get(Calendar.HOUR_OF_DAY)); in getDayDifference()
206 startOfReferenceDay.add(Calendar.MINUTE, -startOfReferenceDay.get(Calendar.MINUTE)); in getDayDifference()
207 startOfReferenceDay.add(Calendar.SECOND, -startOfReferenceDay.get(Calendar.SECOND)); in getDayDifference()
208 startOfReferenceDay.add(Calendar.MILLISECOND, -startOfReferenceDay.get(Calendar.MILLISECOND)); in getDayDifference()
214 while (other.before(startOfReferenceDay)) { in getDayDifference()
215 startOfReferenceDay.add(Calendar.DATE, -1); in getDayDifference()