Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java518 int pastFutureIndex = (direction == Direction.NEXT ? 1 : 0); in format() local
528 … String formatter = getRelativeUnitPluralPattern(style, unit, pastFutureIndex, pluralForm); in format()
804 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPluralPattern() argument
806 String formatter = getRelativeUnitPattern(style, unit, pastFutureIndex, pluralForm); in getRelativeUnitPluralPattern()
811 return getRelativeUnitPattern(style, unit, pastFutureIndex, StandardPlural.OTHER); in getRelativeUnitPluralPattern()
815 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPattern() argument
822 if (spfCompiledPatterns[pastFutureIndex][pluralIndex] != null) { in getRelativeUnitPattern()
823 return spfCompiledPatterns[pastFutureIndex][pluralIndex]; in getRelativeUnitPattern()
998 int pastFutureIndex; field in RelativeDateTimeFormatter.RelDateTimeDataSink
1087 pastFutureIndex = 0; in consumeTableRelativeTime()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java462 int pastFutureIndex = (direction == Direction.NEXT ? 1 : 0); in format() local
472 … String formatter = getRelativeUnitPluralPattern(style, unit, pastFutureIndex, pluralForm); in format()
741 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPluralPattern() argument
743 String formatter = getRelativeUnitPattern(style, unit, pastFutureIndex, pluralForm); in getRelativeUnitPluralPattern()
748 return getRelativeUnitPattern(style, unit, pastFutureIndex, StandardPlural.OTHER); in getRelativeUnitPluralPattern()
752 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPattern() argument
759 if (spfCompiledPatterns[pastFutureIndex][pluralIndex] != null) { in getRelativeUnitPattern()
760 return spfCompiledPatterns[pastFutureIndex][pluralIndex]; in getRelativeUnitPattern()
935 int pastFutureIndex; field in RelativeDateTimeFormatter.RelDateTimeDataSink
1024 pastFutureIndex = 0; in consumeTableRelativeTime()
[all …]
/external/icu/icu4c/source/i18n/
Dreldatefmt.cpp82 int32_t pastFutureIndex,
136 int32_t pastFutureIndex, in getRelativeUnitFormatter() argument
140 if (relativeUnitsFormatters[style][unit][pastFutureIndex][pluralUnit] != NULL) { in getRelativeUnitFormatter()
141 return relativeUnitsFormatters[style][unit][pastFutureIndex][pluralUnit]; in getRelativeUnitFormatter()
294 int32_t pastFutureIndex; // 0 == past or 1 == future member
462 [pastFutureIndex]; in consumeTimeDetail()
486 pastFutureIndex = 0; in consumeTableRelativeTime()
488 pastFutureIndex = 1; in consumeTableRelativeTime()