Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dreldatefmt.cpp55 for (int32_t relUnit = 0; relUnit < UDAT_RELATIVE_UNIT_COUNT; ++relUnit) { in RelativeDateTimeCacheData() local
57 relativeUnitsFormatters[style][relUnit][0][pl] = NULL; in RelativeDateTimeCacheData()
58 relativeUnitsFormatters[style][relUnit][1][pl] = NULL; in RelativeDateTimeCacheData()
108 for (int32_t relUnit = 0; relUnit < UDAT_RELATIVE_UNIT_COUNT; ++relUnit) { in ~RelativeDateTimeCacheData() local
110 delete relativeUnitsFormatters[style][relUnit][0][pl]; in ~RelativeDateTimeCacheData()
111 delete relativeUnitsFormatters[style][relUnit][1][pl]; in ~RelativeDateTimeCacheData()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java927 RelativeUnit relUnit; field in RelativeDateTimeFormatter.RelDateTimeDataSink.DateTimeUnit
930 DateTimeUnit(RelativeUnit relUnit, AbsoluteUnit absUnit) { in DateTimeUnit() argument
931 this.relUnit = relUnit; in DateTimeUnit()
1039 if (unit.relUnit == RelativeUnit.SECONDS) { in consumeTableRelative()
1081 if (unit.relUnit == null) { in consumeTableRelativeTime()
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.java864 RelativeUnit relUnit; field in RelativeDateTimeFormatter.RelDateTimeDataSink.DateTimeUnit
867 DateTimeUnit(RelativeUnit relUnit, AbsoluteUnit absUnit) { in DateTimeUnit() argument
868 this.relUnit = relUnit; in DateTimeUnit()
976 if (unit.relUnit == RelativeUnit.SECONDS) { in consumeTableRelative()
1018 if (unit.relUnit == null) { in consumeTableRelativeTime()
1043 String[][] patterns = unitPatterns.get(unit.relUnit); in consumeTimeDetail()
1046 unitPatterns.put(unit.relUnit, patterns); in consumeTimeDetail()