Searched refs:date2 (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | FormatDateRangeTest.java | 34 public Time date2; field in FormatDateRangeTest.DateTest 43 date2 = new Time(Time.TIMEZONE_UTC); in DateTest() 46 date2 = new Time(); in DateTest() 58 date2.set(0, minute2, hour2, day2, month2, year2); in DateTest() 59 date2.normalize(true /* ignore isDst */); in DateTest() 186 long endMillis = dateTest.date2.toMillis(false /* use isDst */); in testAll()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | DateUtils.java | 33 public static int getDayDifference(Time time, long date1, long date2) { in getDayDifference() argument 37 time.set(date2); in getDayDifference() 38 int currentDay = Time.getJulianDay(date2, time.gmtoff); in getDayDifference()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Dates.java | 268 private static synchronized long getNumberOfDaysPassed(final long date1, final long date2) { in getNumberOfDaysPassed() argument 274 sThenTime.set(date2); in getNumberOfDaysPassed() 275 final int day2 = Time.getJulianDay(date2, sThenTime.gmtoff); in getNumberOfDaysPassed()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EventFieldEditorView.java | 174 final Date date2 = kind.dateFormatWithoutYear == null in onLabelRebuilt() local 178 if (date2 == null) return; in onLabelRebuilt() 181 calendar.setTime(date2); in onLabelRebuilt()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/ |
D | DataItemTests.java | 131 final String date2 = "2014-02-02"; in testDataItemCollapsing_event() local 143 mValues4.put(Event.START_DATE, date2); in testDataItemCollapsing_event() 162 assertEquals(date2, ((EventDataItem) dataList.get(2)).getStartDate()); in testDataItemCollapsing_event()
|