Home
last modified time | relevance | path

Searched refs:unitPatterns (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java1101 EnumMap<RelativeUnit, String[][]> unitPatterns = styleRelUnitPatterns.get(style); in consumeTimeDetail() local
1102 if (unitPatterns == null) { in consumeTimeDetail()
1103 unitPatterns = new EnumMap<RelativeUnit, String[][]>(RelativeUnit.class); in consumeTimeDetail()
1104 styleRelUnitPatterns.put(style, unitPatterns); in consumeTimeDetail()
1106 String[][] patterns = unitPatterns.get(unit.relUnit); in consumeTimeDetail()
1109 unitPatterns.put(unit.relUnit, patterns); in consumeTimeDetail()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java1038 EnumMap<RelativeUnit, String[][]> unitPatterns = styleRelUnitPatterns.get(style); in consumeTimeDetail() local
1039 if (unitPatterns == null) { in consumeTimeDetail()
1040 unitPatterns = new EnumMap<RelativeUnit, String[][]>(RelativeUnit.class); in consumeTimeDetail()
1041 styleRelUnitPatterns.put(style, unitPatterns); in consumeTimeDetail()
1043 String[][] patterns = unitPatterns.get(unit.relUnit); in consumeTimeDetail()
1046 unitPatterns.put(unit.relUnit, patterns); in consumeTimeDetail()
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp1095 SimpleFormatter *const (*unitPatterns)[MeasureFormatCacheData::PATTERN_COUNT] = in getFormatterOrNull() local
1097 if (unitPatterns[width][index] != NULL) { in getFormatterOrNull()
1098 return unitPatterns[width][index]; in getFormatterOrNull()
1101 if (fallbackWidth != UMEASFMT_WIDTH_COUNT && unitPatterns[fallbackWidth][index] != NULL) { in getFormatterOrNull()
1102 return unitPatterns[fallbackWidth][index]; in getFormatterOrNull()