Home
last modified time | relevance | path

Searched refs:zoneStrings (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DDateFormatSymbolsTest.java106 HashMap<String, String[]> zoneStrings = new HashMap<String, String[]>(); in test_getZoneStrings_UTC() local
108 zoneStrings.put(row[0], row); in test_getZoneStrings_UTC()
111 assertUtc(zoneStrings.get("Etc/UCT")); in test_getZoneStrings_UTC()
112 assertUtc(zoneStrings.get("Etc/UTC")); in test_getZoneStrings_UTC()
113 assertUtc(zoneStrings.get("Etc/Universal")); in test_getZoneStrings_UTC()
114 assertUtc(zoneStrings.get("Etc/Zulu")); in test_getZoneStrings_UTC()
116 assertUtc(zoneStrings.get("UCT")); in test_getZoneStrings_UTC()
117 assertUtc(zoneStrings.get("UTC")); in test_getZoneStrings_UTC()
118 assertUtc(zoneStrings.get("Universal")); in test_getZoneStrings_UTC()
119 assertUtc(zoneStrings.get("Zulu")); in test_getZoneStrings_UTC()
/libcore/luni/src/main/java/java/text/
DDateFormatSymbols.java65 String[][] zoneStrings; field in DateFormatSymbols
82 if (zoneStrings == null) { in internalZoneStrings()
83 zoneStrings = TimeZoneNames.getZoneStrings(locale); in internalZoneStrings()
85 return zoneStrings; in internalZoneStrings()
205 if (lhs.zoneStrings == null && rhs.zoneStrings == null && lhs.locale.equals(rhs.locale)) { in timeZoneStringsEqual()
353 String[][] zoneStrings = internalZoneStrings(); in hashCode() local
374 for (String[] element : zoneStrings) { in hashCode()
478 public void setZoneStrings(String[][] zoneStrings) { in setZoneStrings() argument
479 if (zoneStrings == null) { in setZoneStrings()
482 for (String[] row : zoneStrings) { in setZoneStrings()
[all …]
DSimpleDateFormat.java758 … String custom = TimeZoneNames.getDisplayName(formatData.zoneStrings, tz.getID(), daylight, style); in appendTimeZone()
/libcore/luni/src/main/java/libcore/icu/
DTimeZoneNames.java118 …public static String getDisplayName(String[][] zoneStrings, String id, boolean daylight, int style… in getDisplayName() argument
120 int index = Arrays.binarySearch(zoneStrings, needle, ZONE_STRINGS_COMPARATOR); in getDisplayName()
122 String[] row = zoneStrings[index]; in getDisplayName()
/libcore/luni/src/main/java/java/util/
DTimeZone.java174 String[][] zoneStrings = TimeZoneNames.getZoneStrings(locale); in getDisplayName() local
175 String result = TimeZoneNames.getDisplayName(zoneStrings, getID(), daylightTime, style); in getDisplayName()