Home
last modified time | relevance | path

Searched refs:getID (Results 1 – 20 of 20) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimeZoneTest.java110 "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 …]
DSimpleTimeZoneTest.java39 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()
DCalendarTest.java671 .getID(), est_calendar.getTimeZone().getID()); in test_getInstance()
/libcore/luni/src/test/java/libcore/java/util/
DTimeZoneTest.java198 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 …]
DOldTimeZoneTest.java128 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()
DGregorianCalendarTest.java453 public String getID() { in getID() method in GregorianCalendarTest.DelegatingTimeZone
454 return timeZone.getID(); in getID()
/libcore/ojluni/src/main/java/sun/util/locale/
DExtension.java61 public String getID() { in getID() method in Extension
66 return getID(); in toString()
DLocaleExtensions.java223 public String getID() { in getID() method in LocaleExtensions
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java150 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/
DTimeZoneBenchmark.java35 String defaultId = TimeZone.getDefault().getID(); in timeTimeZone_getTimeZone_default()
/libcore/ojluni/src/main/java/java/util/
DTimeZone.java293 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()
DSimpleTimeZone.java902 return getID().equals(that.getID()) && in equals()
947 "[id=" + getID() + in toString()
DLocale.java1425 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()
DCalendar.java3576 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/
DSimpleDateFormat.java1453 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/
DDateUtilsBridge.java54 android.icu.util.TimeZone icuTimeZone = TimeZone.getTimeZone(tz.getID()); in icuTimeZone()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneTextPrinterParser.java99 if (tz.getID().equals("GMT")) { in test_printText()
/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java606 assertEquals(timeZoneId, timeZone.getID()); in doTestFormat()
654 assertEquals(timeZoneId, timeZone.getID()); in doUtcParsingTest()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestZoneId.java129 assertEquals(test.getId(), TimeZone.getDefault().getID()); in test_systemDefault()
/libcore/api/
Dcurrent.txt13917 method public String getID();