Searched defs:timeObj (Results 1 - 1 of 1) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertUtils.java284 Time timeObj = new Time();
302 int ageInDays = getIntervalInDays(alertTime, nowTime, timeObj);
308 int ageInDays = getIntervalInDays(alertTime, nowTime, timeObj);
321 private static int getIntervalInDays(long startMillis, long endMillis, Time timeObj) { argument
322 timeObj.set(startMillis);
323 int startDay = Time.getJulianDay(startMillis, timeObj.gmtoff);
324 timeObj.set(endMillis);
325 return Time.getJulianDay(endMillis, timeObj.gmtoff) - startDay;

Completed in 787 milliseconds