Searched defs:timeZone (Results 1 - 11 of 11) 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/services/Telephony/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.java361 setTimeAndTimezone(params.timeZone, params.localTime);
371 private void setTimeAndTimezone(String timeZone, long localTime) { argument
374 if (timeZone != null) {
375 if (DEBUG) ProvisionLogger.logd("Setting time zone to " + timeZone);
376 am.setTimeZone(timeZone);
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
H A DCitySelectionActivity.java303 final TimeZone timeZone = city.getTimeZone();
322 holder.time.setText(getTimeCharSequence(timeZone));
334 holder.index.setText(Utils.getGMTHourOffset(timeZone, false));
506 private CharSequence getTimeCharSequence(TimeZone timeZone) { argument
507 mCalendar.setTimeZone(timeZone);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
H A DProvisioningParams.java68 public final String timeZone; field in class:ProvisioningParams
161 timeZone = builder.mTimeZone;
186 timeZone = in.readString();
227 out.writeString(timeZone);
268 && Objects.equals(timeZone, that.timeZone)
348 public Builder setTimeZone(String timeZone) { argument
349 mTimeZone = timeZone;
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventView.java420 private void setTimezone(String timeZone) { argument
421 mTimezone = timeZone;
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 556 milliseconds