Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp449 static const char* PATTERN_CHARS = "GyMdkHmsSEDFwWahKzYeugAZvcLQqVUOXxrbB:"; variable
451 static const char* PATTERN_CHARS = "GyMdkHmsSEDFwWahKzYeugAZvcLQqVUOXxrbB"; variable
519 assertEquals("patternChars", PATTERN_CHARS, rootSyms.getLocalPatternChars(buf)); in TestFieldPosition()
520 assertEquals("patternChars", PATTERN_CHARS, DateFormatSymbols::getPatternUChars()); in TestFieldPosition()
523 assertTrue("Data", UDAT_FIELD_COUNT == uprv_strlen(PATTERN_CHARS)); in TestFieldPosition()
525 …assertTrue("Data", UDAT_FIELD_COUNT == uprv_strlen(PATTERN_CHARS) + 1); // +1 for missing TIME_SEP… in TestFieldPosition()
534 buf.remove().append(PATTERN_CHARS); in TestFieldPosition()
5705 …assertFalse("Field missing on pattern", pattern.indexOf(PATTERN_CHARS[curFieldPosition.getField()]… in Test20741_ABFields()
5707 …sertEquals("Different fields at same position", PATTERN_CHARS[curFieldPosition.getField()], PATTER… in Test20741_ABFields()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java356 assertEquals("patternChars", PATTERN_CHARS, rootSyms.getLocalPatternChars()); in TestFieldPosition()
360 …if(DateFormat.FIELD_COUNT != PATTERN_CHARS.length() + 1){ // +1 for missing TIME_SEPARATOR pattern… in TestFieldPosition()
361 …id not get the correct value for DateFormat.FIELD_COUNT. Expected: "+ PATTERN_CHARS.length() + 1); in TestFieldPosition()
370 buf.append(PATTERN_CHARS); in TestFieldPosition()
507 static final String PATTERN_CHARS = "GyMdkHmsSEDFwWahKzYeugAZvcLQqVUOXxrbB"; field in DateFormatTest
3494 for (int j = 0; j < PATTERN_CHARS.length(); j++) { in TestFormatToCharacterIterator()
3500 char letter = PATTERN_CHARS.charAt(j); in TestFormatToCharacterIterator()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java353 assertEquals("patternChars", PATTERN_CHARS, rootSyms.getLocalPatternChars()); in TestFieldPosition()
357 …if(DateFormat.FIELD_COUNT != PATTERN_CHARS.length() + 1){ // +1 for missing TIME_SEPARATOR pattern… in TestFieldPosition()
358 …id not get the correct value for DateFormat.FIELD_COUNT. Expected: "+ PATTERN_CHARS.length() + 1); in TestFieldPosition()
367 buf.append(PATTERN_CHARS); in TestFieldPosition()
504 static final String PATTERN_CHARS = "GyMdkHmsSEDFwWahKzYeugAZvcLQqVUOXxrbB"; field in DateFormatTest
3491 for (int j = 0; j < PATTERN_CHARS.length(); j++) { in TestFormatToCharacterIterator()
3497 char letter = PATTERN_CHARS.charAt(j); in TestFormatToCharacterIterator()