Searched refs:timeObj (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertUtils.java | 284 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) { 322 timeObj.set(startMillis); 323 int startDay = Time.getJulianDay(startMillis, timeObj.gmtoff); 324 timeObj.set(endMillis); 325 return Time.getJulianDay(endMillis, timeObj.gmtoff) - startDay;
|
D | AlarmScheduler.java | 191 Time timeObj = new Time(); in queryNextReminderAndSchedule() local 207 localStartTime = Utils.convertAlldayUtcToLocal(timeObj, begin, in queryNextReminderAndSchedule() 223 timeObj.set(localStartTime); in queryNextReminderAndSchedule() 228 msg.append(" (").append(timeObj.format("%a, %b %d, %Y %I:%M%P")).append(")"); in queryNextReminderAndSchedule() 259 timeObj.set(alarmTime); in queryNextReminderAndSchedule() 265 msg.append(" (").append(timeObj.format("%a, %b %d, %Y %I:%M%P")) in queryNextReminderAndSchedule()
|