Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/text/
DDateFormatSymbols.java224 String zoneStrings[][] = null; field in DateFormatSymbols
690 zoneStrings = aCopy; in setZoneStrings()
913 String[][] zoneStrings = getZoneStringsWrapper(); in getZoneIndex() local
920 if (lastZoneIndex < zoneStrings.length && ID.equals(zoneStrings[lastZoneIndex][0])) { in getZoneIndex()
925 for (int index = 0; index < zoneStrings.length; index++) { in getZoneIndex()
926 if (ID.equals(zoneStrings[index][0])) { in getZoneIndex()
950 if (zoneStrings == null) { in internalZoneStrings()
951 zoneStrings = TimeZoneNames.getZoneStrings(locale); in internalZoneStrings()
953 return zoneStrings; in internalZoneStrings()
959 String[][] zoneStrings = internalZoneStrings(); in getZoneStringsImpl() local
[all …]
DSimpleDateFormat.java2127 String[][] zoneStrings = formatData.getZoneStringsWrapper(); in subParseZoneStringFromSymbols() local
2131 zoneNames = zoneStrings[zoneIndex]; in subParseZoneStringFromSymbols()
2143 zoneNames = zoneStrings[zoneIndex]; in subParseZoneStringFromSymbols()
2154 int len = zoneStrings.length; in subParseZoneStringFromSymbols()
2156 zoneNames = zoneStrings[i]; in subParseZoneStringFromSymbols()
/libcore/luni/src/main/java/libcore/icu/
DTimeZoneNames.java125 …public static String getDisplayName(String[][] zoneStrings, String id, boolean daylight, int style… in getDisplayName() argument
127 int index = Arrays.binarySearch(zoneStrings, needle, ZONE_STRINGS_COMPARATOR); in getDisplayName()
129 String[] row = zoneStrings[index]; in getDisplayName()
/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java507 String[][] zoneStrings = symbols.getZoneStrings(); in testZoneStringsUsedForParsingWhenPresent() local
508 TimeZone tz = TimeZone.getTimeZone(zoneStrings[0][0]); in testZoneStringsUsedForParsingWhenPresent()
509 zoneStrings[0][1] = "CustomTimeZone"; in testZoneStringsUsedForParsingWhenPresent()
510 symbols.setZoneStrings(zoneStrings); in testZoneStringsUsedForParsingWhenPresent()
521 String[][] zoneStrings = symbols.getZoneStrings(); in testTimeZoneFormattingRespectsSetZoneStrings() local
522 TimeZone tz = TimeZone.getTimeZone(zoneStrings[0][0]); in testTimeZoneFormattingRespectsSetZoneStrings()
523 String originalTzName = zoneStrings[0][1]; in testTimeZoneFormattingRespectsSetZoneStrings()
524 symbols.setZoneStrings(zoneStrings); in testTimeZoneFormattingRespectsSetZoneStrings()
532 zoneStrings[0][1] = "CustomTimeZone"; in testTimeZoneFormattingRespectsSetZoneStrings()
533 symbols.setZoneStrings(zoneStrings); in testTimeZoneFormattingRespectsSetZoneStrings()
[all …]
DDateFormatSymbolsTest.java195 String[][] zoneStrings = dfs.getZoneStrings(); in test_setZoneStrings_checks_dimensions() local
196 zoneStrings[0] = new String[] { "id_only " }; in test_setZoneStrings_checks_dimensions()
198 dfs.setZoneStrings(zoneStrings); in test_setZoneStrings_checks_dimensions()
/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()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java4288 String[][] zoneStrings = null; in getTree() local