HomeSort by relevance Sort by last modified time
    Searched refs:timeZone (Results 1 - 25 of 177) sorted by null

1 2 3 4 5 6 7 8

  /libcore/luni/src/test/java/libcore/java/util/
SimpleTimeZoneTest.java 25 import java.util.TimeZone;
41 private static final TimeZone UTC = TimeZone.getTimeZone("UTC");
44 * Sanity check to ensure that the standard TimeZone for Europe/Paris has the correct DST
48 TimeZone timeZone = TimeZone.getTimeZone("Europe/Paris");
50 checkDstParis2014(timeZone);
54 TimeZone timeZone = new SimpleTimeZone(PARIS_RAW_OFFSET, "Europe/Paris"
    [all...]
GregorianCalendarTest.java 24 import java.util.TimeZone;
29 private static final TimeZone LOS_ANGELES = TimeZone.getTimeZone("America/Los_Angeles");
31 private static final TimeZone LONDON = TimeZone.getTimeZone("Europe/London");
158 TimeZone timeZone = TimeZone.getTimeZone("America/Los_Angeles");
159 checkDstLosAngeles2014(timeZone);
171 TimeZone timeZone = TimeZone.getTimeZone("America/Los_Angeles")
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
TimeZone.java 2 * @(#)TimeZone.java 1.51 00/01/19
19 * {@icuenhanced java.util.TimeZone}.{@icu _usage_}
21 * <p><code>TimeZone</code> represents a time zone offset, and also computes daylight
24 * <p>Typically, you get a <code>TimeZone</code> using {@link #getDefault()}
25 * which creates a <code>TimeZone</code> based on the time zone where the program
27 * creates a <code>TimeZone</code> object based on Japanese Standard Time.
29 * <p>You can also get a <code>TimeZone</code> using {@link #getTimeZone(String)}
32 * U.S. Pacific Time <code>TimeZone</code> object with:
36 * TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles")
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/
YMDDateFormatter.java 14 import java.util.TimeZone;
25 private TimeZone timeZone;
37 TimeZone.getDefault());
46 * @param timeZone the time zone to use
49 TimeZone timeZone) {
52 this.timeZone = timeZone;
56 this.df.setTimeZone(timeZone);
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
YMDDateFormatter.java 13 import java.util.TimeZone;
23 private TimeZone timeZone;
35 TimeZone.getDefault());
44 * @param timeZone the time zone to use
47 TimeZone timeZone) {
50 this.timeZone = timeZone;
54 this.df.setTimeZone(timeZone);
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
BasicDurationFormatterFactory.java 12 import java.util.TimeZone;
31 private TimeZone timeZone;
40 this.timeZone = TimeZone.getDefault();
132 * @param timeZone The time zone to use.
135 public DurationFormatterFactory setTimeZone(TimeZone timeZone) {
136 if (!timeZone.equals(this.timeZone)) {
    [all...]
BasicDurationFormatter.java 12 import java.util.TimeZone;
23 private TimeZone timeZone;
45 TimeZone timeZone) {
51 this.timeZone = timeZone;
82 locName, timeZone);
87 public DurationFormatter withTimeZone(TimeZone tz) {
88 if (!tz.equals(timeZone)) {
    [all...]
DurationFormatterFactory.java 11 import java.util.TimeZone;
70 * @param timeZone The time zone to set.
73 public DurationFormatterFactory setTimeZone(TimeZone timeZone);
PeriodBuilderFactory.java 11 import java.util.TimeZone;
90 * Sets the time zone for the factory. This can affect the timezone
92 * @param timeZone the timeZone
95 PeriodBuilderFactory setTimeZone(TimeZone timeZone);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
BasicDurationFormatterFactory.java 11 import java.util.TimeZone;
30 private TimeZone timeZone;
39 this.timeZone = TimeZone.getDefault();
131 * @param timeZone The time zone to use.
134 public DurationFormatterFactory setTimeZone(TimeZone timeZone) {
135 if (!timeZone.equals(this.timeZone)) {
    [all...]
BasicDurationFormatter.java 11 import java.util.TimeZone;
22 private TimeZone timeZone;
44 TimeZone timeZone) {
50 this.timeZone = timeZone;
81 locName, timeZone);
86 public DurationFormatter withTimeZone(TimeZone tz) {
87 if (!tz.equals(timeZone)) {
    [all...]
DurationFormatterFactory.java 10 import java.util.TimeZone;
68 * @param timeZone The time zone to set.
71 public DurationFormatterFactory setTimeZone(TimeZone timeZone);
PeriodBuilderFactory.java 10 import java.util.TimeZone;
88 * Sets the time zone for the factory. This can affect the timezone
90 * @param timeZone the timeZone
93 PeriodBuilderFactory setTimeZone(TimeZone timeZone);
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/
DateTime.java 28 import java.util.TimeZone;
40 private final int timeZone;
42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) {
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) {
70 Calendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT+0"));
74 if (timeZone != Integer.MIN_VALUE) {
75 int minutes = ((timeZone / 100) * 60) + timeZone % 100
    [all...]
  /packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/
DateTime.java 28 import java.util.TimeZone;
40 private final int timeZone;
42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) {
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) {
70 Calendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT+0"));
74 if (timeZone != Integer.MIN_VALUE) {
75 int minutes = ((timeZone / 100) * 60) + timeZone % 100
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
XMPDateTimeImpl.java 16 import java.util.TimeZone;
44 private TimeZone timeZone = TimeZone.getTimeZone("UTC");
68 // extract the date and timezone from the calendar provided
70 TimeZone zone = calendar.getTimeZone();
87 this.timeZone = intCalendar.getTimeZone();
93 * a <code>Date</code> and a <code>TimeZone</code>.
96 * @param timeZone a TimeZone how to interpret the dat
    [all...]
  /packages/apps/TV/tests/unit/src/com/android/tv/util/
UtilsTest_IsInGivenDay.java 24 import java.util.TimeZone;
44 TimeZone timeZone = TimeZone.getDefault();
46 TimeZone.setDefault(TimeZone.getTimeZone("Asia/Seoul"));
59 TimeZone.setDefault(timeZone);
  /external/v8/test/mjsunit/regress/
regress-crbug-604299.js 8 var o = new Intl.DateTimeFormat('en-US', {'timeZone': 'Asia/Katmandu'})
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/
DumperOptions.java 19 import java.util.TimeZone;
172 private TimeZone timeZone = null;
385 public TimeZone getTimeZone() {
386 return timeZone;
390 * Set the timezone to be used for Date. If set to <code>null</code> UTC is
393 public void setTimeZone(TimeZone timeZone) {
394 this.timeZone = timeZone;
    [all...]
  /frameworks/opt/timezonepicker/src/com/android/timezonepicker/
TimeZonePickerDialog.java 61 String timeZone = null;
65 timeZone = b.getString(BUNDLE_TIME_ZONE);
72 mView = new TimeZonePickerView(getActivity(), null, timeZone, timeMillis, this,
  /cts/tests/tests/permission/src/android/permission/cts/
NoSystemFunctionPermissionTest.java 33 import java.util.TimeZone;
68 String[] timeZones = TimeZone.getAvailableIDs();
69 String timeZone = timeZones[0];
72 alarmManager.setTimeZone(timeZone);
  /frameworks/base/core/java/android/widget/
TextClock.java 41 import java.util.TimeZone;
164 final String timeZone = intent.getStringExtra("time-zone");
165 createTime(timeZone);
257 private void createTime(String timeZone) {
258 if (timeZone != null) {
259 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone));
430 * @see TimeZone
431 * @see java.util.TimeZone#getAvailableIDs()
443 * @param timeZone The desired time zone's ID as specified in {@link TimeZone
    [all...]
DateTimeView.java 45 import java.util.TimeZone;
257 TimeZone timeZone = TimeZone.getDefault();
258 count = Math.max(Math.abs(dayDistance(timeZone, mTimeMillis, now)), 1);
265 mUpdateTimeMillis = computeNextMidnight(timeZone);
291 * @param timeZone the timezone we are in
292 * @return the timepoint in millis at UTC at midnight in the current timezone
294 private long computeNextMidnight(TimeZone timeZone)
    [all...]
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
ProvisioningParams.java 68 public final String timeZone;
161 timeZone = builder.mTimeZone;
186 timeZone = in.readString();
227 out.writeString(timeZone);
268 && Objects.equals(timeZone, that.timeZone)
348 public Builder setTimeZone(String timeZone) {
349 mTimeZone = timeZone;
  /external/jsilver/src/org/clearsilver/jni/
JniHdf.java 25 import java.util.TimeZone;
213 /** Export a date to a clearsilver tree using a specified timezone */
214 public void exportDate(String hdfname, TimeZone timeZone, Date date) {
219 Calendar cal = Calendar.getInstance(timeZone);
252 boolean tzNegative = timeZone.getRawOffset() < 0;
253 int tzAbsolute = java.lang.Math.abs(timeZone.getRawOffset()/1000);
262 /** Export a date to a clearsilver tree using a specified timezone */
268 TimeZone timeZone = TimeZone.getTimeZone(tz)
    [all...]

Completed in 685 milliseconds

1 2 3 4 5 6 7 8