Home
last modified time | relevance | path

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

/packages/apps/Car/Calendar/tests/unit/src/com/android/car/calendar/common/
DEventsLiveDataTest.java224 assertThat(event.getStartInstant().toEpochMilli()).isEqualTo(eventStartMillis); in addObserver_oneEventResult()
361 assertThat(middlePartEvent.getStartInstant()).isEqualTo(expectedStartTime.toInstant()); in multiDayEvent_keepsOriginalTimes()
382 assertThat(events.get(0).getStartInstant().toEpochMilli()) in multipleEvents_resultsSortedStart()
384 assertThat(events.get(1).getStartInstant().toEpochMilli()) in multipleEvents_resultsSortedStart()
428 assertThat(events.get(0).getStartInstant()).isEqualTo(localMidnightStart); in allDayEvent_timesSetToLocal()
/packages/apps/Car/Calendar/src/com/android/car/calendar/common/
DEvent.java106 public Instant getStartInstant() { in getStartInstant() method in Event
149 return Duration.between(getStartInstant(), getEndInstant()); in getDuration()
/packages/apps/Car/Calendar/src/com/android/car/calendar/
DEventCalendarItem.java129 mFormatter.getTimeRangeText(mEvent.getStartInstant(), mEvent.getEndInstant()); in bind()