/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TimeZoneTest.java | 110 "GMT", TimeZone.getTimeZone("SMT-8").getID()); in test_getTimeZoneLjava_lang_String() 112 "GMT", TimeZone.getTimeZone("GMT+28:70").getID()); in test_getTimeZoneLjava_lang_String() 114 "GMT", TimeZone.getTimeZone("GMT+28:30").getID()); in test_getTimeZoneLjava_lang_String() 116 "GMT", TimeZone.getTimeZone("GMT+8:70").getID()); in test_getTimeZoneLjava_lang_String() 118 "GMT", TimeZone.getTimeZone("GMT+3:").getID()); in test_getTimeZoneLjava_lang_String() 120 "GMT", TimeZone.getTimeZone("GMT+3:0").getID()); in test_getTimeZoneLjava_lang_String() 122 "GMT", TimeZone.getTimeZone("GMT+2360").getID()); in test_getTimeZoneLjava_lang_String() 124 "GMT", TimeZone.getTimeZone("GMT+892").getID()); in test_getTimeZoneLjava_lang_String() 126 "GMT", TimeZone.getTimeZone("GMT+082").getID()); in test_getTimeZoneLjava_lang_String() 128 "GMT", TimeZone.getTimeZone("GMT+28").getID()); in test_getTimeZoneLjava_lang_String() [all …]
|
D | SimpleTimeZoneTest.java | 39 assertEquals("Incorrect TZ constructed", "TEST", st.getID()); in test_ConstructorILjava_lang_String() 62 assertEquals("Incorrect TZ constructed", "TEST", st.getID()); in test_ConstructorILjava_lang_StringIIIIIIII() 119 assertEquals("Incorrect TZ constructed", "TEST", st.getID()); in test_ConstructorILjava_lang_StringIIIIIIIII() 310 … st1 = new SimpleTimeZone(TimeZone.getDefault().getRawOffset(), TimeZone.getDefault().getID()); in test_getOffsetIIIIII() 815 … st1 = new SimpleTimeZone(TimeZone.getDefault().getRawOffset(), TimeZone.getDefault().getID()); in test_getOffsetJ()
|
D | CalendarTest.java | 671 .getID(), est_calendar.getTimeZone().getID()); in test_getInstance()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | TimeZoneTest.java | 198 assertEquals("GMT+05:00", TimeZone.getTimeZone("GMT+05:00").getID()); in testCustomZoneIds() 199 assertEquals("GMT+05:00", TimeZone.getTimeZone("GMT+5:00").getID()); in testCustomZoneIds() 200 assertEquals("GMT+05:00", TimeZone.getTimeZone("GMT+0500").getID()); in testCustomZoneIds() 201 assertEquals("GMT+05:00", TimeZone.getTimeZone("GMT+500").getID()); in testCustomZoneIds() 202 assertEquals("GMT+05:00", TimeZone.getTimeZone("GMT+5").getID()); in testCustomZoneIds() 204 assertEquals("GMT", TimeZone.getTimeZone("GMT+5.5").getID()); in testCustomZoneIds() 205 assertEquals("GMT", TimeZone.getTimeZone("GMT+5:5").getID()); in testCustomZoneIds() 206 assertEquals("GMT", TimeZone.getTimeZone("GMT+5:0").getID()); in testCustomZoneIds() 207 assertEquals("GMT", TimeZone.getTimeZone("GMT+5:005").getID()); in testCustomZoneIds() 208 assertEquals("GMT", TimeZone.getTimeZone("GMT+5:000").getID()); in testCustomZoneIds() [all …]
|
D | OldTimeZoneTest.java | 128 assertEquals("GMT-06:00", tz.getID()); in test_getID() 130 assertEquals("America/Denver", tz.getID()); in test_getID() 143 assertFalse(tz1.getID().equals(tz2.getID())); in test_hasSameRulesLjava_util_TimeZone() 150 assertEquals("GMT-06:00", tz.getID()); in test_setIDLjava_lang_String() 152 assertEquals("New ID for GMT-6", tz.getID()); in test_setIDLjava_lang_String()
|
D | GregorianCalendarTest.java | 453 public String getID() { in getID() method in GregorianCalendarTest.DelegatingTimeZone 454 return timeZone.getID(); in getID()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | Extension.java | 61 public String getID() { in getID() method in Extension 66 return getID(); in toString()
|
D | LocaleExtensions.java | 223 public String getID() { in getID() method in LocaleExtensions
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 150 setID(delegate.getID()); in ZoneInfo() 157 mDelegate = ZoneInfoData.createFromSerializationFields(getID(), getField); in readObject() 279 return getID().equals(other.getID()) && hasSameRules(other); in equals()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | TimeZoneBenchmark.java | 35 String defaultId = TimeZone.getDefault().getID(); in timeTimeZone_getTimeZone_default()
|
/libcore/ojluni/src/main/java/java/util/ |
D | TimeZone.java | 293 public String getID() in getID() method in TimeZone 407 String canonicalID = android.icu.util.TimeZone.getCanonicalID(getID()); in getDisplayName() 623 return ZoneId.of(getID(), ZoneId.SHORT_IDS); in toZoneId()
|
D | SimpleTimeZone.java | 902 return getID().equals(that.getID()) && in equals() 947 "[id=" + getID() + in toString()
|
D | Locale.java | 1425 boolean e = (localeExtensions != null && localeExtensions.getID().length() != 0); in toString() 1447 result.append(localeExtensions.getID()); in toString() 2620 fields.put("extensions", localeExtensions == null ? "" : localeExtensions.getID()); in writeObject()
|
D | Calendar.java | 3576 String id = zone.getID(); in readObject() 3578 if (tz != null && tz.hasSameRules(zone) && tz.getID().equals(id)) { in readObject()
|
/libcore/ojluni/src/main/java/java/text/ |
D | SimpleDateFormat.java | 1453 formatData.getZoneStringsWrapper(), tz.getID(), daylight, tzstyle); in subFormat() 1465 String canonicalID = android.icu.util.TimeZone.getCanonicalID(tz.getID()); in subFormat() 2012 String currentTimeZoneID = android.icu.util.TimeZone.getCanonicalID(getTimeZone().getID()); in subParseZoneStringFromICU() 2047 int zoneIndex = formatData.getZoneIndex(currentTimeZone.getID()); in subParseZoneStringFromSymbols() 2063 zoneIndex = formatData.getZoneIndex(TimeZone.getDefault().getID()); in subParseZoneStringFromSymbols() 2968 String id = tz.getID(); in readObject() 2970 if (zi != null && zi.hasSameRules(tz) && zi.getID().equals(id)) { in readObject()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | DateUtilsBridge.java | 54 android.icu.util.TimeZone icuTimeZone = TimeZone.getTimeZone(tz.getID()); in icuTimeZone()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestZoneTextPrinterParser.java | 99 if (tz.getID().equals("GMT")) { in test_printText()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | SimpleDateFormatTest.java | 606 assertEquals(timeZoneId, timeZone.getID()); in doTestFormat() 654 assertEquals(timeZoneId, timeZone.getID()); in doUtcParsingTest()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestZoneId.java | 129 assertEquals(test.getId(), TimeZone.getDefault().getID()); in test_systemDefault()
|
/libcore/api/ |
D | current.txt | 13917 method public String getID();
|