Searched refs:startOfReferenceDay (Results 1 – 1 of 1) sorted by relevance
197 Calendar startOfReferenceDay = Calendar.getInstance(); in getDayDifference() local198 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()