Home
last modified time | relevance | path

Searched refs:date2 (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Calendar/tests/src/com/android/calendar/
DFormatDateRangeTest.java35 public Time date2; field in FormatDateRangeTest.DateTest
44 date2 = new Time(Time.TIMEZONE_UTC); in DateTest()
47 date2 = new Time(); in DateTest()
59 date2.set(0, minute2, hour2, day2, month2, year2); in DateTest()
60 date2.normalize(true /* ignore isDst */); in DateTest()
187 long endMillis = dateTest.date2.toMillis(false /* use isDst */); in testAll()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DDateUtils.java37 public static int getDayDifference(ZoneId timeZone, long date1, long date2) { in getDayDifference() argument
39 LocalDate localDate2 = Instant.ofEpochMilli(date2).atZone(timeZone).toLocalDate(); in getDayDifference()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java174 final Date date2 = kind.dateFormatWithoutYear == null in onLabelRebuilt() local
178 if (date2 == null) return; in onLabelRebuilt()
181 calendar.setTime(date2); in onLabelRebuilt()
/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java271 private static long getNumberOfDaysPassed(final long date1, final long date2) { in getNumberOfDaysPassed() argument
274 LocalDateTime dateTime2 = LocalDateTime.ofInstant(Instant.ofEpochMilli(date2), in getNumberOfDaysPassed()
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java134 final String date2 = "2014-02-02"; in testDataItemCollapsing_event() local
146 mValues4.put(Event.START_DATE, date2); in testDataItemCollapsing_event()
165 assertEquals(date2, ((EventDataItem) dataList.get(2)).getStartDate()); in testDataItemCollapsing_event()