Searched refs:zone (Results 1 - 9 of 9) sorted by relevance

/dalvik/libcore/luni/src/main/java/java/util/
H A DTimeZone.java29 * {@code TimeZone} represents a time zone offset, taking into account
33 * which creates a {@code TimeZone} based on the time zone where the
39 * along with a time zone ID. For instance, the time zone ID for the U.S.
40 * Pacific Time zone is "America/Los_Angeles". So, you can get a U.S. Pacific
48 * through all the supported time zone IDs. You can then choose a supported ID
49 * to get a {@code TimeZone}. If the time zone you want is not
51 * zone ID with the following syntax: <blockquote>
57 * </blockquote> For example, you might specify GMT+14:00 as a custom time zone
59 * time zone I
490 hasSameRules(TimeZone zone) argument
[all...]
H A DCalendar.java331 private TimeZone zone; field in class:Calendar
786 clone.zone = (TimeZone) zone.clone();
1080 return zone;
1309 zone = timezone;
1326 ",lenient=" + lenient + ",zone=" + zone + ",firstDayOfWeek="
1385 new ObjectStreamField("zone", TimeZone.class), }; //$NON-NLS-1$
1401 putFields.put("zone", zone); //
[all...]
H A DDate.java391 boolean zone = false;
427 zone = true;
512 zone = true;
514 } else if ((value = zone(text)) != 0) {
515 zone = true;
552 if (zone) {
707 * like "Tue Jun 22 13:07:00 PDT 1999". The current default time zone and
708 * locale are used. If you need control over the time zone or locale,
715 // BEGIN android-changed: fixed to use time zone display names ("PST")
768 private static int zone(Strin method in class:Date
[all...]
H A DSimpleTimeZone.java39 * that represents a time zone for use with a Gregorian calendar. This class
108 * Constructs a {@code SimpleTimeZone} with the given base time zone offset from GMT
109 * and time zone ID. Timezone IDs can be obtained from
114 * the given base time zone offset to GMT.
116 * the time zone ID which is obtained from
135 * Constructs a {@code SimpleTimeZone} with the given base time zone offset from GMT,
136 * time zone ID, and times to start and end the daylight savings time. Timezone IDs can
138 * {@code TimeZone.getDefault} to create a {@code TimeZone}. For a time zone that does not
169 * the given base time zone offset to GMT.
171 * the time zone I
569 hasSameRules(TimeZone zone) argument
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/
H A DZoneInfoDB.java31 * A class used to initialize the time zone database. This implementation uses the
32 * 'zoneinfo' database as the source of time zone information. However, to conserve
34 * second file is used to indicate the starting position of each time zone record. A
44 * The directory contining the time zone database files.
50 * The name of the file containing the concatenated time zone records.
56 * The name of the file containing the index to each time zone record within
236 " retrieving time zone data");
311 TimeZone zone;
324 zone = TimeZone.getTimeZone(zoneName.trim());
327 zone
336 setDefault(@uppressWarningsÓ) TimeZone zone) argument
[all...]
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DSimpleTimeZoneTest.java481 SimpleTimeZone zone = new SimpleTimeZone(tz.getRawOffset(), "EST",
485 assertTrue("Returned incorrect daylight value1", zone.inDaylightTime(gc
488 assertTrue("Returned incorrect daylight value2", !(zone
490 gc = new GregorianCalendar(zone);
492 assertTrue("Returned incorrect daylight value3", !(zone
495 assertTrue("Returned incorrect daylight value4", zone
498 assertTrue("Returned incorrect daylight value5", !(zone
501 assertTrue("Returned incorrect daylight value6", zone
504 assertTrue("Returned incorrect daylight value7", !zone
506 assertTrue("Returned incorrect daylight value8", zone
[all...]
H A DTimeZoneTest.java203 TimeZone zone = new SimpleTimeZone(45, "TEST");
204 TimeZone.setDefault(zone);
205 assertEquals("timezone not set", zone, TimeZone.getDefault());
352 //RI fails on following line. RI always returns short time zone name as "PST"
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
H A DZipEntryTest.java478 TimeZone zone = TimeZone.getDefault();
499 TimeZone.setDefault(zone);
/dalvik/libcore/icu/src/main/native/
H A DResources.cpp337 TimeZone* zone = timeZoneFromId(env, zoneId); local
342 zone->getDisplayName((UBool)isDST, (style == 0 ? TimeZone::SHORT : TimeZone::LONG), locale, displayName);
344 delete zone;

Completed in 662 milliseconds