Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dsmpdtfmt.cpp1446 UDateFormatField patternCharIndex = in processOverrideString() local
1448 if (patternCharIndex == UDAT_FIELD_COUNT) { in processOverrideString()
1455 SharedObject::copyPtr(snf, fSharedNumberFormatters[patternCharIndex]); in processOverrideString()
1484 UDateFormatField patternCharIndex = DateFormatSymbols::getPatternCharIndex(ch); in subFormat() local
1494 if (patternCharIndex == UDAT_FIELD_COUNT) in subFormat()
1502 UCalendarDateFields field = fgPatternIndexToCalendarField[patternCharIndex]; in subFormat()
1506 …value = (patternCharIndex != UDAT_RELATED_YEAR_FIELD)? cal.get(field, status): cal.getRelatedYear(… in subFormat()
1512 currentNumberFormat = getNumberFormatByIndex(patternCharIndex); in subFormat()
1519 switch (patternCharIndex) { in subFormat()
1586 if (patternCharIndex == UDAT_MONTH_FIELD) { in subFormat()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java1525 int patternCharIndex = getIndexFromChar(ch); in patternCharToDateFormatField() local
1526 if (patternCharIndex != -1) { in patternCharToDateFormatField()
1527 return PATTERN_INDEX_TO_DATE_FORMAT_ATTRIBUTE[patternCharIndex]; in patternCharToDateFormatField()
1599 int patternCharIndex = getIndexFromChar(ch); in subFormat() local
1600 if (patternCharIndex == -1) { in subFormat()
1610 final int field = PATTERN_INDEX_TO_CALENDAR_FIELD[patternCharIndex]; in subFormat()
1614 … value = (patternCharIndex != DateFormat.RELATED_YEAR)? cal.get(field): cal.getRelatedYear(); in subFormat()
1620 switch (patternCharIndex) { in subFormat()
1677 if (patternCharIndex == 2) { in subFormat()
1684 if (patternCharIndex == 2) { in subFormat()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java1514 int patternCharIndex = getIndexFromChar(ch); in patternCharToDateFormatField() local
1515 if (patternCharIndex != -1) { in patternCharToDateFormatField()
1516 return PATTERN_INDEX_TO_DATE_FORMAT_ATTRIBUTE[patternCharIndex]; in patternCharToDateFormatField()
1587 int patternCharIndex = getIndexFromChar(ch); in subFormat() local
1588 if (patternCharIndex == -1) { in subFormat()
1598 final int field = PATTERN_INDEX_TO_CALENDAR_FIELD[patternCharIndex]; in subFormat()
1602 … value = (patternCharIndex != DateFormat.RELATED_YEAR)? cal.get(field): cal.getRelatedYear(); in subFormat()
1608 switch (patternCharIndex) { in subFormat()
1665 if (patternCharIndex == 2) { in subFormat()
1672 if (patternCharIndex == 2) { in subFormat()
[all …]