Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java352 assertEquals("patternChars", PATTERN_CHARS, rootSyms.getLocalPatternChars()); in TestFieldPosition()
356 …if(DateFormat.FIELD_COUNT != PATTERN_CHARS.length() + 1){ // +1 for missing TIME_SEPARATOR pattern… in TestFieldPosition()
357 …id not get the correct value for DateFormat.FIELD_COUNT. Expected: "+ PATTERN_CHARS.length() + 1); in TestFieldPosition()
366 buf.append(PATTERN_CHARS); in TestFieldPosition()
503 static final String PATTERN_CHARS = "GyMdkHmsSEDFwWahKzYeugAZvcLQqVUOXxrbB"; field in DateFormatTest
3403 for (int j = 0; j < PATTERN_CHARS.length(); j++) { in TestFormatToCharacterIterator()
3409 char letter = PATTERN_CHARS.charAt(j); in TestFormatToCharacterIterator()
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp447 static const char* PATTERN_CHARS = "GyMdkHmsSEDFwWahKzYeugAZvcLQqVUOXxrbB:"; variable
449 static const char* PATTERN_CHARS = "GyMdkHmsSEDFwWahKzYeugAZvcLQqVUOXxrbB"; variable
517 assertEquals("patternChars", PATTERN_CHARS, rootSyms.getLocalPatternChars(buf)); in TestFieldPosition()
518 assertEquals("patternChars", PATTERN_CHARS, DateFormatSymbols::getPatternUChars()); in TestFieldPosition()
521 assertTrue("Data", UDAT_FIELD_COUNT == uprv_strlen(PATTERN_CHARS)); in TestFieldPosition()
523 …assertTrue("Data", UDAT_FIELD_COUNT == uprv_strlen(PATTERN_CHARS) + 1); // +1 for missing TIME_SEP… in TestFieldPosition()
532 buf.remove().append(PATTERN_CHARS); in TestFieldPosition()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java355 assertEquals("patternChars", PATTERN_CHARS, rootSyms.getLocalPatternChars()); in TestFieldPosition()
359 …if(DateFormat.FIELD_COUNT != PATTERN_CHARS.length() + 1){ // +1 for missing TIME_SEPARATOR pattern… in TestFieldPosition()
360 …id not get the correct value for DateFormat.FIELD_COUNT. Expected: "+ PATTERN_CHARS.length() + 1); in TestFieldPosition()
369 buf.append(PATTERN_CHARS); in TestFieldPosition()
506 static final String PATTERN_CHARS = "GyMdkHmsSEDFwWahKzYeugAZvcLQqVUOXxrbB"; field in DateFormatTest
3406 for (int j = 0; j < PATTERN_CHARS.length(); j++) { in TestFormatToCharacterIterator()
3412 char letter = PATTERN_CHARS.charAt(j); in TestFormatToCharacterIterator()