/third_party/icu/icu4c/source/test/intltest/ |
H A D | dtptngts.cpp | 501 UnicodeString findPattern = gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI() 521 errln("ERROR: Simple test in getBestPattern with Locale::getGermany())."); in testAPI() 530 UnicodeString testPattern=gen->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI() 531 testPattern=gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI() 532 format->applyPattern(gen->getBestPattern(UnicodeString("MMMMdHmm"), status)); in testAPI() 626 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI() 651 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI() 677 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI() 712 bestPattern = patGen->getBestPattern(patternData[dataIndex++], status); in testAPI() 759 bestPattern = patGen->getBestPattern(patternTests in testAPI() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | DateTimeGeneratorTest.java | 89 String pattern = gen.getBestPattern(skeleton, options); in TestC() 144 String pattern = gen.getBestPattern(testItem[0], options); in TestSkeletonsWithDayPeriods() 146 errln("getBestPattern for skeleton " + testItem[0] + ", expected " + testItem[1] + ", got " + pattern); in TestSkeletonsWithDayPeriods() 159 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMddHmm"), locale); in TestSimple() 168 format.applyPattern(gen.getBestPattern("MMMMdHmm")); in TestSimple() 214 String pat = enGen.getBestPattern(testSkeleton); in TestSimple() 224 SimpleDateFormat rootFormat = new SimpleDateFormat(rootGen.getBestPattern("yMdHms"), ULocale.ROOT); in TestRoot() 234 SimpleDateFormat format = new SimpleDateFormat(nullGen.getBestPattern("yMdHms"), ULocale.ROOT); in TestEmpty() 334 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic() 343 String pattern = dtfg.getBestPattern(testSkeleto in TestBasic() [all...] |
/third_party/icu/icu4c/source/samples/dtptngsample/ |
H A D | dtptngsample.cpp | 56 // use getBestPattern method to get the best pattern for the given skeleton in getBestPatternExample() 57 UnicodeString pattern = dtfg->getBestPattern(skeletons[i],status); in getBestPatternExample() 92 SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,status); in addPatternExample() 96 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status)); in addPatternExample()
|
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/ |
H A D | DateTimePatternGeneratorSample.java | 59 // use getBestPattern method to get the best pattern for the given skeleton in getBestPatternExample() 60 String pattern = dtfg.getBestPattern(skeleton); in getBestPatternExample() 125 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMMddHmm"), locale); in addPatternExample() 130 format.applyPattern(gen.getBestPattern("MMMMddHmm")); in addPatternExample()
|
/third_party/skia/third_party/externals/icu/source/samples/dtptngsample/ |
H A D | dtptngsample.cpp | 56 // use getBestPattern method to get the best pattern for the given skeleton in getBestPatternExample() 57 UnicodeString pattern = dtfg->getBestPattern(skeletons[i],status); in getBestPatternExample() 92 SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,status); in addPatternExample() 96 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status)); in addPatternExample()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | DateTimeGeneratorTest.java | 86 String pattern = gen.getBestPattern(skeleton, options); in TestC() 141 String pattern = gen.getBestPattern(testItem[0], options); in TestSkeletonsWithDayPeriods() 143 errln("getBestPattern for skeleton " + testItem[0] + ", expected " + testItem[1] + ", got " + pattern); in TestSkeletonsWithDayPeriods() 156 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMddHmm"), locale); in TestSimple() 165 format.applyPattern(gen.getBestPattern("MMMMdHmm")); in TestSimple() 211 String pat = enGen.getBestPattern(testSkeleton); in TestSimple() 221 SimpleDateFormat rootFormat = new SimpleDateFormat(rootGen.getBestPattern("yMdHms"), ULocale.ROOT); in TestRoot() 231 SimpleDateFormat format = new SimpleDateFormat(nullGen.getBestPattern("yMdHms"), ULocale.ROOT); in TestEmpty() 331 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic() 340 String pattern = dtfg.getBestPattern(testSkeleto in TestBasic() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | DateIntervalFormat.java | 617 return new DateIntervalFormat(skeleton, locale, new SimpleDateFormat(generator.getBestPattern(skeleton), locale)); in getInstance() 711 return new DateIntervalFormat(skeleton, dtitvinf, new SimpleDateFormat(generator.getBestPattern(skeleton), locale)); in getInstance() 1438 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern() 1454 pattern =dtpng.getBestPattern(timeSkeleton + "G"); in initializeIntervalPattern() 1488 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern() 1502 pattern =dtpng.getBestPattern(timeSkeleton + "G"); in initializeIntervalPattern() 1550 String datePattern =dtpng.getBestPattern(dateSkeleton); in initializeIntervalPattern() 1586 String pattern = dtpng.getBestPattern(skeleton); in genFallbackPattern() 1649 String convertedPattern = dtptng.getBestPattern(String.valueOf(hourMetachar)); in normalizeHourMetacharacters() 1917 fDatePattern = dtpng.getBestPattern(dateSkeleto in genSeparateDateTimePtn() [all...] |
H A D | DateTimePatternGenerator.java | 52 * The main method people will use is getBestPattern(String skeleton), since 622 public String getBestPattern(String skeleton) { in getBestPattern() method in DateTimePatternGenerator 623 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS); in getBestPattern() 638 public String getBestPattern(String skeleton, int options) { in getBestPattern() method in DateTimePatternGenerator 639 return getBestPattern(skeleton, null, options); in getBestPattern() 643 * getBestPattern which takes optional skip matcher 645 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) { in getBestPattern() method in DateTimePatternGenerator 1134 * resulting getBestPattern values. This method returns a list of them, to 1156 String trial = getBestPattern(cur.toString(), cur, MATCH_NO_OPTIONS); in getRedundants() 1173 String trial = results.getBestPattern(cu in getRedundants() [all...] |
H A D | DateFormat.java | 2187 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton() 2231 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/personname/ |
H A D | PersonNameFormatterImpl.java | 151 return getBestPattern(gnFirstPatterns, name).format(name); in formatToString() 153 return getBestPattern(snFirstPatterns, name).format(name); in formatToString() 239 private PersonNamePattern getBestPattern(PersonNamePattern[] patterns, PersonName name) { in getBestPattern() method in PersonNameFormatterImpl
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | DateIntervalFormat.java | 596 return new DateIntervalFormat(skeleton, locale, new SimpleDateFormat(generator.getBestPattern(skeleton), locale)); in getInstance() 687 return new DateIntervalFormat(skeleton, dtitvinf, new SimpleDateFormat(generator.getBestPattern(skeleton), locale)); in getInstance() 1363 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern() 1407 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern() 1458 String datePattern =dtpng.getBestPattern(dateSkeleton); in initializeIntervalPattern() 1494 String pattern = dtpng.getBestPattern(skeleton); in genFallbackPattern() 1744 fDatePattern = dtpng.getBestPattern(dateSkeleton); in genSeparateDateTimePtn() 1747 fTimePattern = dtpng.getBestPattern(timeSkeleton); in genSeparateDateTimePtn()
|
H A D | DateTimePatternGenerator.java | 53 * The main method people will use is getBestPattern(String skeleton), since 602 public String getBestPattern(String skeleton) { in getBestPattern() method in DateTimePatternGenerator 603 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS); in getBestPattern() 617 public String getBestPattern(String skeleton, int options) { in getBestPattern() method in DateTimePatternGenerator 618 return getBestPattern(skeleton, null, options); in getBestPattern() 622 * getBestPattern which takes optional skip matcher 624 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) { in getBestPattern() method in DateTimePatternGenerator 1023 * resulting getBestPattern values. This method returns a list of them, to 1046 String trial = getBestPattern(cur.toString(), cur, MATCH_NO_OPTIONS); in getRedundants() 1063 String trial = results.getBestPattern(cu in getRedundants() [all...] |
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | dtptngen.h | 50 * <p>The main method people will use is getBestPattern(String skeleton), 399 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status); 421 UnicodeString getBestPattern(const UnicodeString& skeleton, 513 * difference in the resulting getBestPattern values. This method returns a
|
H A D | datefmt.h | 600 static UnicodeString getBestPattern(
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | dtptngen.h | 50 * <p>The main method people will use is getBestPattern(String skeleton), 397 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status); 419 UnicodeString getBestPattern(const UnicodeString& skeleton, 511 * difference in the resulting getBestPattern values. This method returns a
|
H A D | datefmt.h | 600 static UnicodeString getBestPattern(
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | dtptngen.h | 50 * <p>The main method people will use is getBestPattern(String skeleton), 346 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status); 368 UnicodeString getBestPattern(const UnicodeString& skeleton, 460 * difference in the resulting getBestPattern values. This method returns a
|
H A D | datefmt.h | 600 static UnicodeString getBestPattern(
|
/third_party/icu/icu4c/source/i18n/ |
H A D | datefmt.cpp | 109 dtpg->getBestPattern(fSkeleton, status)), 428 DateFormat::getBestPattern( in getBestPattern() function in DateFormat 484 getBestPattern(locale, skeleton, status), in createInstanceForSkeleton()
|
H A D | dtitvfmt.cpp | 854 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern() 868 pattern = DateFormat::getBestPattern( in initializePattern() 888 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern() 902 pattern = DateFormat::getBestPattern( in initializePattern() 952 UnicodeString datePattern = DateFormat::getBestPattern( in initializePattern() 997 UnicodeString convertedPattern = DateFormat::getBestPattern(fLocale, UnicodeString(hourMetachar), err); in normalizeHourMetacharacters() 1260 fDatePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn() 1266 fTimePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn() 1319 UnicodeString pattern = DateFormat::getBestPattern( in setFallbackPattern()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | datefmt.cpp | 109 dtpg->getBestPattern(fSkeleton, status)), 427 DateFormat::getBestPattern( in getBestPattern() function in DateFormat 483 getBestPattern(locale, skeleton, status), in createInstanceForSkeleton()
|
H A D | dtitvfmt.cpp | 854 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern() 868 pattern = DateFormat::getBestPattern( in initializePattern() 888 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern() 902 pattern = DateFormat::getBestPattern( in initializePattern() 952 UnicodeString datePattern = DateFormat::getBestPattern( in initializePattern() 997 UnicodeString convertedPattern = DateFormat::getBestPattern(fLocale, UnicodeString(hourMetachar), err); in normalizeHourMetacharacters() 1260 fDatePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn() 1266 fTimePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn() 1319 UnicodeString pattern = DateFormat::getBestPattern( in setFallbackPattern()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | datefmt.cpp | 111 dtpg->getBestPattern(fSkeleton, status)), in createObject() 430 DateFormat::getBestPattern( in getBestPattern() function in DateFormat 486 getBestPattern(locale, skeleton, status), in createInstanceForSkeleton()
|
H A D | dtitvfmt.cpp | 854 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern() 868 pattern = DateFormat::getBestPattern( in initializePattern() 888 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern() 902 pattern = DateFormat::getBestPattern( in initializePattern() 952 UnicodeString datePattern = DateFormat::getBestPattern( in initializePattern() 989 UnicodeString convertedPattern = DateFormat::getBestPattern(fLocale, UnicodeString(hourMetachar), err); in normalizeHourMetacharacters() 1254 fDatePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn() 1260 fTimePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn() 1313 UnicodeString pattern = DateFormat::getBestPattern( in setFallbackPattern()
|
H A D | udatpg.cpp | 82 UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *pErrorCode); in udatpg_getBestPatternWithOptions()
|