/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateIntervalInfo.java | 549 … setIntervalPatternIfAbsent(String currentSkeleton, String lrgDiffCalUnit, Value intervalPattern) { in setIntervalPatternIfAbsent() argument 556 intervalPattern.toString()); in setIntervalPatternIfAbsent() 625 private static int splitPatternInto2Part(String intervalPattern) { in splitPatternInto2Part() argument 644 for (i = 0; i < intervalPattern.length(); ++i) { in splitPatternInto2Part() 645 char ch = intervalPattern.charAt(i); in splitPatternInto2Part() 661 if ((i+1) < intervalPattern.length() && in splitPatternInto2Part() 662 intervalPattern.charAt(i+1) == '\'') { in splitPatternInto2Part() 723 String intervalPattern) in setIntervalPattern() argument 737 intervalPattern); in setIntervalPattern() 769 String intervalPattern) { in setIntervalPatternInternally() argument [all …]
|
D | DateIntervalFormat.java | 839 PatternInfo intervalPattern = fIntervalPatterns.get( in getPatterns() local 841 part2.value = intervalPattern.getSecondPart(); in getPatterns() 842 return intervalPattern.getFirstPart(); in getPatterns() 948 PatternInfo intervalPattern = fIntervalPatterns.get( in formatImpl() local 951 if ( intervalPattern == null ) { in formatImpl() 967 if ( intervalPattern.getFirstPart() == null ) { in formatImpl() 970 output, attributes, intervalPattern.getSecondPart()); in formatImpl() 974 if ( intervalPattern.firstDateInPtnIsLaterDate() ) { in formatImpl() 990 fDateFormat.applyPattern(intervalPattern.getFirstPart()); in formatImpl() 996 if ( intervalPattern.getSecondPart() != null ) { in formatImpl() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateIntervalInfo.java | 559 … setIntervalPatternIfAbsent(String currentSkeleton, String lrgDiffCalUnit, Value intervalPattern) { in setIntervalPatternIfAbsent() argument 566 intervalPattern.toString()); in setIntervalPatternIfAbsent() 635 private static int splitPatternInto2Part(String intervalPattern) { in splitPatternInto2Part() argument 654 for (i = 0; i < intervalPattern.length(); ++i) { in splitPatternInto2Part() 655 char ch = intervalPattern.charAt(i); in splitPatternInto2Part() 671 if ((i+1) < intervalPattern.length() && in splitPatternInto2Part() 672 intervalPattern.charAt(i+1) == '\'') { in splitPatternInto2Part() 734 String intervalPattern) in setIntervalPattern() argument 748 intervalPattern); in setIntervalPattern() 780 String intervalPattern) { in setIntervalPatternInternally() argument [all …]
|
D | DateIntervalFormat.java | 859 PatternInfo intervalPattern = fIntervalPatterns.get( in getPatterns() local 861 part2.value = intervalPattern.getSecondPart(); in getPatterns() 862 return intervalPattern.getFirstPart(); in getPatterns() 970 PatternInfo intervalPattern = fIntervalPatterns.get( in formatImpl() local 973 if ( intervalPattern == null ) { in formatImpl() 989 if ( intervalPattern.getFirstPart() == null ) { in formatImpl() 992 output, attributes, intervalPattern.getSecondPart()); in formatImpl() 996 if ( intervalPattern.firstDateInPtnIsLaterDate() ) { in formatImpl() 1012 fDateFormat.applyPattern(intervalPattern.getFirstPart()); in formatImpl() 1018 if ( intervalPattern.getSecondPart() != null ) { in formatImpl() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | dtitvfmt.cpp | 493 const PatternInfo& intervalPattern = fIntervalPatterns[itvPtnIndex]; in formatImpl() local 495 if ( intervalPattern.firstPart.isEmpty() && in formatImpl() 496 intervalPattern.secondPart.isEmpty() ) { in formatImpl() 509 if ( intervalPattern.firstPart.isEmpty() ) { in formatImpl() 513 fDateFormat->applyPattern(intervalPattern.secondPart); in formatImpl() 520 if ( intervalPattern.laterDateFirst ) { in formatImpl() 533 fDateFormat->applyPattern(intervalPattern.firstPart); in formatImpl() 536 if ( !intervalPattern.secondPart.isEmpty() ) { in formatImpl() 537 fDateFormat->applyPattern(intervalPattern.secondPart); in formatImpl() 1334 const UnicodeString& intervalPattern) { in setIntervalPattern() argument [all …]
|
D | dtitvinf.cpp | 89 const UnicodeString& intervalPattern, in setIntervalPattern() argument 93 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern() 94 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern() 97 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern() 99 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern() 197 const UnicodeString& intervalPattern = patternsOfOneSkeleton[index]; in getIntervalPattern() local 198 if ( !intervalPattern.isEmpty() ) { in getIntervalPattern() 199 result = intervalPattern; in getIntervalPattern() 507 const UnicodeString& intervalPattern, in setIntervalPatternInternally() argument 524 patternsOfOneSkeleton[index] = intervalPattern; in setIntervalPatternInternally()
|
/external/icu/libicu/cts_headers/unicode/ |
D | dtitvinf.h | 264 const UnicodeString& intervalPattern, 399 const UnicodeString& intervalPattern,
|
D | dtitvfmt.h | 1082 static int32_t U_EXPORT2 splitPatternInto2Part(const UnicodeString& intervalPattern); 1091 const UnicodeString& intervalPattern); 1101 const UnicodeString& intervalPattern,
|
/external/icu/icu4c/source/i18n/unicode/ |
D | dtitvinf.h | 264 const UnicodeString& intervalPattern, 399 const UnicodeString& intervalPattern,
|
D | dtitvfmt.h | 1082 static int32_t U_EXPORT2 splitPatternInto2Part(const UnicodeString& intervalPattern); 1091 const UnicodeString& intervalPattern); 1101 const UnicodeString& intervalPattern,
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | CheckYear.java | 197 private String getCorePattern(String intervalPattern) { 208 for (Object item : formatParser.set(intervalPattern).getItems()) { 237 if (!normalized.equals(intervalPattern)) { 238 System.out.println("Not normalized: " + intervalPattern + "\t" 243 + intervalPattern);
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | DateTimeFormats.java | 253 String intervalPattern = file.getStringValue(path); in set() local 254 dateIntervalInfo.setIntervalPattern(skeleton, diffNumber, intervalPattern); in set()
|