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

/packages/apps/Email/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.java195 * @param timeZone The time zone to set Calendar to, or
198 public void setTimeZone(Context context, String timeZone) { argument
199 if (TextUtils.isEmpty(timeZone)) {
207 if (CalendarCache.TIMEZONE_TYPE_AUTO.equals(timeZone)) {
213 if (!mUseHomeTZ || !TextUtils.equals(mHomeTZ, timeZone)) {
217 mHomeTZ = timeZone;
H A DUtils.java187 * @param timeZone The time zone to set Calendar to, or **tbd**
189 public static void setTimeZone(Context context, String timeZone) { argument
190 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.java413 Context context, Cursor cursor, String timeZone) {
414 CalendarAppWidgetModel model = new CalendarAppWidgetModel(context, timeZone);
415 model.buildFromCursor(cursor, timeZone);
422 private long calculateUpdateTime(CalendarAppWidgetModel model, long now, String timeZone) { argument
424 long minUpdateTime = getNextMidnightTimeMillis(timeZone);
412 buildAppWidgetModel( Context context, Cursor cursor, String timeZone) argument
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
H A DCalendarUtilities.java326 * @param timeZone the time zone we're checking
330 static long getMillisAtTimeZoneDateTransition(TimeZone timeZone, TimeZoneDate tzd) { argument
331 GregorianCalendar testCalendar = new GregorianCalendar(timeZone);
762 TimeZone timeZone = sTimeZoneCache.get(timeZoneString);
763 if (timeZone != null) {
765 ExchangeService.log(TAG, " Using cached TimeZone " + timeZone.getID());
768 timeZone = tziStringToTimeZoneImpl(timeZoneString, precision);
769 if (timeZone == null) {
773 timeZone = TimeZone.getDefault();
775 sTimeZoneCache.put(timeZoneString, timeZone);
[all...]

Completed in 94 milliseconds