Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java1506 int patternCharIndex = getIndexFromChar(ch); in patternCharToDateFormatField() local
1507 if (patternCharIndex != -1) { in patternCharToDateFormatField()
1508 return PATTERN_INDEX_TO_DATE_FORMAT_ATTRIBUTE[patternCharIndex]; in patternCharToDateFormatField()
1578 int patternCharIndex = getIndexFromChar(ch); in subFormat() local
1579 if (patternCharIndex == -1) { in subFormat()
1589 final int field = PATTERN_INDEX_TO_CALENDAR_FIELD[patternCharIndex]; in subFormat()
1593 … value = (patternCharIndex != DateFormat.RELATED_YEAR)? cal.get(field): cal.getRelatedYear(); in subFormat()
1599 switch (patternCharIndex) { in subFormat()
1656 if (patternCharIndex == 2) { in subFormat()
1663 if (patternCharIndex == 2) { in subFormat()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java1495 int patternCharIndex = getIndexFromChar(ch); in patternCharToDateFormatField() local
1496 if (patternCharIndex != -1) { in patternCharToDateFormatField()
1497 return PATTERN_INDEX_TO_DATE_FORMAT_ATTRIBUTE[patternCharIndex]; in patternCharToDateFormatField()
1568 int patternCharIndex = getIndexFromChar(ch); in subFormat() local
1569 if (patternCharIndex == -1) { in subFormat()
1579 final int field = PATTERN_INDEX_TO_CALENDAR_FIELD[patternCharIndex]; in subFormat()
1583 … value = (patternCharIndex != DateFormat.RELATED_YEAR)? cal.get(field): cal.getRelatedYear(); in subFormat()
1589 switch (patternCharIndex) { in subFormat()
1646 if (patternCharIndex == 2) { in subFormat()
1653 if (patternCharIndex == 2) { in subFormat()
[all …]
/external/icu/icu4c/source/i18n/
Dsmpdtfmt.cpp1370 UDateFormatField patternCharIndex = in processOverrideString() local
1372 if (patternCharIndex == UDAT_FIELD_COUNT) { in processOverrideString()
1379 SharedObject::copyPtr(snf, fSharedNumberFormatters[patternCharIndex]); in processOverrideString()
1407 UDateFormatField patternCharIndex = DateFormatSymbols::getPatternCharIndex(ch); in subFormat() local
1417 if (patternCharIndex == UDAT_FIELD_COUNT) in subFormat()
1425 UCalendarDateFields field = fgPatternIndexToCalendarField[patternCharIndex]; in subFormat()
1429 …value = (patternCharIndex != UDAT_RELATED_YEAR_FIELD)? cal.get(field, status): cal.getRelatedYear(… in subFormat()
1435 currentNumberFormat = getNumberFormatByIndex(patternCharIndex); in subFormat()
1442 switch (patternCharIndex) { in subFormat()
1509 if (patternCharIndex == UDAT_MONTH_FIELD) { in subFormat()
[all …]