Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp423 UnicodeString findPattern = gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI()
452 UnicodeString testPattern=gen->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI()
453 testPattern=gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI()
454 format->applyPattern(gen->getBestPattern(UnicodeString("MMMMdHmm"), status)); in testAPI()
557 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI()
582 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI()
608 UnicodeString bPattern = patGen->getBestPattern(pattern, status); in testAPI()
642 bestPattern = patGen->getBestPattern(patternData[dataIndex++], status); in testAPI()
686 bestPattern = patGen->getBestPattern(patternTests2[dataIndex], status); in testAPI()
722 UnicodeString bestPattern = randDTGen->getBestPattern(randomSkeleton, status); in testAPI()
[all …]
Ddtfmttst.cpp211 UnicodeString pattern = generator->getBestPattern(actualPattern, errorCode); in TestPatterns()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java68 String pattern = gen.getBestPattern(skeleton); in TestC()
81 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMddHmm"), locale); in TestSimple()
90 format.applyPattern(gen.getBestPattern("MMMMdHmm")); in TestSimple()
136 String pat = enGen.getBestPattern(testSkeleton); in TestSimple()
146 …SimpleDateFormat rootFormat = new SimpleDateFormat(rootGen.getBestPattern("yMdHms"), ULocale.ROOT); in TestRoot()
156 … SimpleDateFormat format = new SimpleDateFormat(nullGen.getBestPattern("yMdHms"), ULocale.ROOT); in TestEmpty()
256 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
265 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
273 pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
515 final String pattern = dtpgen.getBestPattern("MMMd"); in DayMonthTest()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java69 String pattern = gen.getBestPattern(skeleton); in TestC()
82 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMddHmm"), locale); in TestSimple()
91 format.applyPattern(gen.getBestPattern("MMMMdHmm")); in TestSimple()
137 String pat = enGen.getBestPattern(testSkeleton); in TestSimple()
147 …SimpleDateFormat rootFormat = new SimpleDateFormat(rootGen.getBestPattern("yMdHms"), ULocale.ROOT); in TestRoot()
157 … SimpleDateFormat format = new SimpleDateFormat(nullGen.getBestPattern("yMdHms"), ULocale.ROOT); in TestEmpty()
257 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
266 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
274 pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
516 final String pattern = dtpgen.getBestPattern("MMMd"); in DayMonthTest()
[all …]
/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp56 UnicodeString pattern = dtfg->getBestPattern(skeletons[i],status); in getBestPatternExample()
91 …SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,statu… in addPatternExample()
95 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status)); 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/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/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()
1163 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1207 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1258 String datePattern =dtpng.getBestPattern(dateSkeleton); in initializeIntervalPattern()
1294 String pattern = dtpng.getBestPattern(skeleton); in genFallbackPattern()
1544 fDatePattern = dtpng.getBestPattern(dateSkeleton); in genSeparateDateTimePtn()
1547 fTimePattern = dtpng.getBestPattern(timeSkeleton); in genSeparateDateTimePtn()
DDateTimePatternGenerator.java526 public String getBestPattern(String skeleton) { in getBestPattern() method in DateTimePatternGenerator
527 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS); in getBestPattern()
542 public String getBestPattern(String skeleton, int options) { in getBestPattern() method in DateTimePatternGenerator
543 return getBestPattern(skeleton, null, options); in getBestPattern()
549 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) { in getBestPattern() method in DateTimePatternGenerator
946 String trial = getBestPattern(cur.toString(), cur, MATCH_NO_OPTIONS); in getRedundants()
DDateFormat.java2126 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
2167 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalFormat.java471 … DateIntervalFormat(skeleton, locale, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
562 …ateIntervalFormat(skeleton, dtitvinf, new SimpleDateFormat(generator.getBestPattern(skeleton), loc… in getInstance()
1150 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1194 String pattern =dtpng.getBestPattern(timeSkeleton); in initializeIntervalPattern()
1245 String datePattern =dtpng.getBestPattern(dateSkeleton); in initializeIntervalPattern()
1281 String pattern = dtpng.getBestPattern(skeleton); in genFallbackPattern()
1531 fDatePattern = dtpng.getBestPattern(dateSkeleton); in genSeparateDateTimePtn()
1534 fTimePattern = dtpng.getBestPattern(timeSkeleton); in genSeparateDateTimePtn()
DDateTimePatternGenerator.java524 public String getBestPattern(String skeleton) { in getBestPattern() method in DateTimePatternGenerator
525 return getBestPattern(skeleton, null, MATCH_NO_OPTIONS); in getBestPattern()
539 public String getBestPattern(String skeleton, int options) { in getBestPattern() method in DateTimePatternGenerator
540 return getBestPattern(skeleton, null, options); in getBestPattern()
546 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) { in getBestPattern() method in DateTimePatternGenerator
928 String trial = getBestPattern(cur.toString(), cur, MATCH_NO_OPTIONS); in getRedundants()
DDateFormat.java1979 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
2016 final String bestPattern = generator.getBestPattern(skeleton); in getInstanceForSkeleton()
/external/icu/icu4c/source/i18n/unicode/
Ddtptngen.h320 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status);
342 UnicodeString getBestPattern(const UnicodeString& skeleton,
Ddatefmt.h585 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.cpp687 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern()
713 UnicodeString pattern = DateFormat::getBestPattern( in initializePattern()
764 UnicodeString datePattern = DateFormat::getBestPattern( in initializePattern()
989 fDatePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn()
994 fTimePattern = new UnicodeString(DateFormat::getBestPattern( in setSeparateDateTimePtn()
1044 UnicodeString pattern = DateFormat::getBestPattern( in setFallbackPattern()
Dudatpg.cpp82 …UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *… in udatpg_getBestPatternWithOptions()
Ddtptngen.cpp951 DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UErrorCode& status) { in getBestPattern() function in DateTimePatternGenerator
952 return getBestPattern(patternForm, UDATPG_MATCH_NO_OPTIONS, status); in getBestPattern()
956 DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UDateTimePatternMatchOpt… in getBestPattern() function in DateTimePatternGenerator
1522 UnicodeString trial = getBestPattern(current.getPattern(), status); in getRedundants()
/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/v8/src/
Di18n.cc124 pattern = generator->getBestPattern(skeleton, status); in CreateICUDateFormat()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/icu/icu4j/tools/build/
Dicu4j48.api3.gz12;ICU4J 4.8;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j51.api3.gz

12