Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp418 UnicodeString findPattern = gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI()
447 UnicodeString testPattern=gen->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI()
448 testPattern=gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI()
449 format->applyPattern(gen->getBestPattern(UnicodeString("MMMMdHmm"), status)); in testAPI()
552 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI()
577 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI()
603 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI()
637 bestPattern = patGen->getBestPattern(patternData[dataIndex++], status); in testAPI()
681 bestPattern = patGen->getBestPattern(patternTests2[dataIndex], status); in testAPI()
717 UnicodeString bestPattern = randDTGen->getBestPattern(randomSkeleton, status); in testAPI()
[all …]
Ddtfmttst.cpp202 UnicodeString pattern = generator->getBestPattern(actualPattern, errorCode); in TestPatterns()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java66 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMddHmm"), locale); in TestSimple()
75 format.applyPattern(gen.getBestPattern("MMMMdHmm")); in TestSimple()
121 String pat = enGen.getBestPattern(testSkeleton); in TestSimple()
130 …SimpleDateFormat rootFormat = new SimpleDateFormat(rootGen.getBestPattern("yMdHms"), ULocale.ROOT); in TestRoot()
139 … SimpleDateFormat format = new SimpleDateFormat(nullGen.getBestPattern("yMdHms"), ULocale.ROOT); in TestEmpty()
237 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
246 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
254 pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
495 final String pattern = dtpgen.getBestPattern("MMMd"); in DayMonthTest()
1144 patternGenerator.getBestPattern("MMMMd"); in TestT7169()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java62 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMddHmm"), locale); in TestSimple()
71 format.applyPattern(gen.getBestPattern("MMMMdHmm")); in TestSimple()
117 String pat = enGen.getBestPattern(testSkeleton); in TestSimple()
126 …SimpleDateFormat rootFormat = new SimpleDateFormat(rootGen.getBestPattern("yMdHms"), ULocale.ROOT); in TestRoot()
135 … SimpleDateFormat format = new SimpleDateFormat(nullGen.getBestPattern("yMdHms"), ULocale.ROOT); in TestEmpty()
233 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
242 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
250 pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
491 final String pattern = dtpgen.getBestPattern("MMMd"); in DayMonthTest()
1140 patternGenerator.getBestPattern("MMMMd"); in TestT7169()
[all …]
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java58 String pattern = dtfg.getBestPattern(skeleton); in getBestPatternExample()
123 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMMddHmm"), locale); in addPatternExample()
128 format.applyPattern(gen.getBestPattern("MMMMddHmm")); in addPatternExample()
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java59 String pattern = dtfg.getBestPattern(skeleton); in getBestPatternExample()
124 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMMddHmm"), locale); in addPatternExample()
129 format.applyPattern(gen.getBestPattern("MMMMddHmm")); in addPatternExample()
/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp54 UnicodeString pattern = dtfg->getBestPattern(skeletons[i],status); in getBestPatternExample()
89 …SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,statu… in addPatternExample()
93 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status)); in addPatternExample()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java459 … DateIntervalFormat(skeleton, locale, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
553 …ateIntervalFormat(skeleton, dtitvinf, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
1149 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1193 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1244 String datePattern =dtpng.getBestPattern(dateSkeleton); in initializeIntervalPattern()
1265 String pattern = dtpng.getBestPattern(skeleton); in genFallbackPattern()
1515 fDatePattern = dtpng.getBestPattern(dateSkeleton); in genSeparateDateTimePtn()
1518 fTimePattern = dtpng.getBestPattern(timeSkeleton); in genSeparateDateTimePtn()
DDateTimePatternGenerator.java377 public String getBestPattern(String skeleton) { in getBestPattern() method in DateTimePatternGenerator
378 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS); in getBestPattern()
393 public String getBestPattern(String skeleton, int options) { in getBestPattern() method in DateTimePatternGenerator
394 return getBestPattern(skeleton, null, options); in getBestPattern()
400 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) { in getBestPattern() method in DateTimePatternGenerator
789 String trial = getBestPattern(cur.toString(), cur, MATCH_NO_OPTIONS); in getRedundants()
DDateFormat.java2102 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
2143 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalFormat.java457 … DateIntervalFormat(skeleton, locale, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
548 …ateIntervalFormat(skeleton, dtitvinf, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
1137 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1181 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1232 String datePattern =dtpng.getBestPattern(dateSkeleton); in initializeIntervalPattern()
1253 String pattern = dtpng.getBestPattern(skeleton); in genFallbackPattern()
1503 fDatePattern = dtpng.getBestPattern(dateSkeleton); in genSeparateDateTimePtn()
1506 fTimePattern = dtpng.getBestPattern(timeSkeleton); in genSeparateDateTimePtn()
DDateTimePatternGenerator.java375 public String getBestPattern(String skeleton) { in getBestPattern() method in DateTimePatternGenerator
376 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS); in getBestPattern()
390 public String getBestPattern(String skeleton, int options) { in getBestPattern() method in DateTimePatternGenerator
391 return getBestPattern(skeleton, null, options); in getBestPattern()
397 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) { in getBestPattern() method in DateTimePatternGenerator
771 String trial = getBestPattern(cur.toString(), cur, MATCH_NO_OPTIONS); in getRedundants()
DDateFormat.java1955 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
1992 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
/external/icu/icu4c/source/i18n/unicode/
Ddtptngen.h316 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status);
338 UnicodeString getBestPattern(const UnicodeString& skeleton,
Ddatefmt.h583 static UnicodeString getBestPattern(
/external/icu/icu4c/source/i18n/
Ddatefmt.cpp109 dtpg->getBestPattern(fSkeleton, status)), in createObject()
428 DateFormat::getBestPattern( in getBestPattern() function in DateFormat
479 getBestPattern(locale, skeleton, status), in createInstanceForSkeleton()
Ddtitvfmt.cpp702 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern()
728 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern()
779 UnicodeString datePattern = DateFormat::getBestPattern( in initializePattern()
1004 fDatePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn()
1009 fTimePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn()
1059 UnicodeString pattern = DateFormat::getBestPattern( in setFallbackPattern()
Dudatpg.cpp80 …UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *… in udatpg_getBestPatternWithOptions()
Ddtptngen.cpp771 DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UErrorCode& status) { in getBestPattern() function in DateTimePatternGenerator
772 return getBestPattern(patternForm, UDATPG_MATCH_NO_OPTIONS, status); in getBestPattern()
776 DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UDateTimePatternMatchOpt… in getBestPattern() function in DateTimePatternGenerator
1286 UnicodeString trial = getBestPattern(current.getPattern(), status); in getRedundants()
/external/icu/icu4c/source/test/perf/DateFmtPerf/
DDateFmtPerf.h534 gen->getBestPattern(skeleton, status2); in call()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayCalendarDemo.java333 getInstance(displayLocale).getBestPattern("MMMMy"); in updateMonthName()
/external/v8/src/
Di18n.cc122 pattern = generator->getBestPattern(skeleton, status); in CreateICUDateFormat()
/external/icu/icu4j/tools/build/
Dicu4j48.api3.gz
Dicu4j49.api3.gz12;ICU4J 49.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j52.api3.gz

12