Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java584 … String fallbackPattern = resource.getStringWithFallback(CALENDAR_KEY + "/" + calendarTypeToUse in setup() local
586 setFallbackIntervalPattern(fallbackPattern); in setup()
881 public void setFallbackIntervalPattern(String fallbackPattern) in setFallbackIntervalPattern() argument
886 int firstPatternIndex = fallbackPattern.indexOf("{0}"); in setFallbackIntervalPattern()
887 int secondPatternIndex = fallbackPattern.indexOf("{1}"); in setFallbackIntervalPattern()
894 fFallbackIntervalPattern = fallbackPattern; in setFallbackIntervalPattern()
DDateIntervalFormat.java857 String fallbackPattern = fInfo.getFallbackIntervalPattern(); in fallbackFormat() local
858 … adjustPosition(fallbackPattern, earlierDate.toString(), pos, laterDate.toString(), otherPos, pos); in fallbackFormat()
860 fallbackPattern, 2, 2, earlierDate, laterDate); in fallbackFormat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java594 … String fallbackPattern = resource.getStringWithFallback(CALENDAR_KEY + "/" + calendarTypeToUse in setup() local
596 setFallbackIntervalPattern(fallbackPattern); in setup()
895 public void setFallbackIntervalPattern(String fallbackPattern) in setFallbackIntervalPattern() argument
900 int firstPatternIndex = fallbackPattern.indexOf("{0}"); in setFallbackIntervalPattern()
901 int secondPatternIndex = fallbackPattern.indexOf("{1}"); in setFallbackIntervalPattern()
908 fFallbackIntervalPattern = fallbackPattern; in setFallbackIntervalPattern()
DDateIntervalFormat.java865 String fallbackPattern = fInfo.getFallbackIntervalPattern(); in fallbackFormat() local
866 … adjustPosition(fallbackPattern, earlierDate.toString(), pos, laterDate.toString(), otherPos, pos); in fallbackFormat()
868 fallbackPattern, 2, 2, earlierDate, laterDate); in fallbackFormat()
/external/icu/icu4c/source/i18n/
Ddtitvinf.cpp103 const UnicodeString& fallbackPattern, in setFallbackIntervalPattern() argument
108 int32_t firstPatternIndex = fallbackPattern.indexOf(gFirstPattern, in setFallbackIntervalPattern()
110 int32_t secondPatternIndex = fallbackPattern.indexOf(gSecondPattern, in setFallbackIntervalPattern()
119 fFallbackIntervalPattern = fallbackPattern; in setFallbackIntervalPattern()
Ddtitvfmt.cpp1360 UnicodeString fallbackPattern; in fallbackFormat() local
1361 fInfo->getFallbackIntervalPattern(fallbackPattern); in fallbackFormat()
1362 adjustPosition(fallbackPattern, earlierDate, pos, laterDate, otherPos, pos); in fallbackFormat()
1364 SimpleFormatter(fallbackPattern, 2, 2, status). in fallbackFormat()
Dtzgnames.cpp376 …const UChar *fallbackPattern = ures_getStringByKeyWithFallback(zoneStrings, gFallbackFormatTag, NU… in initialize() local
377 if (U_SUCCESS(tmpsts) && u_strlen(fallbackPattern) > 0) { in initialize()
378 fpat.setTo(fallbackPattern, -1); in initialize()
/external/icu/icu4c/source/i18n/unicode/
Ddtitvinf.h303 void setFallbackIntervalPattern(const UnicodeString& fallbackPattern,