/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/ |
DateTimePatternGeneratorSample.java | 58 // use getBestPattern method to get the best pattern for the given skeleton 59 String pattern = dtfg.getBestPattern(skeleton); 124 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMMddHmm"), locale); 129 format.applyPattern(gen.getBestPattern("MMMMddHmm"));
|
/external/icu/icu4c/source/samples/dtptngsample/ |
dtptngsample.cpp | 53 // use getBestPattern method to get the best pattern for the given skeleton 54 UnicodeString pattern = dtfg->getBestPattern(skeletons[i],status); 89 SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,status); 93 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status));
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/ |
DateTimePatternGeneratorSample.java | 57 // use getBestPattern method to get the best pattern for the given skeleton 58 String pattern = dtfg.getBestPattern(skeleton); 123 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMMddHmm"), locale); 128 format.applyPattern(gen.getBestPattern("MMMMddHmm"));
|
/libcore/luni/src/main/java/libcore/icu/ |
DateTimeFormat.java | 51 formatter = new SimpleDateFormat(generator.getBestPattern(skeleton), icuLocale);
|
/external/icu/icu4c/source/test/intltest/ |
dtptngts.cpp | 418 UnicodeString findPattern = gen->getBestPattern(UnicodeString("MMMddHmm"), status); 438 errln("ERROR: Simple test in getBestPattern with Locale::getGermany())."); 447 UnicodeString testPattern=gen->getBestPattern(UnicodeString("MMMMdd"), status); 448 testPattern=gen->getBestPattern(UnicodeString("MMMddHmm"), status); 449 format->applyPattern(gen->getBestPattern(UnicodeString("MMMMdHmm"), status)); 552 UnicodeString bPattern = patGen->getBestPattern(pattern, status); [all...] |
dtfmttst.cpp | 202 UnicodeString pattern = generator->getBestPattern(actualPattern, errorCode); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateTimeGeneratorTest.java | 66 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMddHmm"), locale); 75 format.applyPattern(gen.getBestPattern("MMMMdHmm")); 121 String pat = enGen.getBestPattern(testSkeleton); 130 SimpleDateFormat rootFormat = new SimpleDateFormat(rootGen.getBestPattern("yMdHms"), ULocale.ROOT); 139 SimpleDateFormat format = new SimpleDateFormat(nullGen.getBestPattern("yMdHms"), ULocale.ROOT); 237 String pattern = dtfg.getBestPattern(testSkeleton); 246 String pattern = dtfg.getBestPattern(testSkeleton); 254 pattern = dtfg.getBestPattern(testSkeleton); 495 final String pattern = dtpgen.getBestPattern("MMMd"); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateTimeGeneratorTest.java | 62 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMddHmm"), locale); 71 format.applyPattern(gen.getBestPattern("MMMMdHmm")); 117 String pat = enGen.getBestPattern(testSkeleton); 126 SimpleDateFormat rootFormat = new SimpleDateFormat(rootGen.getBestPattern("yMdHms"), ULocale.ROOT); 135 SimpleDateFormat format = new SimpleDateFormat(nullGen.getBestPattern("yMdHms"), ULocale.ROOT); 233 String pattern = dtfg.getBestPattern(testSkeleton); 242 String pattern = dtfg.getBestPattern(testSkeleton); 250 pattern = dtfg.getBestPattern(testSkeleton); 491 final String pattern = dtpgen.getBestPattern("MMMd"); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DateIntervalFormat.java | 457 return new DateIntervalFormat(skeleton, locale, new SimpleDateFormat(generator.getBestPattern(skeleton), locale)); 548 return new DateIntervalFormat(skeleton, dtitvinf, new SimpleDateFormat(generator.getBestPattern(skeleton), locale)); [all...] |
DateTimePatternGenerator.java | 47 * The main method people will use is getBestPattern(String skeleton), since 375 public String getBestPattern(String skeleton) { 376 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS); 390 public String getBestPattern(String skeleton, int options) { 391 return getBestPattern(skeleton, null, options); 395 * getBestPattern which takes optional skip matcher 397 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) { [all...] |
DateFormat.java | [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
dtptngen.h | 42 * <p>The main method people will use is getBestPattern(String skeleton), 316 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status); 338 UnicodeString getBestPattern(const UnicodeString& skeleton, 430 * difference in the resulting getBestPattern values. This method returns a
|
datefmt.h | 583 static UnicodeString getBestPattern( [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DateIntervalFormat.java | 459 return new DateIntervalFormat(skeleton, locale, new SimpleDateFormat(generator.getBestPattern(skeleton), locale)); 553 return new DateIntervalFormat(skeleton, dtitvinf, new SimpleDateFormat(generator.getBestPattern(skeleton), locale)); [all...] |
DateTimePatternGenerator.java | 46 * The main method people will use is getBestPattern(String skeleton), since 377 public String getBestPattern(String skeleton) { 378 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS); 393 public String getBestPattern(String skeleton, int options) { 394 return getBestPattern(skeleton, null, options); 398 * getBestPattern which takes optional skip matcher 400 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) { 767 * resulting getBestPattern values. This method returns a list of them, to [all...] |
DateFormat.java | [all...] |
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
ICU_Delegate.java | 54 .getBestPattern(skeleton);
|
/external/icu/icu4c/source/i18n/ |
datefmt.cpp | 109 dtpg->getBestPattern(fSkeleton, status)), 428 DateFormat::getBestPattern( 479 getBestPattern(locale, skeleton, status),
|
dtitvfmt.cpp | 702 UnicodeString pattern = DateFormat::getBestPattern( 728 UnicodeString pattern = DateFormat::getBestPattern( 779 UnicodeString datePattern = DateFormat::getBestPattern( [all...] |
udatpg.cpp | 80 UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *pErrorCode);
|
dtptngen.cpp | 771 DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UErrorCode& status) { 772 return getBestPattern(patternForm, UDATPG_MATCH_NO_OPTIONS, status); 776 DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UDateTimePatternMatchOptions options, UErrorCode& status) { [all...] |
/external/icu/icu4c/source/test/perf/DateFmtPerf/ |
DateFmtPerf.h | 534 gen->getBestPattern(skeleton, status2); 536 check(status2, "getBestPattern");
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
HolidayCalendarDemo.java | 333 getInstance(displayLocale).getBestPattern("MMMMy");
|
/external/v8/src/ |
i18n.cc | 119 pattern = generator->getBestPattern(skeleton, status); [all...] |
/libcore/luni/src/main/native/ |
libcore_icu_ICU.cpp | 766 icu::UnicodeString result(generator->getBestPattern(skeletonHolder.unicodeString(), status)); 767 if (maybeThrowIcuException(env, "DateTimePatternGenerator::getBestPattern", status)) { [all...] |