Searched refs:startDateTime (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Car/Calendar/src/com/android/car/calendar/common/ |
D | EventsLiveData.java | 128 ZonedDateTime startDateTime = now.truncatedTo(DAYS); in getEventsUntilTomorrow() local 129 ZonedDateTime endDateTime = startDateTime.plusDays(2).truncatedTo(ChronoUnit.DAYS); in getEventsUntilTomorrow() 132 mEventsCursor = createEventsCursor(startDateTime, endDateTime); in getEventsUntilTomorrow() 163 private Cursor createEventsCursor(ZonedDateTime startDateTime, ZonedDateTime endDateTime) { in createEventsCursor() argument 165 if (DEBUG) Log.d(TAG, "Reading from " + startDateTime + " to " + endDateTime); in createEventsCursor() 167 ContentUris.appendId(eventInstanceUriBuilder, startDateTime.toInstant().toEpochMilli()); in createEventsCursor()
|
/packages/apps/Car/Calendar/tests/ui/src/com/android/car/calendar/ |
D | CarCalendarUiTest.java | 307 ZonedDateTime startDateTime, int eventDurationHours, String title, boolean allDay) { in buildTestRow() argument 311 startDateTime.toInstant().toEpochMilli(), in buildTestRow() 312 startDateTime.plusHours(eventDurationHours).toInstant().toEpochMilli(), in buildTestRow()
|
/packages/apps/Car/Calendar/tests/unit/src/com/android/car/calendar/common/ |
D | EventsLiveDataTest.java | 629 static Object[] buildTestRowWithDuration(ZonedDateTime startDateTime, int eventDurationHours) { 631 startDateTime, eventDurationHours, EVENT_TITLE, EVENT_ALL_DAY); 634 static Object[] buildTestRowAllDay(ZonedDateTime startDateTime) { 635 return buildTestRowWithDuration(startDateTime, 24, EVENT_TITLE, true);
|