Home
last modified time | relevance | path

Searched refs:secondPart (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/i18n/
Ddtitvfmt.cpp241 … if (fIntervalPatterns[i].secondPart != fmt->fIntervalPatterns[i].secondPart ) {return FALSE;} in operator ==()
363 intervalPattern.secondPart.isEmpty() ) { in formatImpl()
380 fDateFormat->applyPattern(intervalPattern.secondPart); in formatImpl()
400 if ( !intervalPattern.secondPart.isEmpty() ) { in formatImpl()
401 fDateFormat->applyPattern(intervalPattern.secondPart); in formatImpl()
1059 const UnicodeString* secondPart, in setPatternInfo() argument
1076 if ( secondPart ) { in setPatternInfo()
1077 ptn.secondPart = *secondPart; in setPatternInfo()
1118 UnicodeString secondPart; in setIntervalPattern() local
1121 pattern->extract(splitPoint, pattern->length()-splitPoint, secondPart); in setIntervalPattern()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java1429 Output<String> secondPart = new Output<String>(); in TestDateIntervalFormatCoverage() local
1435 dtitvfmt.getPatterns(fromCalendar, toCalendar, secondPart), "MMM d – "); in TestDateIntervalFormatCoverage()
1436 assertEquals("Date interval pattern mismatch.", secondPart.value, "d"); in TestDateIntervalFormatCoverage()
1595 String secondPart = patternInfo.getSecondPart(); in TestTicket11583() local
1596 if (!matches(dateFormatPattern, firstPart, secondPart)) { in TestTicket11583()
1599 … + dateFormatPattern + "» and date interval format «" + firstPart + secondPart + "»."); in TestTicket11583()
1602 … + dateFormatPattern + "» and date interval format «" + firstPart + secondPart + "»."); in TestTicket11583()
1610 + "»\tintervalPattern2: «" + secondPart in TestTicket11583()
1628 private boolean matches(String dateFormatPattern, String firstPart, String secondPart) { in matches() argument
1633 … && secondPart.endsWith(dateFormatPattern.substring(i,dateFormatPattern.length()))) { in matches()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateIntervalFormatTest.java1432 Output<String> secondPart = new Output<String>(); in TestDateIntervalFormatCoverage() local
1438 dtitvfmt.getPatterns(fromCalendar, toCalendar, secondPart), "MMM d – "); in TestDateIntervalFormatCoverage()
1439 assertEquals("Date interval pattern mismatch.", secondPart.value, "d"); in TestDateIntervalFormatCoverage()
1598 String secondPart = patternInfo.getSecondPart(); in TestTicket11583() local
1599 if (!matches(dateFormatPattern, firstPart, secondPart)) { in TestTicket11583()
1602 … + dateFormatPattern + "» and date interval format «" + firstPart + secondPart + "»."); in TestTicket11583()
1605 … + dateFormatPattern + "» and date interval format «" + firstPart + secondPart + "»."); in TestTicket11583()
1613 + "»\tintervalPattern2: «" + secondPart in TestTicket11583()
1631 private boolean matches(String dateFormatPattern, String firstPart, String secondPart) { in matches() argument
1636 … && secondPart.endsWith(dateFormatPattern.substring(i,dateFormatPattern.length()))) { in matches()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java203 public PatternInfo(String firstPart, String secondPart, in PatternInfo() argument
206 fIntervalPatternSecondPart = secondPart; in PatternInfo()
821 String secondPart = null; in genPatternInfo() local
823 secondPart = intervalPattern.substring(splitPoint, intervalPattern.length()); in genPatternInfo()
826 return new PatternInfo(firstPart, secondPart, laterDateFirst); in genPatternInfo()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java206 public PatternInfo(String firstPart, String secondPart, in PatternInfo() argument
209 fIntervalPatternSecondPart = secondPart; in PatternInfo()
831 String secondPart = null; in genPatternInfo() local
833 secondPart = intervalPattern.substring(splitPoint, intervalPattern.length()); in genPatternInfo()
836 return new PatternInfo(firstPart, secondPart, laterDateFirst); in genPatternInfo()
/external/icu/icu4c/source/i18n/unicode/
Ddtitvfmt.h600 UnicodeString secondPart; member
963 const UnicodeString* secondPart,
/external/guava/guava-tests/test/com/google/common/io/
DCloserTest.java56 String secondPart = Iterables.get(Splitter.on('.').split(javaVersion), 1); in testCreate() local
57 int versionNumber = Integer.parseInt(secondPart); in testCreate()