Searched refs:getInstant (Results 1 – 8 of 8) sorted by relevance
76 timestamp.getInstant()); in createWithValidDateTimeString_TimestampCorrect()87 timestamp.getInstant()); in createWithValidDateTimeStringWithPosOffset_TimestampCorrect()98 timestamp.getInstant()); in createWithValidDateTimeStringWithNegOffset_TimestampCorrect()109 timestamp.getInstant()); in createWithValidDate_TimestampCorrect()123 timestamp.getInstant()); in createWithValidInstant_TimestampCorrect()
106 .isEqualTo(new ObexTime(dateTime).getInstant().toEpochMilli()); in fromStreamWithDateTime()
96 final boolean toDst = getDSTSavings(timeZone, nextDstTransition.getInstant()) != 0; in formatInfo()107 transitionTime.setTimeInMillis(nextDstTransition.getInstant().toEpochMilli()); in formatInfo()141 Instant to = transition.getInstant(); in findNextDstTransition()
32 import com.android.healthconnect.controller.utils.getInstant in <lambda>()126 selectedDate = getInstant(year, month + 1, day) in <lambda>()
19 import com.android.healthconnect.controller.utils.getInstant45 assertThat(getInstant(2022, 10, 23).toEpochMilli()).isEqualTo(1666483200000) in getInstant_returnsCorrectInstant()
35 fun getInstant(year: Int, month: Int, day: Int): Instant { in getInstant() method
120 public Instant getInstant() { in getInstant() method in ObexTime
204 return obexTime.getInstant().toEpochMilli(); in getTimestamp()