HomeSort by relevance Sort by last modified time
    Searched refs:getBestPattern (Results 1 - 25 of 27) sorted by null

1 2

  /external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/
DateTimePatternGeneratorSample.java 60 // use getBestPattern method to get the best pattern for the given skeleton
61 String pattern = dtfg.getBestPattern(skeleton);
126 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMMddHmm"), locale);
131 format.applyPattern(gen.getBestPattern("MMMMddHmm"));
  /external/icu/icu4c/source/samples/dtptngsample/
dtptngsample.cpp 56 // use getBestPattern method to get the best pattern for the given skeleton
57 UnicodeString pattern = dtfg->getBestPattern(skeletons[i],status);
92 SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,status);
96 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status));
  /external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/
DateTimePatternGeneratorSample.java 59 // use getBestPattern method to get the best pattern for the given skeleton
60 String pattern = dtfg.getBestPattern(skeleton);
125 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMMddHmm"), locale);
130 format.applyPattern(gen.getBestPattern("MMMMddHmm"));
  /external/icu/icu4c/source/test/intltest/
dtptngts.cpp 436 UnicodeString findPattern = gen->getBestPattern(UnicodeString("MMMddHmm"), status);
456 errln("ERROR: Simple test in getBestPattern with Locale::getGermany()).");
465 UnicodeString testPattern=gen->getBestPattern(UnicodeString("MMMMdd"), status);
466 testPattern=gen->getBestPattern(UnicodeString("MMMddHmm"), status);
467 format->applyPattern(gen->getBestPattern(UnicodeString("MMMMdHmm"), status));
561 UnicodeString bPattern = patGen->getBestPattern(pattern, status);
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DateTimeGeneratorTest.java 89 String pattern = gen.getBestPattern(skeleton, options);
144 String pattern = gen.getBestPattern(testItem[0], options);
146 errln("getBestPattern for skeleton " + testItem[0] + ", expected " + testItem[1] + ", got " + pattern);
159 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMddHmm"), locale);
168 format.applyPattern(gen.getBestPattern("MMMMdHmm"));
214 String pat = enGen.getBestPattern(testSkeleton);
224 SimpleDateFormat rootFormat = new SimpleDateFormat(rootGen.getBestPattern("yMdHms"), ULocale.ROOT);
234 SimpleDateFormat format = new SimpleDateFormat(nullGen.getBestPattern("yMdHms"), ULocale.ROOT);
334 String pattern = dtfg.getBestPattern(testSkeleton);
343 String pattern = dtfg.getBestPattern(testSkeleton)
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DateTimeGeneratorTest.java 86 String pattern = gen.getBestPattern(skeleton, options);
141 String pattern = gen.getBestPattern(testItem[0], options);
143 errln("getBestPattern for skeleton " + testItem[0] + ", expected " + testItem[1] + ", got " + pattern);
156 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMddHmm"), locale);
165 format.applyPattern(gen.getBestPattern("MMMMdHmm"));
211 String pat = enGen.getBestPattern(testSkeleton);
221 SimpleDateFormat rootFormat = new SimpleDateFormat(rootGen.getBestPattern("yMdHms"), ULocale.ROOT);
231 SimpleDateFormat format = new SimpleDateFormat(nullGen.getBestPattern("yMdHms"), ULocale.ROOT);
331 String pattern = dtfg.getBestPattern(testSkeleton);
340 String pattern = dtfg.getBestPattern(testSkeleton)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DateIntervalFormat.java 472 return new DateIntervalFormat(skeleton, locale, new SimpleDateFormat(generator.getBestPattern(skeleton), locale));
563 return new DateIntervalFormat(skeleton, dtitvinf, new SimpleDateFormat(generator.getBestPattern(skeleton), locale));
    [all...]
DateTimePatternGenerator.java 52 * The main method people will use is getBestPattern(String skeleton), since
542 public String getBestPattern(String skeleton) {
543 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS);
557 public String getBestPattern(String skeleton, int options) {
558 return getBestPattern(skeleton, null, options);
562 * getBestPattern which takes optional skip matcher
564 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) {
    [all...]
DateFormat.java     [all...]
  /external/icu/icu4c/source/i18n/unicode/
dtptngen.h 46 * <p>The main method people will use is getBestPattern(String skeleton),
337 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status);
359 UnicodeString getBestPattern(const UnicodeString& skeleton,
451 * difference in the resulting getBestPattern values. This method returns a
datefmt.h 590 static UnicodeString getBestPattern(
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DateIntervalFormat.java 474 return new DateIntervalFormat(skeleton, locale, new SimpleDateFormat(generator.getBestPattern(skeleton), locale));
568 return new DateIntervalFormat(skeleton, dtitvinf, new SimpleDateFormat(generator.getBestPattern(skeleton), locale));
    [all...]
DateTimePatternGenerator.java 51 * The main method people will use is getBestPattern(String skeleton), since
544 public String getBestPattern(String skeleton) {
545 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS);
560 public String getBestPattern(String skeleton, int options) {
561 return getBestPattern(skeleton, null, options);
565 * getBestPattern which takes optional skip matcher
567 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) {
    [all...]
DateFormat.java     [all...]
  /external/icu/icu4c/source/i18n/
datefmt.cpp 111 dtpg->getBestPattern(fSkeleton, status)),
430 DateFormat::getBestPattern(
481 getBestPattern(locale, skeleton, status),
dtitvfmt.cpp 690 UnicodeString pattern = DateFormat::getBestPattern(
716 UnicodeString pattern = DateFormat::getBestPattern(
767 UnicodeString datePattern = DateFormat::getBestPattern(
    [all...]
udatpg.cpp 82 UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *pErrorCode);
dtptngen.cpp     [all...]
  /external/cldr/tools/java/org/unicode/cldr/test/
FlexibleDateFromCLDR.java 119 String pat = gen.getBestPattern(item);
QuickCheck.java 340 String flexibleDatePattern = dtf.getBestPattern(stockInfo[1]);
345 String flexibleTimePattern = dtf.getBestPattern(stockInfo[2]);
  /external/cldr/tools/java/org/unicode/cldr/util/
DateTimeFormats.java 502 icuServiceBuilder.getDateFormat(calendarID, generator.getBestPattern(mainSkeleton)));
598 String pattern = getBestPattern(skeleton);
608 public String getBestPattern(String skeleton) {
609 String pattern = generator.getBestPattern(skeleton);
    [all...]
  /external/cldr/tools/java/org/unicode/cldr/draft/
Misc.java 221 String pat = generator.getBestPattern(dp);
  /external/icu/icu4c/source/test/perf/DateFmtPerf/
DateFmtPerf.h 538 gen->getBestPattern(skeleton, status2);
540 check(status2, "getBestPattern");
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
HolidayCalendarDemo.java 335 getInstance(displayLocale).getBestPattern("MMMMy");
  /external/v8/src/objects/
intl-objects.cc 150 pattern = generator->getBestPattern(skeleton, status);
    [all...]

Completed in 490 milliseconds

1 2