Home
last modified time | relevance | path

Searched refs:fallbackPattern (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4c/source/i18n/
Ddtitvinf.cpp101 const UnicodeString& fallbackPattern, in setFallbackIntervalPattern() argument
106 int32_t firstPatternIndex = fallbackPattern.indexOf(gFirstPattern, in setFallbackIntervalPattern()
108 int32_t secondPatternIndex = fallbackPattern.indexOf(gSecondPattern, in setFallbackIntervalPattern()
117 fFallbackIntervalPattern = fallbackPattern; in setFallbackIntervalPattern()
Ddtitvfmt.cpp1375 UnicodeString fallbackPattern; in fallbackFormat() local
1376 fInfo->getFallbackIntervalPattern(fallbackPattern); in fallbackFormat()
1377 adjustPosition(fallbackPattern, *earlierDate, pos, *laterDate, otherPos, pos); in fallbackFormat()
1383 MessageFormat::format(fallbackPattern, fmtArray, 2, fallbackRange, status); in fallbackFormat()
Dtzgnames.cpp375 …const UChar *fallbackPattern = ures_getStringByKeyWithFallback(zoneStrings, gFallbackFormatTag, NU… in initialize() local
376 if (U_SUCCESS(tmpsts) && u_strlen(fallbackPattern) > 0) { in initialize()
377 fpat.setTo(fallbackPattern, -1); in initialize()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java781 public void setFallbackIntervalPattern(String fallbackPattern) in setFallbackIntervalPattern() argument
786 int firstPatternIndex = fallbackPattern.indexOf("{0}"); in setFallbackIntervalPattern()
787 int secondPatternIndex = fallbackPattern.indexOf("{1}"); in setFallbackIntervalPattern()
794 fFallbackIntervalPattern = fallbackPattern; in setFallbackIntervalPattern()
DDateIntervalFormat.java841 String fallbackPattern = fInfo.getFallbackIntervalPattern(); in fallbackFormat() local
842 … adjustPosition(fallbackPattern, earlierDate.toString(), pos, laterDate.toString(), otherPos, pos); in fallbackFormat()
843 String fallbackRange = MessageFormat.format(fallbackPattern, new Object[] in fallbackFormat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java794 public void setFallbackIntervalPattern(String fallbackPattern) in setFallbackIntervalPattern() argument
799 int firstPatternIndex = fallbackPattern.indexOf("{0}"); in setFallbackIntervalPattern()
800 int secondPatternIndex = fallbackPattern.indexOf("{1}"); in setFallbackIntervalPattern()
807 fFallbackIntervalPattern = fallbackPattern; in setFallbackIntervalPattern()
DDateIntervalFormat.java849 String fallbackPattern = fInfo.getFallbackIntervalPattern(); in fallbackFormat() local
850 … adjustPosition(fallbackPattern, earlierDate.toString(), pos, laterDate.toString(), otherPos, pos); in fallbackFormat()
851 String fallbackRange = MessageFormat.format(fallbackPattern, new Object[] in fallbackFormat()
/external/icu/icu4c/source/i18n/unicode/
Ddtitvinf.h303 void setFallbackIntervalPattern(const UnicodeString& fallbackPattern,