Searched refs:getInstant (Results 1 – 7 of 7) sorted by relevance
83 assertThat(timestamp.getInstant()).isEqualTo(VALID_INSTANT_LOCAL_TZ); in createWithValidDateTimeString_TimestampCorrect()90 assertThat(timestamp.getInstant()).isEqualTo(VALID_INSTANT_WITH_OFFSET_POS); in createWithValidDateTimeStringWithPosOffset_TimestampCorrect()97 assertThat(timestamp.getInstant()).isEqualTo(VALID_INSTANT_WITH_OFFSET_NEG); in createWithValidDateTimeStringWithNegOffset_TimestampCorrect()104 assertThat(timestamp.getInstant()).isEqualTo(VALID_INSTANT_LOCAL_TZ); in createWithValidDate_TimestampCorrect()112 assertThat(timestamp.getInstant()).isEqualTo(VALID_INSTANT); in createWithValidInstant_TimestampCorrect()
107 .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()
20 import com.android.healthconnect.controller.utils.getInstant51 assertThat(getInstant(2022, 10, 23).toEpochMilli()).isEqualTo(1666483200000) in getInstant_returnsCorrectInstant()
123 public Instant getInstant() { in getInstant() method in ObexTime
206 return obexTime.getInstant().toEpochMilli(); in getTimestamp()
36 fun getInstant(year: Int, month: Int, day: Int): Instant { in getInstant() method