Home
last modified time | relevance | path

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

/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DCalendarSyncAdapterTests.java189 GregorianCalendar testCalendar = new GregorianCalendar(TimeZone.getTimeZone("UTC")); in testSetTimeRelatedValues_Recurring_AllDay_Exception() local
190 testCalendar.set(2010, 5, 17, 0, 0, 0); in testSetTimeRelatedValues_Recurring_AllDay_Exception()
191 testCalendar.set(GregorianCalendar.MILLISECOND, 0); in testSetTimeRelatedValues_Recurring_AllDay_Exception()
192 Long testTime = testCalendar.getTimeInMillis(); in testSetTimeRelatedValues_Recurring_AllDay_Exception()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DCalendarSyncAdapterTests.java189 GregorianCalendar testCalendar = new GregorianCalendar(TimeZone.getTimeZone("UTC")); in testSetTimeRelatedValues_Recurring_AllDay_Exception() local
190 testCalendar.set(2010, 5, 17, 0, 0, 0); in testSetTimeRelatedValues_Recurring_AllDay_Exception()
191 testCalendar.set(GregorianCalendar.MILLISECOND, 0); in testSetTimeRelatedValues_Recurring_AllDay_Exception()
192 Long testTime = testCalendar.getTimeInMillis(); in testSetTimeRelatedValues_Recurring_AllDay_Exception()
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
DCalendarUtilities.java316 GregorianCalendar testCalendar = new GregorianCalendar(timeZone); in getMillisAtTimeZoneDateTransition() local
317 testCalendar.set(GregorianCalendar.YEAR, sCurrentYear); in getMillisAtTimeZoneDateTransition()
318 testCalendar.set(GregorianCalendar.MONTH, tzd.month); in getMillisAtTimeZoneDateTransition()
319 testCalendar.set(GregorianCalendar.DAY_OF_WEEK, tzd.dayOfWeek); in getMillisAtTimeZoneDateTransition()
320 testCalendar.set(GregorianCalendar.DAY_OF_WEEK_IN_MONTH, tzd.day); in getMillisAtTimeZoneDateTransition()
321 testCalendar.set(GregorianCalendar.HOUR_OF_DAY, tzd.hour); in getMillisAtTimeZoneDateTransition()
322 testCalendar.set(GregorianCalendar.MINUTE, tzd.minute); in getMillisAtTimeZoneDateTransition()
323 testCalendar.set(GregorianCalendar.SECOND, 0); in getMillisAtTimeZoneDateTransition()
324 return testCalendar.getTimeInMillis(); in getMillisAtTimeZoneDateTransition()