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.java859 EnumMap<RelativeUnit, String[][]> unitPatterns = in put() local
861 if (unitPatterns == null) { in put()
862 unitPatterns = new EnumMap<RelativeUnit, String[][]>(RelativeUnit.class); in put()
863 styleRelUnitPatterns.put(style, unitPatterns); in put()
865 String[][] patterns = unitPatterns.get(unit.relUnit); in put()
868 unitPatterns.put(unit.relUnit, patterns); in put()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java812 EnumMap<RelativeUnit, String[][]> unitPatterns = in put() local
814 if (unitPatterns == null) { in put()
815 unitPatterns = new EnumMap<RelativeUnit, String[][]>(RelativeUnit.class); in put()
816 styleRelUnitPatterns.put(style, unitPatterns); in put()
818 String[][] patterns = unitPatterns.get(unit.relUnit); in put()
821 unitPatterns.put(unit.relUnit, patterns); in put()
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp1039 SimplePatternFormatter *const (*unitPatterns)[MeasureFormatCacheData::PATTERN_COUNT] = in getFormatterOrNull() local
1041 if (unitPatterns[width][index] != NULL) { in getFormatterOrNull()
1042 return unitPatterns[width][index]; in getFormatterOrNull()
1045 if (fallbackWidth != UMEASFMT_WIDTH_COUNT && unitPatterns[fallbackWidth][index] != NULL) { in getFormatterOrNull()
1046 return unitPatterns[fallbackWidth][index]; in getFormatterOrNull()