Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp496 UnicodeString findPattern = gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI()
525 UnicodeString testPattern=gen->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI()
526 testPattern=gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI()
527 format->applyPattern(gen->getBestPattern(UnicodeString("MMMMdHmm"), status)); in testAPI()
621 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI()
646 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI()
672 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI()
707 bestPattern = patGen->getBestPattern(patternData[dataIndex++], status); in testAPI()
754 bestPattern = patGen->getBestPattern(patternTests2[dataIndex], status); in testAPI()
789 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/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/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/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/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java621 … DateIntervalFormat(skeleton, locale, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
715 …ateIntervalFormat(skeleton, dtitvinf, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
1396 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1440 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1491 String datePattern =dtpng.getBestPattern(dateSkeleton); in initializeIntervalPattern()
1527 String pattern = dtpng.getBestPattern(skeleton); in genFallbackPattern()
1777 fDatePattern = dtpng.getBestPattern(dateSkeleton); in genSeparateDateTimePtn()
1780 fTimePattern = dtpng.getBestPattern(timeSkeleton); in genSeparateDateTimePtn()
DDateTimePatternGenerator.java584 public String getBestPattern(String skeleton) { in getBestPattern() method in DateTimePatternGenerator
585 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS); in getBestPattern()
600 public String getBestPattern(String skeleton, int options) { in getBestPattern() method in DateTimePatternGenerator
601 return getBestPattern(skeleton, null, options); in getBestPattern()
607 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) { in getBestPattern() method in DateTimePatternGenerator
1044 String trial = getBestPattern(cur.toString(), cur, MATCH_NO_OPTIONS); in getRedundants()
DDateFormat.java2159 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
2203 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalFormat.java610 … DateIntervalFormat(skeleton, locale, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
701 …ateIntervalFormat(skeleton, dtitvinf, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
1373 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1417 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1468 String datePattern =dtpng.getBestPattern(dateSkeleton); in initializeIntervalPattern()
1504 String pattern = dtpng.getBestPattern(skeleton); in genFallbackPattern()
1754 fDatePattern = dtpng.getBestPattern(dateSkeleton); in genSeparateDateTimePtn()
1757 fTimePattern = dtpng.getBestPattern(timeSkeleton); in genSeparateDateTimePtn()
DDateTimePatternGenerator.java583 public String getBestPattern(String skeleton) { in getBestPattern() method in DateTimePatternGenerator
584 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS); in getBestPattern()
598 public String getBestPattern(String skeleton, int options) { in getBestPattern() method in DateTimePatternGenerator
599 return getBestPattern(skeleton, null, options); in getBestPattern()
605 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) { in getBestPattern() method in DateTimePatternGenerator
1027 String trial = getBestPattern(cur.toString(), cur, MATCH_NO_OPTIONS); in getRedundants()
DDateFormat.java2012 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
2052 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
/external/icu/icu4c/source/i18n/unicode/
Ddtptngen.h339 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status);
361 UnicodeString getBestPattern(const UnicodeString& skeleton,
Ddatefmt.h600 static UnicodeString getBestPattern(
/external/icu/icu4c/source/i18n/
Ddatefmt.cpp111 dtpg->getBestPattern(fSkeleton, status)), in createObject()
430 DateFormat::getBestPattern( in getBestPattern() function in DateFormat
486 getBestPattern(locale, skeleton, status), in createInstanceForSkeleton()
Ddtitvfmt.cpp795 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern()
821 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern()
872 UnicodeString datePattern = DateFormat::getBestPattern( in initializePattern()
1095 fDatePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn()
1100 fTimePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn()
1152 UnicodeString pattern = DateFormat::getBestPattern( in setFallbackPattern()
Dudatpg.cpp82 …UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *… in udatpg_getBestPatternWithOptions()
Ddtptngen.cpp1096 DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UErrorCode& status) { in getBestPattern() function in DateTimePatternGenerator
1097 return getBestPattern(patternForm, UDATPG_MATCH_NO_OPTIONS, status); in getBestPattern()
1101 DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UDateTimePatternMatchOpt… in getBestPattern() function in DateTimePatternGenerator
1795 UnicodeString trial = getBestPattern(current.getPattern(), status); in getRedundants()
/external/cldr/tools/java/org/unicode/cldr/util/
DDateTimeFormats.java524 … icuServiceBuilder.getDateFormat(calendarID, generator.getBestPattern(mainSkeleton))); in getExample()
620 String pattern = getBestPattern(skeleton); in getDateFormatFromSkeleton()
630 public String getBestPattern(String skeleton) { in getBestPattern() method in DateTimeFormats
631 String pattern = generator.getBestPattern(skeleton); in getBestPattern()
/external/cldr/tools/java/org/unicode/cldr/test/
DQuickCheck.java339 String flexibleDatePattern = dtf.getBestPattern(stockInfo[1]); in checkStock()
344 String flexibleTimePattern = dtf.getBestPattern(stockInfo[2]); in checkStock()
DFlexibleDateFromCLDR.java118 String pat = gen.getBestPattern(item); in showFlexibles()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DJapaneseTest.java272 String pattern = dtpgen.getBestPattern(skelText); in TestForceGannenNumbering()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DJapaneseTest.java275 String pattern = dtpgen.getBestPattern(skelText); in TestForceGannenNumbering()
/external/icu/icu4c/source/test/perf/DateFmtPerf/
DDateFmtPerf.h538 gen->getBestPattern(skeleton, status2); in call()
/external/cldr/tools/java/org/unicode/cldr/draft/
DMisc.java221 String pat = generator.getBestPattern(dp); in getFormatted()

12