Lines Matching refs:Time
24 import android.text.format.Time;
66 // The current selected event's time, used to calculate the date and day of the week
75 private Handler mMidnightHandler = null; // Used to run a time update every midnight
78 // Updates time specific variables (time-zone, today's Julian day).
100 // Sets time specific variables and starts a thread for midnight updates
107 // Sets the time zone and today's Julian day to be used by the adapter.
111 Time time = new Time(mTimeZone);
113 time.set(now);
114 mTodayJulianDay = Time.getJulianDay(now, time.gmtoff);
123 // Set the time updater to run at 1 second after midnight
125 Time time = new Time(mTimeZone);
126 time.set(now);
127 long runInMillis = (24 * 3600 - time.hour * 3600 - time.minute * 60 -
128 time.second + 1) * 1000;
305 public void setTime(long time) {
306 mMilliTime = time;
314 Time t = new Time(mTimeZone);
316 long julianDay = Time.getJulianDay(mMilliTime,t.gmtoff);
388 Time t = new Time(mTimeZone);
406 Time t1 = new Time(mTimeZone);