Home
last modified time | relevance | path

Searched refs:TimeZoneNames (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/icu/
DTimeZoneNamesTest.java26 String[] ids = TimeZoneNames.forLocale(Locale.CANADA); in test_forLocale()
53 String[] ids = TimeZoneNames.forLocale(Locale.KOREA);
59 assertTrue(TimeZoneNames.forLocale(l) != null);
64 assertEquals("Moscow", TimeZoneNames.getExemplarLocation("en_US", "Europe/Moscow"));
65 assertEquals("Moskau", TimeZoneNames.getExemplarLocation("de_DE", "Europe/Moscow"));
66 assertEquals("Seoul", TimeZoneNames.getExemplarLocation("en_US", "Asia/Seoul"));
67 assertEquals("서울", TimeZoneNames.getExemplarLocation("ko_KR", "Asia/Seoul"));
/libcore/luni/src/main/native/
Dlibcore_icu_TimeZoneNames.cpp70 UniquePtr<TimeZoneNames> names(TimeZoneNames::createInstance(icuLocale.locale(), status)); in TimeZoneNames_fillZoneStrings()
126 UniquePtr<TimeZoneNames> names(TimeZoneNames::createInstance(icuLocale.locale(), status)); in TimeZoneNames_getExemplarLocation()
143 NATIVE_METHOD(TimeZoneNames, fillZoneStrings, "(Ljava/lang/String;[[Ljava/lang/String;)V"),
144 …NATIVE_METHOD(TimeZoneNames, getExemplarLocation, "(Ljava/lang/String;Ljava/lang/String;)Ljava/lan…
/libcore/luni/src/main/java/java/util/
DTimeZone.java24 import libcore.icu.TimeZoneNames;
193 String[][] zoneStrings = TimeZoneNames.getZoneStrings(locale); in getDisplayName()
194 String result = TimeZoneNames.getDisplayName(zoneStrings, getID(), daylightTime, style); in getDisplayName()
/libcore/luni/src/main/java/libcore/icu/
DTimeZoneNames.java31 public final class TimeZoneNames { class
108 private TimeZoneNames() {} in TimeZoneNames() method in TimeZoneNames
/libcore/luni/src/main/java/java/text/
DDateFormatSymbols.java29 import libcore.icu.TimeZoneNames;
81 zoneStrings = TimeZoneNames.getZoneStrings(locale); in internalZoneStrings()
508 return TimeZoneNames.getDisplayName(zoneStrings, tz.getID(), daylight, style); in getTimeZoneDisplayName()
DSimpleDateFormat.java33 import libcore.icu.TimeZoneNames;
1217 for (int i = TimeZoneNames.LONG_NAME; i < TimeZoneNames.NAME_COUNT; ++i) { in parseTimeZone()
1225 TimeZone zone = TimeZone.getTimeZone(row[TimeZoneNames.OLSON_NAME]); in parseTimeZone()
1230 if (i == TimeZoneNames.LONG_NAME_DST || i == TimeZoneNames.SHORT_NAME_DST) { in parseTimeZone()