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

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/
H A DDateTime.java40 private final int timeZone; field in class:DateTime
42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) { argument
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
50 this.timeZone = timeZone;
69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) { argument
74 if (timeZone != Integer.MIN_VALUE) {
75 int minutes = ((timeZone / 100) * 60) + timeZone % 100;
111 return timeZone;
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarUtils.java196 * @param timeZone The time zone to set Calendar to, or
199 public void setTimeZone(Context context, String timeZone) { argument
200 if (TextUtils.isEmpty(timeZone)) {
208 if (CalendarCache.TIMEZONE_TYPE_AUTO.equals(timeZone)) {
214 if (!mUseHomeTZ || !TextUtils.equals(mHomeTZ, timeZone)) {
218 mHomeTZ = timeZone;
H A DUtils.java270 * @param timeZone The time zone to set Calendar to, or **tbd**
272 public static void setTimeZone(Context context, String timeZone) { argument
273 mTZUtils.setTimeZone(context, timeZone);
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetModel.java251 public CalendarAppWidgetModel(Context context, String timeZone) { argument
253 Time time = new Time(timeZone);
263 public void buildFromCursor(Cursor cursor, String timeZone) { argument
264 final Time recycle = new Time(timeZone);
271 mShowTZ = !TextUtils.equals(timeZone, Time.getCurrentTimezone());
273 mHomeTZName = TimeZone.getTimeZone(timeZone).getDisplayName(recycle.isDst != 0,
H A DCalendarAppWidgetService.java414 Context context, Cursor cursor, String timeZone) {
415 CalendarAppWidgetModel model = new CalendarAppWidgetModel(context, timeZone);
416 model.buildFromCursor(cursor, timeZone);
423 private long calculateUpdateTime(CalendarAppWidgetModel model, long now, String timeZone) { argument
425 long minUpdateTime = getNextMidnightTimeMillis(timeZone);
413 buildAppWidgetModel( Context context, Cursor cursor, String timeZone) argument
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
H A DDeviceOwnerProvisioningService.java412 private void setTimeAndTimezone(String timeZone, long localTime) { argument
415 if (timeZone != null) {
416 if (DEBUG) ProvisionLogger.logd("Setting time zone to " + timeZone);
417 am.setTimeZone(timeZone);
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
H A DCitiesActivity.java387 private CharSequence getTimeCharSequence(String timeZone) { argument
388 mCalendar.setTimeZone(TimeZone.getTimeZone(timeZone));
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventView.java420 private void setTimezone(String timeZone) { argument
421 mTimezone = timeZone;
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DCalendarUtilities.java324 * @param timeZone the time zone we're checking
328 static long getMillisAtTimeZoneDateTransition(TimeZone timeZone, TimeZoneDate tzd) { argument
329 GregorianCalendar testCalendar = new GregorianCalendar(timeZone);
760 TimeZone timeZone = sTimeZoneCache.get(timeZoneString);
761 if (timeZone != null) {
763 LogUtils.d(TAG, " Using cached TimeZone " + timeZone.getID());
766 timeZone = tziStringToTimeZoneImpl(timeZoneString, precision);
767 if (timeZone == null) {
771 timeZone = TimeZone.getDefault();
773 sTimeZoneCache.put(timeZoneString, timeZone);
1230 recurrenceFromRrule(String rrule, long startTime, TimeZone timeZone, Serializer s) argument
[all...]

Completed in 241 milliseconds