Home
last modified time | relevance | path

Searched refs:getBestPattern (Results 1 – 25 of 37) sorted by relevance

12

/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp436 UnicodeString findPattern = gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI()
465 UnicodeString testPattern=gen->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI()
466 testPattern=gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI()
467 format->applyPattern(gen->getBestPattern(UnicodeString("MMMMdHmm"), status)); in testAPI()
561 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI()
586 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI()
612 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI()
646 bestPattern = patGen->getBestPattern(patternData[dataIndex++], status); in testAPI()
690 bestPattern = patGen->getBestPattern(patternTests2[dataIndex], status); in testAPI()
725 UnicodeString bestPattern = randDTGen->getBestPattern(randomSkeleton, status); in testAPI()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java86 String pattern = gen.getBestPattern(skeleton, options); in TestC()
141 String pattern = gen.getBestPattern(testItem[0], options); 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(testSkeleton); in TestBasic()
348 pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java89 String pattern = gen.getBestPattern(skeleton, options); in TestC()
144 String pattern = gen.getBestPattern(testItem[0], options); 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(testSkeleton); in TestBasic()
351 pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
[all …]
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java60 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()
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java61 String pattern = dtfg.getBestPattern(skeleton); in getBestPatternExample()
126 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMMddHmm"), locale); in addPatternExample()
131 format.applyPattern(gen.getBestPattern("MMMMddHmm")); in addPatternExample()
/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp57 UnicodeString pattern = dtfg->getBestPattern(skeletons[i],status); in getBestPatternExample()
92 …SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,statu… in addPatternExample()
96 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status)); in addPatternExample()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalFormat.java472 … DateIntervalFormat(skeleton, locale, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
563 …ateIntervalFormat(skeleton, dtitvinf, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
1156 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1200 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1251 String datePattern =dtpng.getBestPattern(dateSkeleton); in initializeIntervalPattern()
1287 String pattern = dtpng.getBestPattern(skeleton); in genFallbackPattern()
1537 fDatePattern = dtpng.getBestPattern(dateSkeleton); in genSeparateDateTimePtn()
1540 fTimePattern = dtpng.getBestPattern(timeSkeleton); in genSeparateDateTimePtn()
DDateTimePatternGenerator.java542 public String getBestPattern(String skeleton) { in getBestPattern() method in DateTimePatternGenerator
543 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS); in getBestPattern()
557 public String getBestPattern(String skeleton, int options) { in getBestPattern() method in DateTimePatternGenerator
558 return getBestPattern(skeleton, null, options); in getBestPattern()
564 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) { in getBestPattern() method in DateTimePatternGenerator
986 String trial = getBestPattern(cur.toString(), cur, MATCH_NO_OPTIONS); in getRedundants()
DDateFormat.java1986 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
2023 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java474 … DateIntervalFormat(skeleton, locale, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
568 …ateIntervalFormat(skeleton, dtitvinf, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
1168 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1212 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1263 String datePattern =dtpng.getBestPattern(dateSkeleton); in initializeIntervalPattern()
1299 String pattern = dtpng.getBestPattern(skeleton); in genFallbackPattern()
1549 fDatePattern = dtpng.getBestPattern(dateSkeleton); in genSeparateDateTimePtn()
1552 fTimePattern = dtpng.getBestPattern(timeSkeleton); in genSeparateDateTimePtn()
DDateTimePatternGenerator.java544 public String getBestPattern(String skeleton) { in getBestPattern() method in DateTimePatternGenerator
545 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS); in getBestPattern()
560 public String getBestPattern(String skeleton, int options) { in getBestPattern() method in DateTimePatternGenerator
561 return getBestPattern(skeleton, null, options); in getBestPattern()
567 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) { in getBestPattern() method in DateTimePatternGenerator
1004 String trial = getBestPattern(cur.toString(), cur, MATCH_NO_OPTIONS); in getRedundants()
DDateFormat.java2133 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
2174 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
/external/icu/icu4c/source/i18n/unicode/
Ddtptngen.h337 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status);
359 UnicodeString getBestPattern(const UnicodeString& skeleton,
Ddatefmt.h590 static UnicodeString getBestPattern(
/external/icu/icu4c/source/i18n/
Ddatefmt.cpp111 dtpg->getBestPattern(fSkeleton, status)), in createObject()
430 DateFormat::getBestPattern( in getBestPattern() function in DateFormat
481 getBestPattern(locale, skeleton, status), in createInstanceForSkeleton()
Ddtitvfmt.cpp690 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern()
716 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern()
767 UnicodeString datePattern = DateFormat::getBestPattern( in initializePattern()
990 fDatePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn()
995 fTimePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn()
1045 UnicodeString pattern = DateFormat::getBestPattern( in setFallbackPattern()
Dudatpg.cpp82 …UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *… in udatpg_getBestPatternWithOptions()
Ddtptngen.cpp1046 DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UErrorCode& status) { in getBestPattern() function in DateTimePatternGenerator
1047 return getBestPattern(patternForm, UDATPG_MATCH_NO_OPTIONS, status); in getBestPattern()
1051 DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UDateTimePatternMatchOpt… in getBestPattern() function in DateTimePatternGenerator
1741 UnicodeString trial = getBestPattern(current.getPattern(), status); in getRedundants()
/external/cldr/tools/java/org/unicode/cldr/util/
DDateTimeFormats.java502 … icuServiceBuilder.getDateFormat(calendarID, generator.getBestPattern(mainSkeleton))); in getExample()
598 String pattern = getBestPattern(skeleton); in getDateFormatFromSkeleton()
608 public String getBestPattern(String skeleton) { in getBestPattern() method in DateTimeFormats
609 String pattern = generator.getBestPattern(skeleton); in getBestPattern()
/external/cldr/tools/java/org/unicode/cldr/test/
DQuickCheck.java340 String flexibleDatePattern = dtf.getBestPattern(stockInfo[1]); in checkStock()
345 String flexibleTimePattern = dtf.getBestPattern(stockInfo[2]); in checkStock()
DFlexibleDateFromCLDR.java119 String pat = gen.getBestPattern(item); in showFlexibles()
/external/icu/icu4c/source/test/perf/DateFmtPerf/
DDateFmtPerf.h538 gen->getBestPattern(skeleton, status2); in call()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayCalendarDemo.java335 getInstance(displayLocale).getBestPattern("MMMMy"); in updateMonthName()
/external/cldr/tools/java/org/unicode/cldr/draft/
DMisc.java221 String pat = generator.getBestPattern(dp); in getFormatted()
/external/v8/src/objects/
Dintl-objects.cc150 pattern = generator->getBestPattern(skeleton, status); in CreateICUDateFormat()

12