Searched refs:secondPart (Results 1 – 7 of 7) sorted by relevance
/external/icu/icu4c/source/i18n/ |
D | dtitvfmt.cpp | 238 … if (fIntervalPatterns[i].secondPart != fmt->fIntervalPatterns[i].secondPart ) {return FALSE;} in operator ==() 360 intervalPattern.secondPart.isEmpty() ) { in formatImpl() 377 fDateFormat->applyPattern(intervalPattern.secondPart); in formatImpl() 397 if ( !intervalPattern.secondPart.isEmpty() ) { in formatImpl() 398 fDateFormat->applyPattern(intervalPattern.secondPart); in formatImpl() 1058 const UnicodeString* secondPart, in setPatternInfo() argument 1075 if ( secondPart ) { in setPatternInfo() 1076 ptn.secondPart = *secondPart; in setPatternInfo() 1117 UnicodeString secondPart; in setIntervalPattern() local 1120 pattern->extract(splitPoint, pattern->length()-splitPoint, secondPart); in setIntervalPattern() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 1427 Output<String> secondPart = new Output<String>(); in TestDateIntervalFormatCoverage() local 1433 dtitvfmt.getPatterns(fromCalendar, toCalendar, secondPart), "MMM d – "); in TestDateIntervalFormatCoverage() 1434 assertEquals("Date interval pattern mismatch.", secondPart.value, "d"); in TestDateIntervalFormatCoverage() 1593 String secondPart = patternInfo.getSecondPart(); in TestTicket11583() local 1594 if (!matches(dateFormatPattern, firstPart, secondPart)) { in TestTicket11583() 1597 … + dateFormatPattern + "» and date interval format «" + firstPart + secondPart + "»."); in TestTicket11583() 1600 … + dateFormatPattern + "» and date interval format «" + firstPart + secondPart + "»."); in TestTicket11583() 1608 + "»\tintervalPattern2: «" + secondPart in TestTicket11583() 1626 private boolean matches(String dateFormatPattern, String firstPart, String secondPart) { in matches() argument 1631 … && secondPart.endsWith(dateFormatPattern.substring(i,dateFormatPattern.length()))) { in matches()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 1426 Output<String> secondPart = new Output<String>(); in TestDateIntervalFormatCoverage() local 1432 dtitvfmt.getPatterns(fromCalendar, toCalendar, secondPart), "MMM d – "); in TestDateIntervalFormatCoverage() 1433 assertEquals("Date interval pattern mismatch.", secondPart.value, "d"); in TestDateIntervalFormatCoverage() 1592 String secondPart = patternInfo.getSecondPart(); in TestTicket11583() local 1593 if (!matches(dateFormatPattern, firstPart, secondPart)) { in TestTicket11583() 1596 … + dateFormatPattern + "» and date interval format «" + firstPart + secondPart + "»."); in TestTicket11583() 1599 … + dateFormatPattern + "» and date interval format «" + firstPart + secondPart + "»."); in TestTicket11583() 1607 + "»\tintervalPattern2: «" + secondPart in TestTicket11583() 1625 private boolean matches(String dateFormatPattern, String firstPart, String secondPart) { in matches() argument 1630 … && secondPart.endsWith(dateFormatPattern.substring(i,dateFormatPattern.length()))) { in matches()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateIntervalInfo.java | 206 public PatternInfo(String firstPart, String secondPart, in PatternInfo() argument 209 fIntervalPatternSecondPart = secondPart; in PatternInfo() 833 String secondPart = null; in genPatternInfo() local 835 secondPart = intervalPattern.substring(splitPoint, intervalPattern.length()); in genPatternInfo() 838 return new PatternInfo(firstPart, secondPart, laterDateFirst); in genPatternInfo()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateIntervalInfo.java | 203 public PatternInfo(String firstPart, String secondPart, in PatternInfo() argument 206 fIntervalPatternSecondPart = secondPart; in PatternInfo() 824 String secondPart = null; in genPatternInfo() local 826 secondPart = intervalPattern.substring(splitPoint, intervalPattern.length()); in genPatternInfo() 829 return new PatternInfo(firstPart, secondPart, laterDateFirst); in genPatternInfo()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | dtitvfmt.h | 600 UnicodeString secondPart; member 963 const UnicodeString* secondPart,
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CloserTest.java | 56 String secondPart = Iterables.get(Splitter.on('.').split(javaVersion), 1); in testCreate() local 57 int versionNumber = Integer.parseInt(secondPart); in testCreate()
|