Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DTimeExtensions.kt58 val localDate2 = other.toLocalDate() in Instant() constant
59 return localDate1 == localDate2 in Instant()
64 val localDate2 = other.toLocalDate() in Instant() constant
65 return localDate1 == localDate2.minusDays(1) in Instant()
70 val localDate2 = other.toLocalDate() in Instant() constant
71 return localDate1 == localDate2.plusDays(1) in Instant()
80 val localDate2 = other.toLocalDate() in Instant() constant
81 return localDate1.isAfter(localDate2.plusDays(1)) || localDate1 == localDate2.plusDays(1) in Instant()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/datenavigation/
DDatePickerSpinnerAdapter.kt162 val localDate2 = instant2.atZone(timeSource.deviceZoneOffset()).toLocalDate() in areOnSameDay() constant
163 return localDate1 == localDate2 in areOnSameDay()
170 val localDate2 = instant2.atZone(timeSource.deviceZoneOffset()).toLocalDate() in areOnSameWeek() constant
172 val firstDayOfWeek2 = localDate2.with(TemporalAdjusters.previousOrSame(firstDayOfWeekField)) in areOnSameWeek()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DDateUtils.java39 LocalDate localDate2 = Instant.ofEpochMilli(date2).atZone(timeZone).toLocalDate(); in getDayDifference() local
40 return Math.abs((int) ChronoUnit.DAYS.between(localDate2, localDate1)); in getDayDifference()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/
DLoadEntriesHelper.kt173 val localDate2 = instant2.atZone(timeSource.deviceZoneOffset()).toLocalDate() in <lambda>() constant
174 return localDate1 == localDate2 in <lambda>()