Searched defs:timeZone (Results 1 - 8 of 8) 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.java269 * @param timeZone The time zone to set Calendar to, or **tbd**
271 public static void setTimeZone(Context context, String timeZone) { argument
272 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/DeskClock/src/com/android/deskclock/worldclock/
H A DCitiesActivity.java389 private CharSequence getTimeCharSequence(String timeZone) { argument
390 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.java323 * @param timeZone the time zone we're checking
327 static long getMillisAtTimeZoneDateTransition(TimeZone timeZone, TimeZoneDate tzd) { argument
328 GregorianCalendar testCalendar = new GregorianCalendar(timeZone);
759 TimeZone timeZone = sTimeZoneCache.get(timeZoneString);
760 if (timeZone != null) {
762 ExchangeService.log(TAG, " Using cached TimeZone " + timeZone.getID());
765 timeZone = tziStringToTimeZoneImpl(timeZoneString, precision);
766 if (timeZone == null) {
770 timeZone = TimeZone.getDefault();
772 sTimeZoneCache.put(timeZoneString, timeZone);
1225 recurrenceFromRrule(String rrule, long startTime, TimeZone timeZone, Serializer s) argument
[all...]

Completed in 98 milliseconds