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.java109 HashMap<String, String[]> zoneStrings = new HashMap<String, String[]>(); in test_getZoneStrings_UTC() local
111 zoneStrings.put(row[0], row); in test_getZoneStrings_UTC()
114 assertUtc(zoneStrings.get("Etc/UCT")); in test_getZoneStrings_UTC()
115 assertUtc(zoneStrings.get("Etc/UTC")); in test_getZoneStrings_UTC()
116 assertUtc(zoneStrings.get("Etc/Universal")); in test_getZoneStrings_UTC()
117 assertUtc(zoneStrings.get("Etc/Zulu")); in test_getZoneStrings_UTC()
119 assertUtc(zoneStrings.get("UCT")); in test_getZoneStrings_UTC()
120 assertUtc(zoneStrings.get("UTC")); in test_getZoneStrings_UTC()
121 assertUtc(zoneStrings.get("Universal")); in test_getZoneStrings_UTC()
122 assertUtc(zoneStrings.get("Zulu")); in test_getZoneStrings_UTC()
/libcore/luni/src/main/java/java/text/
DDateFormatSymbols.java65 private String[][] zoneStrings; field in DateFormatSymbols
80 if (zoneStrings == null) { in internalZoneStrings()
81 zoneStrings = TimeZoneNames.getZoneStrings(locale); in internalZoneStrings()
83 return zoneStrings; in internalZoneStrings()
209 if (lhs.zoneStrings == null && rhs.zoneStrings == null && lhs.locale.equals(rhs.locale)) { in timeZoneStringsEqual()
354 String[][] zoneStrings = internalZoneStrings(); in hashCode() local
375 for (String[] element : zoneStrings) { in hashCode()
479 public void setZoneStrings(String[][] zoneStrings) { in setZoneStrings() argument
480 if (zoneStrings == null) { in setZoneStrings()
483 for (String[] row : zoneStrings) { in setZoneStrings()
[all …]
/libcore/luni/src/main/java/libcore/icu/
DTimeZoneNames.java113 …public static String getDisplayName(String[][] zoneStrings, String id, boolean daylight, int style… in getDisplayName() argument
115 int index = Arrays.binarySearch(zoneStrings, needle, ZONE_STRINGS_COMPARATOR); in getDisplayName()
117 String[] row = zoneStrings[index]; in getDisplayName()
/libcore/luni/src/main/java/java/util/
DTimeZone.java193 String[][] zoneStrings = TimeZoneNames.getZoneStrings(locale); in getDisplayName() local
194 String result = TimeZoneNames.getDisplayName(zoneStrings, getID(), daylightTime, style); in getDisplayName()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDateFormatSymbolsTest.java405 String[][] zoneStrings = symbols.getZoneStrings(); in test_serialization() local
406 assertNotNull(zoneStrings); in test_serialization()