Home
last modified time | relevance | path

Searched refs:getTimeZone (Results 1 – 25 of 56) sorted by relevance

123

/packages/apps/Exchange/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java162 TimeZone.setDefault(TimeZone.getTimeZone("America/Phoenix")); in testParseTimeZoneEndToEnd()
165 TimeZone.setDefault(TimeZone.getTimeZone("Pacific/Honolulu")); in testParseTimeZoneEndToEnd()
170 TimeZone azTime = TimeZone.getTimeZone("America/Phoenix"); in testParseTimeZoneEndToEnd()
171 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); in testParseTimeZoneEndToEnd()
202 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); in testRecurrenceUntilToEasUntil()
226 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in testParseEmailDateTimeToMillis()
241 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in testParseDateTimeToMillis()
637 TimeZone tz = TimeZone.getTimeZone("US/Central"); in testFindTransitionDate()
667 tz = TimeZone.getTimeZone("Africa/Kinshasa"); in testFindTransitionDate()
852 TimeZone tz = TimeZone.getTimeZone(tzs); in testTimeZoneToVTimezone()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DWorldClockAdapter.java124 return TimeZone.getTimeZone(homeTZ).getOffset(now.getTime()) in needHomeCity()
166 int gmOffset1 = TimeZone.getTimeZone(city1.mTimeZone).getOffset(now.getTime()); in sortList()
167 int gmOffset2 = TimeZone.getTimeZone(city2.mTimeZone).getOffset(now.getTime()); in sortList()
246 now.setTimeZone(TimeZone.getTimeZone(cityTZ)); in updateView()
DCityGmtOffsetComparator.java28 int offset = TimeZone.getTimeZone(c1.mTimeZone).getOffset(currentTime); in compare()
29 int offset2 = TimeZone.getTimeZone(c2.mTimeZone).getOffset(currentTime); in compare()
DCitiesActivity.java202 TimeZone timezone = TimeZone.getTimeZone(city.mTimeZone);
375 TimeZone.getTimeZone(c.mTimeZone), true)); in getView()
388 mCalendar.setTimeZone(TimeZone.getTimeZone(timeZone)); in getTimeCharSequence()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/
DDateTime.java70 Calendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT+0")); in convertToDate()
110 public int getTimeZone() { in getTimeZone() method in DateTime
115 …+ " " + getDay() + "; " + getHour() + " " + getMinute() + " " + getSecond() + " " + getTimeZone()); in print()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java314 String tz = Utils.getTimeZone(mContext, null);
493 String tz = Utils.getTimeZone(mContext, mTimezoneChanged);
530 Time time = new Time(Utils.getTimeZone(mContext, null));
534 Time time2 = new Time(Utils.getTimeZone(mContext, null));
/packages/apps/Calendar/src/com/android/calendar/
DCalendarUtils.java177 tz = getTimeZone(context, null); in formatDateRange()
270 public String getTimeZone(Context context, Runnable callback) { in getTimeZone() method in CalendarUtils.TimeZoneUtils
317 getTimeZone(context, callback); in forceDBRequery()
DSearchActivity.java100 Utils.getTimeZone(SearchActivity.this, mTimeChangesUpdater));
259 icon, this, Utils.getTimeZone(SearchActivity.this, mTimeChangesUpdater)); in onCreateOptionsMenu()
328 mHandler, mTimeChangesUpdater, Utils.getTimeZone(this, mTimeChangesUpdater)); in onResume()
DCalendarController.java93 mTime.switchTimezone(Utils.getTimeZone(mContext, this));
375 info.startTime = new Time(Utils.getTimeZone(mContext, mUpdateTimezone)); in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
378 info.selectedTime = new Time(Utils.getTimeZone(mContext, mUpdateTimezone)); in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
383 info.endTime = new Time(Utils.getTimeZone(mContext, mUpdateTimezone)); in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
DAllInOneActivity.java248 mTimeZone = Utils.getTimeZone(AllInOneActivity.this, mHomeTimeUpdater);
259 mTimeZone = Utils.getTimeZone(AllInOneActivity.this, mHomeTimeUpdater);
350 mTimeZone = Utils.getTimeZone(this, mHomeTimeUpdater); in onCreate()
1026 mTimeZone = Utils.getTimeZone(this, mHomeTimeUpdater); in updateSecondaryTitleFields()
1068 TimeZone.getTimeZone(mTimeZone).getDisplayName( in updateSecondaryTitleFields()
DUtils.java291 public static String getTimeZone(Context context, Runnable callback) { in getTimeZone() method in Utils
292 return mTZUtils.getTimeZone(context, callback); in getTimeZone()
1328 Time weekTime = new Time(getTimeZone(context, null)); in getWeekNumberFromTime()
1359 getTimeZone(context, null); in getDayOfWeekString()
1483 TimeZone tz = TimeZone.getTimeZone(localTimezone); in getDisplayedTimezone()
/packages/apps/Exchange/src/com/android/exchange/utility/
DCalendarUtilities.java131 private static final TimeZone UTC_TIMEZONE = TimeZone.getTimeZone("UTC");
162 static final TimeZone sGmtTimeZone = TimeZone.getTimeZone("GMT");
836 timeZone = TimeZone.getTimeZone(zoneId); in tziStringToTimeZoneImpl()
858 timeZone = TimeZone.getTimeZone(zoneId); in tziStringToTimeZoneImpl()
898 TimeZone tz = TimeZone.getTimeZone(tzName); in tziStringToTimeZoneImpl()
903 timeZone = TimeZone.getTimeZone(zoneIds[0]); in tziStringToTimeZoneImpl()
906 timeZone = TimeZone.getTimeZone(zoneIds[0]); in tziStringToTimeZoneImpl()
/packages/apps/Settings/src/com/android/settings/
DZonePicker.java150 return TimeZone.getTimeZone((String)((Map<?, ?>)item).get(KEY_ID)); in obtainTimeZoneFromItem()
271 final TimeZone tz = TimeZone.getTimeZone(olsonId); in addTimeZone()
308 final TimeZone tz = TimeZone.getTimeZone(tzId); in onListItemClick()
DDateTimeSettings.java160 mDummyDate.setTimeZone(now.getTimeZone()); in updateTimeAndDateDisplay()
167 mTimeZone.setSummary(getTimeZoneText(now.getTimeZone(), true)); in updateTimeAndDateDisplay()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventView.java895 mTimezone = Utils.getTimeZone(activity, null); in EditEventView()
1115 mTimezone = Utils.getTimeZone(mActivity, null); in setModel()
1607 TimeZone.setDefault(TimeZone.getTimeZone(mTimezone)); in setDate()
1631 TimeZone.setDefault(TimeZone.getTimeZone(mTimezone)); in setTime()
1786 String tz = Utils.getTimeZone(mActivity, null); in updateHomeTime()
1801 String tzDisplay = TimeZone.getTimeZone(tz).getDisplayName( in updateHomeTime()
1820 tzDisplay = TimeZone.getTimeZone(tz).getDisplayName( in updateHomeTime()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaByDayAdapter.java67 mTimeZone = Utils.getTimeZone(mContext, this);
79 mTimeZone = Utils.getTimeZone(context, mTZUpdater); in AgendaByDayAdapter()
214 String tz = Utils.getTimeZone(mContext, mTZUpdater); in getView()
DAgendaAdapter.java199 String tzString = Utils.getTimeZone(context, mTZUpdater); in bindView()
217 TimeZone tz = TimeZone.getTimeZone(tzString); in bindView()
DAgendaListView.java58 mTimeZone = Utils.getTimeZone(mContext, this);
91 mTimeZone = Utils.getTimeZone(context, mTZUpdater); in initView()
DAgendaFragment.java84 mTimeZone = Utils.getTimeZone(getActivity(), this);
113 mTimeZone = Utils.getTimeZone(activity, mTZUpdater); in onAttach()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DDateTimeActivity.java124 mDummyDate.setTimeZone(now.getTimeZone()); in setSampleDate()
473 TimeZone tz = now.getTimeZone(); in getCurrentTimeZoneName()
583 TimeZone tz = TimeZone.getTimeZone(id); in getTimeZones()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthListView.java60 Utils.getTimeZone(mListContext, mTimezoneUpdater);
83 mTempTime = new Time(Utils.getTimeZone(c,mTimezoneUpdater)); in init()
DMonthByWeekAdapter.java106 mHomeTimeZone = Utils.getTimeZone(mContext, null); in init()
281 mHomeTimeZone = Utils.getTimeZone(mContext, null); in refresh()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertAdapter.java115 String tz = Utils.getTimeZone(context, null); in updateView()
133 sb.append(" ").append(TimeZone.getTimeZone(tz).getDisplayName( in updateView()
DAlertUtils.java156 String tz = Utils.getTimeZone(context, null);
184 sb.append(" ").append(TimeZone.getTimeZone(tz).getDisplayName(
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java224 final GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in initialValue()
257 final GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in parseDateTimeToCalendar()
282 final GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in parseEmailDateTimeToMillis()

123