Home
last modified time | relevance | path

Searched refs:date1 (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Calendar/tests/src/com/android/calendar/
DFormatDateRangeTest.java33 public Time date1; field in FormatDateRangeTest.DateTest
42 date1 = new Time(Time.TIMEZONE_UTC); in DateTest()
45 date1 = new Time(); in DateTest()
51 date1.set(System.currentTimeMillis()); in DateTest()
52 year1 = year2 = date1.year; in DateTest()
55 date1.set(0, minute1, hour1, day1, month1, year1); in DateTest()
56 date1.normalize(true /* ignore isDst */); in DateTest()
185 long startMillis = dateTest.date1.toMillis(false /* use isDst */); in testAll()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DDateUtils.java33 public static int getDayDifference(Time time, long date1, long date2) { in getDayDifference() argument
34 time.set(date1); in getDayDifference()
35 int startDay = Time.getJulianDay(date1, time.gmtoff); in getDayDifference()
/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java268 private static synchronized long getNumberOfDaysPassed(final long date1, final long date2) { in getNumberOfDaysPassed() argument
272 sThenTime.set(date1); in getNumberOfDaysPassed()
273 final int day1 = Time.getJulianDay(date1, sThenTime.gmtoff); in getNumberOfDaysPassed()
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java130 final String date1 = "2014-01-01"; in testDataItemCollapsing_event() local
140 mValues1.put(Event.START_DATE, date1); in testDataItemCollapsing_event()
141 mValues2.put(Event.START_DATE, date1); in testDataItemCollapsing_event()
142 mValues3.put(Event.START_DATE, date1); in testDataItemCollapsing_event()