/libcore/ojluni/src/main/java/java/util/ |
TimeZone.java | 135 * @see SimpleTimeZone 170 private static final TimeZone GMT = new SimpleTimeZone(0, "GMT"); 171 private static final TimeZone UTC = new SimpleTimeZone(0, "UTC"); 581 * Returns a new SimpleTimeZone for an ID of the form "GMT[+|-]hh[[:]mm]", or null. 612 return new SimpleTimeZone(raw, cleanId);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
AstroTest.java | 22 import android.icu.util.SimpleTimeZone; 38 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); 91 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); 236 // SimpleTimeZone to get consistent behavior between JDKs. 241 TimeZone tz = new SimpleTimeZone(-18000000 + 3600000, "Montreal(FIXED)"); 353 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0,"GMT"));
|
CalendarTest.java | 22 import android.icu.util.SimpleTimeZone; 55 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT");
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
AstroTest.java | 21 import com.ibm.icu.util.SimpleTimeZone; 34 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); 87 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); 232 // SimpleTimeZone to get consistent behavior between JDKs. 237 TimeZone tz = new SimpleTimeZone(-18000000 + 3600000, "Montreal(FIXED)"); 349 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0,"GMT"));
|
CalendarTest.java | 21 import com.ibm.icu.util.SimpleTimeZone; 51 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT");
|
/libcore/luni/src/test/java/libcore/java/util/ |
GregorianCalendarTest.java | 23 import java.util.SimpleTimeZone; 35 private static final SimpleTimeZone CUSTOM_LOS_ANGELES_TIME_ZONE = new SimpleTimeZone(-28800000, 197 // Get the DST entry time with a SimpleTimeZone implementation of TimeZone. 198 SimpleTimeZone simpleTimeZone = new SimpleTimeZone(-28800000, 203 long simpleTimeZoneTime = getDstLosAngeles2014(simpleTimeZone); 315 // This fails on OpenJDK when running with SimpleTimeZone (or any custom TimeZone
|
TimeZoneTest.java | 28 import java.util.SimpleTimeZone; 49 SimpleTimeZone stz = new SimpleTimeZone(21600000, "Central Standard Time"); 57 TimeZone tz0001 = new SimpleTimeZone(60000, "ONE MINUTE"); 58 TimeZone tz0130 = new SimpleTimeZone(5400000, "ONE HOUR, THIRTY"); 59 TimeZone tzMinus0130 = new SimpleTimeZone(-5400000, "NEG ONE HOUR, THIRTY"); 192 new SimpleTimeZone(0, "X", Calendar.MARCH, 1, 1, 1, Calendar.SEPTEMBER, 1, 1, 1) {
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ZoneMeta.java | 24 import android.icu.util.SimpleTimeZone; 587 private static class CustomTimeZoneCache extends SoftCache<Integer, SimpleTimeZone, int[]> { 593 protected SimpleTimeZone createInstance(Integer key, int[] data) { 601 SimpleTimeZone tz = new SimpleTimeZone(offset, id); 613 * @return a frozen SimpleTimeZone with the given offset and 795 return new SimpleTimeZone(offset, zid);
|
OlsonTimeZone.java | 22 import android.icu.util.SimpleTimeZone; 105 * can be passed directly into the SimpleTimeZone 13-argument 184 SimpleTimeZone stz = new SimpleTimeZone(offsetMillis, getID()); 597 finalZone = new SimpleTimeZone(ruleRaw, "", 610 // year boundary, SimpleTimeZone may return false result when DST is observed at the [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ZoneMeta.java | 23 import com.ibm.icu.util.SimpleTimeZone; 586 private static class CustomTimeZoneCache extends SoftCache<Integer, SimpleTimeZone, int[]> { 592 protected SimpleTimeZone createInstance(Integer key, int[] data) { 600 SimpleTimeZone tz = new SimpleTimeZone(offset, id); 612 * @return a frozen SimpleTimeZone with the given offset and 794 return new SimpleTimeZone(offset, zid);
|
OlsonTimeZone.java | 21 import com.ibm.icu.util.SimpleTimeZone; 104 * can be passed directly into the SimpleTimeZone 13-argument 182 SimpleTimeZone stz = new SimpleTimeZone(offsetMillis, getID()); 595 finalZone = new SimpleTimeZone(ruleRaw, "", 608 // year boundary, SimpleTimeZone may return false result when DST is observed at the [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
SerializableTest.java | 36 import android.icu.util.SimpleTimeZone; 161 SimpleTimeZone simpleTimeZones[] = new SimpleTimeZone[6]; 163 simpleTimeZones[0] = new SimpleTimeZone(32400000, "MyTimeZone"); 165 simpleTimeZones[1] = new SimpleTimeZone(32400000, "Asia/Tokyo"); 167 simpleTimeZones[2] = new SimpleTimeZone(32400000, "Asia/Tokyo"); 170 simpleTimeZones[3] = new SimpleTimeZone(32400000, "Asia/Tokyo"); 173 simpleTimeZones[4] = new SimpleTimeZone(32400000, "Asia/Tokyo"); 179 simpleTimeZones[5] = new SimpleTimeZone(32400000, "Asia/Tokyo"); 703 map.put("android.icu.util.SimpleTimeZone", new SimpleTimeZoneHandler()) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
SerializableTest.java | 35 import com.ibm.icu.util.SimpleTimeZone; 157 SimpleTimeZone simpleTimeZones[] = new SimpleTimeZone[6]; 159 simpleTimeZones[0] = new SimpleTimeZone(32400000, "MyTimeZone"); 161 simpleTimeZones[1] = new SimpleTimeZone(32400000, "Asia/Tokyo"); 163 simpleTimeZones[2] = new SimpleTimeZone(32400000, "Asia/Tokyo"); 166 simpleTimeZones[3] = new SimpleTimeZone(32400000, "Asia/Tokyo"); 169 simpleTimeZones[4] = new SimpleTimeZone(32400000, "Asia/Tokyo"); 175 simpleTimeZones[5] = new SimpleTimeZone(32400000, "Asia/Tokyo"); 699 map.put("com.ibm.icu.util.SimpleTimeZone", new SimpleTimeZoneHandler()) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/ |
TimeScaleDataTest.java | 17 import android.icu.util.SimpleTimeZone; 226 utc = new SimpleTimeZone(0, "UTC");
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/ |
TimeScaleDataTest.java | 16 import com.ibm.icu.util.SimpleTimeZone; 222 utc = new SimpleTimeZone(0, "UTC");
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
ISO8601Converter.java | 15 import java.util.SimpleTimeZone; 264 binValue.setTimeZone(new SimpleTimeZone(offset, ""));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
TimeZoneTest.java | 27 import java.util.SimpleTimeZone; 50 // test on subclass SimpleTimeZone 55 // a SimpleTimeZone with daylight savings different then 1 hour 77 // test on subclass SimpleTimeZone 168 TimeZone zone = new SimpleTimeZone(45, "TEST");
|
/external/icu/icu4c/source/test/intltest/ |
tztest.cpp | 91 SimpleTimeZone *zone = new SimpleTimeZone(offset, id); 105 SimpleTimeZone copy(*zone); 107 copy = *(SimpleTimeZone*)zoneclone; 167 SimpleTimeZone *zone = new SimpleTimeZone((int32_t)offset, "TestZone"); [all...] |
tzbdtest.cpp | 271 * Test the behavior of SimpleTimeZone at the transition into and out of DST. 382 TimeZoneBoundaryTest::testUsingBinarySearch(SimpleTimeZone* tz, UDate d, UDate expectedBoundary) 388 if (failure(status, "SimpleTimeZone::inDaylightTime", TRUE)) return; 392 if (failure(status, "SimpleTimeZone::inDaylightTime")) return; 401 if (failure(status, "SimpleTimeZone::inDaylightTime")) return; 425 SimpleTimeZone *tz; 428 tz = new SimpleTimeZone(- 8 * (int32_t)ONE_HOUR, "Test_1", UCAL_AUGUST, 2, UCAL_TUESDAY, 2 * (int32_t)ONE_HOUR, UCAL_MARCH, 15, 0, 2 * (int32_t)ONE_HOUR, status); 436 tz = new SimpleTimeZone(- 8 * (int32_t)ONE_HOUR, "Test_2", UCAL_APRIL, 14, - UCAL_WEDNESDAY, 2 *(int32_t)ONE_HOUR, UCAL_SEPTEMBER, - 20, - UCAL_SUNDAY, 2 * (int32_t)ONE_HOUR, status); 498 * Test the behavior of SimpleTimeZone at the transition into and out of DST.
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 16 import android.icu.util.SimpleTimeZone; 651 void _testUsingBinarySearch(SimpleTimeZone tz, Date d, long expectedBoundary) 732 SimpleTimeZone tz; 738 tz = new SimpleTimeZone(-8*ONE_HOUR, "Test_1", 751 tz = new SimpleTimeZone(-8*ONE_HOUR, "Test_2", [all...] |
TimeZoneOffsetLocalTest.java | 21 import android.icu.util.SimpleTimeZone; 117 // Set up TimeZone objects - OlsonTimeZone, SimpleTimeZone and RuleBasedTimeZone 121 TESTZONES[1] = new SimpleTimeZone(-8*HOUR, "Simple Pacific Time",
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 15 import com.ibm.icu.util.SimpleTimeZone; 647 void _testUsingBinarySearch(SimpleTimeZone tz, Date d, long expectedBoundary) 728 SimpleTimeZone tz; 734 tz = new SimpleTimeZone(-8*ONE_HOUR, "Test_1", 747 tz = new SimpleTimeZone(-8*ONE_HOUR, "Test_2",
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/ |
ICUZDump.java | 29 import com.ibm.icu.util.SimpleTimeZone; 187 private SimpleTimeZone stz = new SimpleTimeZone(0, "");
|
/external/icu/icu4c/source/test/perf/normperf/ |
dtfmtrtperf.h | 70 SimpleTimeZone unknownZone(-31415, (UnicodeString)"Etc/Unknown");
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
TimeZone.java | 14 import java.util.SimpleTimeZone; 92 * @see SimpleTimeZone [all...] |