Searched refs:isOnSameDay (Results 1 – 3 of 3) sorted by relevance
11 import com.android.healthconnect.controller.utils.isOnSameDay in <lambda>()121 if (currentSleepSession.endTime.isOnSameDay(currentSleepSession.startTime)) { in <lambda>()167 if (currentSleepSession.endTime.isOnSameDay(lastDateWithDataInstant)) { in <lambda>()172 } else if (currentSleepSession.endTime.isOnSameDay(currentSleepSession.startTime)) { in <lambda>()
23 import com.android.healthconnect.controller.utils.isOnSameDay85 assertThat(thisInstant.isOnSameDay(otherInstant)).isTrue() in instantIsOnSameDay_whenOtherInstantOnSameLocalDate_returnsTrue()95 assertThat(thisInstant.isOnSameDay(otherInstant)).isFalse() in instantIsOnSameDay_whenOtherInstantNotOnSameLocalDate_returnsFalse()208 assertThat(randomInstant.isOnSameDay(localDate.toInstantAtStartOfDay())).isTrue() in localDateRandomInstant_returnsInstantOnTheLocalDate()
56 fun Instant.isOnSameDay(other: Instant): Boolean { in Instant() method