Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DTimeExtensions.kt48 fun Instant.toLocalTime(): LocalTime { in Instant() method
49 return atZone(ZoneId.systemDefault()).toLocalTime() in Instant()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/
DAggregationDataCard.kt31 import com.android.healthconnect.controller.utils.toLocalTime
148 if (endDate.toLocalTime() == LocalTime.MIDNIGHT) { in formatDateText()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utiltests/
DTimeExtensionsTest.kt29 import com.android.healthconnect.controller.utils.toLocalTime
74 val actual = instant.toLocalTime() in instantToLocalTime_returnsCorrectLocalTime()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessPreference.kt115 val localTime: LocalTime = instant.atZone(ZoneId.systemDefault()).toLocalTime() in formatTime()