Searched refs:getID (Results 1 – 13 of 13) sorted by relevance
/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 | 146 assertEquals("GMT+05:00", TimeZone.getTimeZone("GMT+05:00").getID()); in testCustomZoneIds() 147 assertEquals("GMT+05:00", TimeZone.getTimeZone("GMT+5:00").getID()); in testCustomZoneIds() 148 assertEquals("GMT+05:00", TimeZone.getTimeZone("GMT+0500").getID()); in testCustomZoneIds() 149 assertEquals("GMT+05:00", TimeZone.getTimeZone("GMT+500").getID()); in testCustomZoneIds() 150 assertEquals("GMT+05:00", TimeZone.getTimeZone("GMT+5").getID()); in testCustomZoneIds() 152 assertEquals("GMT", TimeZone.getTimeZone("GMT+5.5").getID()); in testCustomZoneIds() 153 assertEquals("GMT", TimeZone.getTimeZone("GMT+5:5").getID()); in testCustomZoneIds() 154 assertEquals("GMT", TimeZone.getTimeZone("GMT+5:0").getID()); in testCustomZoneIds() 155 assertEquals("GMT", TimeZone.getTimeZone("GMT+5:005").getID()); in testCustomZoneIds() 156 assertEquals("GMT", TimeZone.getTimeZone("GMT+5:000").getID()); in testCustomZoneIds() [all …]
|
D | OldTimeZoneTest.java | 142 assertEquals("GMT-06:00", tz.getID()); in test_getID() 144 assertEquals("America/Denver", tz.getID()); in test_getID() 157 assertFalse(tz1.getID().equals(tz2.getID())); in test_hasSameRulesLjava_util_TimeZone() 164 assertEquals("GMT-06:00", tz.getID()); in test_setIDLjava_lang_String() 166 assertEquals("New ID for GMT-6", tz.getID()); in test_setIDLjava_lang_String()
|
/libcore/luni/src/test/java/libcore/util/ |
D | ZoneInfoDBTest.java | 92 assertFalse(first.getID().equals(second.getID())); in testMakeTimeZone_timeZoneMutability()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | TimeZoneBenchmark.java | 36 String defaultId = TimeZone.getDefault().getID(); in timeTimeZone_getTimeZone_default()
|
/libcore/luni/src/main/java/java/util/ |
D | TimeZone.java | 194 String result = TimeZoneNames.getDisplayName(zoneStrings, getID(), daylightTime, style); in getDisplayName() 262 public String getID() { in getID() method in TimeZone
|
D | SimpleTimeZone.java | 320 return getID().equals(tz.getID()) in equals() 496 int hashCode = getID().hashCode() + rawOffset; in hashCode() 801 + getID() in toString()
|
D | Calendar.java | 1228 ",zone=" + zone.getID() + in toString()
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 284 return getID().equals(other.getID()) && hasSameRules(other); in equals() 291 result = prime * result + getID().hashCode(); in hashCode() 303 return getClass().getName() + "[id=\"" + getID() + "\"" + in toString()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | DateIntervalFormat.java | 102 … return formatDateInterval(getFormatter(skeleton, locale.toString(), tz.getID()), startMs, endMs); in formatDateRange()
|
/libcore/luni/src/main/java/java/text/ |
D | DateFormatSymbols.java | 508 return TimeZoneNames.getDisplayName(zoneStrings, tz.getID(), daylight, style); in getTimeZoneDisplayName()
|