Searched refs:intervalPattern (Results 1 – 8 of 8) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateIntervalInfo.java | 527 private static int splitPatternInto2Part(String intervalPattern) { in splitPatternInto2Part() argument 546 for (i = 0; i < intervalPattern.length(); ++i) { in splitPatternInto2Part() 547 char ch = intervalPattern.charAt(i); in splitPatternInto2Part() 563 if ((i+1) < intervalPattern.length() && in splitPatternInto2Part() 564 intervalPattern.charAt(i+1) == '\'') { in splitPatternInto2Part() 626 String intervalPattern) in setIntervalPattern() argument 640 intervalPattern); in setIntervalPattern() 672 String intervalPattern) { in setIntervalPatternInternally() argument 681 if ( intervalPattern.startsWith(LATEST_FIRST_PREFIX) ) { in setIntervalPatternInternally() 684 intervalPattern = intervalPattern.substring(prefixLength, intervalPattern.length()); in setIntervalPatternInternally() [all …]
|
D | DateIntervalFormat.java | 666 PatternInfo intervalPattern = fIntervalPatterns.get( in getPatterns() local 668 part2.value = intervalPattern.getSecondPart(); in getPatterns() 669 return intervalPattern.getFirstPart(); in getPatterns() 734 PatternInfo intervalPattern = fIntervalPatterns.get( in format() local 737 if ( intervalPattern == null ) { in format() 752 if ( intervalPattern.getFirstPart() == null ) { in format() 755 intervalPattern.getSecondPart()); in format() 759 if ( intervalPattern.firstDateInPtnIsLaterDate() ) { in format() 769 fDateFormat.applyPattern(intervalPattern.getFirstPart()); in format() 771 if ( intervalPattern.getSecondPart() != null ) { in format() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateIntervalInfo.java | 518 private static int splitPatternInto2Part(String intervalPattern) { in splitPatternInto2Part() argument 537 for (i = 0; i < intervalPattern.length(); ++i) { in splitPatternInto2Part() 538 char ch = intervalPattern.charAt(i); in splitPatternInto2Part() 554 if ((i+1) < intervalPattern.length() && in splitPatternInto2Part() 555 intervalPattern.charAt(i+1) == '\'') { in splitPatternInto2Part() 616 String intervalPattern) in setIntervalPattern() argument 630 intervalPattern); in setIntervalPattern() 662 String intervalPattern) { in setIntervalPatternInternally() argument 671 if ( intervalPattern.startsWith(LATEST_FIRST_PREFIX) ) { in setIntervalPatternInternally() 674 intervalPattern = intervalPattern.substring(prefixLength, intervalPattern.length()); in setIntervalPatternInternally() [all …]
|
D | DateIntervalFormat.java | 659 PatternInfo intervalPattern = fIntervalPatterns.get( in getPatterns() local 661 part2.value = intervalPattern.getSecondPart(); in getPatterns() 662 return intervalPattern.getFirstPart(); in getPatterns() 726 PatternInfo intervalPattern = fIntervalPatterns.get( in format() local 729 if ( intervalPattern == null ) { in format() 744 if ( intervalPattern.getFirstPart() == null ) { in format() 747 intervalPattern.getSecondPart()); in format() 751 if ( intervalPattern.firstDateInPtnIsLaterDate() ) { in format() 761 fDateFormat.applyPattern(intervalPattern.getFirstPart()); in format() 763 if ( intervalPattern.getSecondPart() != null ) { in format() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | dtitvfmt.cpp | 352 const PatternInfo& intervalPattern = fIntervalPatterns[itvPtnIndex]; in format() local 354 if ( intervalPattern.firstPart.isEmpty() && in format() 355 intervalPattern.secondPart.isEmpty() ) { in format() 368 if ( intervalPattern.firstPart.isEmpty() ) { in format() 372 fDateFormat->applyPattern(intervalPattern.secondPart); in format() 379 if ( intervalPattern.laterDateFirst ) { in format() 390 fDateFormat->applyPattern(intervalPattern.firstPart); in format() 392 if ( !intervalPattern.secondPart.isEmpty() ) { in format() 393 fDateFormat->applyPattern(intervalPattern.secondPart); in format() 1098 const UnicodeString& intervalPattern) { in setIntervalPattern() argument [all …]
|
D | dtitvinf.cpp | 84 const UnicodeString& intervalPattern, in setIntervalPattern() argument 88 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern() 89 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern() 92 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern() 94 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern() 192 const UnicodeString& intervalPattern = patternsOfOneSkeleton[index]; in getIntervalPattern() local 193 if ( !intervalPattern.isEmpty() ) { in getIntervalPattern() 194 result = intervalPattern; in getIntervalPattern() 370 const UnicodeString& intervalPattern, in setIntervalPatternInternally() argument 383 patternsOfOneSkeleton[index] = intervalPattern; in setIntervalPatternInternally()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | dtitvfmt.h | 918 static int32_t U_EXPORT2 splitPatternInto2Part(const UnicodeString& intervalPattern); 927 const UnicodeString& intervalPattern); 937 const UnicodeString& intervalPattern,
|
D | dtitvinf.h | 263 const UnicodeString& intervalPattern, 392 const UnicodeString& intervalPattern,
|