Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utiltests/
DTimeExtensionsTest.kt20 import com.android.healthconnect.controller.utils.isAtLeastOneDayAfter
156 assertThat(thisInstant.isAtLeastOneDayAfter(otherInstant)).isTrue() in instantIsAtLeastOneDayAfter_whenOtherInstantOneDayBefore_returnsTrue()
166 assertThat(thisInstant.isAtLeastOneDayAfter(otherInstant)).isTrue() in instantIsAtLeastOneDayAfter_whenOtherInstantTwoDaysBefore_returnsTrue()
176 assertThat(thisInstant.isAtLeastOneDayAfter(otherInstant)).isFalse() in instantIsAtLeastOneDayAfter_whenOtherInstantAtLeastOnSameDay_returnsFalse()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/api/
DSleepSessionHelper.kt9 import com.android.healthconnect.controller.utils.isAtLeastOneDayAfter in <lambda>()
54 (currentSleepSession.endTime.isAtLeastOneDayAfter( in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DTimeExtensions.kt78 fun Instant.isAtLeastOneDayAfter(other: Instant): Boolean { in Instant() method