Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DTimeExtensions.kt57 val localDate1 = this.toLocalDate() in Instant() constant
59 return localDate1 == localDate2 in Instant()
63 val localDate1 = this.toLocalDate() in Instant() constant
65 return localDate1 == localDate2.minusDays(1) in Instant()
69 val localDate1 = this.toLocalDate() in Instant() constant
71 return localDate1 == localDate2.plusDays(1) in Instant()
79 val localDate1 = this.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.kt161 val localDate1 = instant1.atZone(timeSource.deviceZoneOffset()).toLocalDate() in areOnSameDay() constant
163 return localDate1 == localDate2 in areOnSameDay()
169 val localDate1 = instant1.atZone(timeSource.deviceZoneOffset()).toLocalDate() in areOnSameWeek() constant
171 val firstDayOfWeek1 = localDate1.with(TemporalAdjusters.previousOrSame(firstDayOfWeekField)) in areOnSameWeek()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DDateUtils.java38 LocalDate localDate1 = Instant.ofEpochMilli(date1).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.kt172 val localDate1 = instant1.atZone(timeSource.deviceZoneOffset()).toLocalDate() in <lambda>() constant
174 return localDate1 == localDate2 in <lambda>()