Home
last modified time | relevance | path

Searched refs:dtfg (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp55 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locales[j],status); in getBestPatternExample() local
57 UnicodeString pattern = dtfg->getBestPattern(skeletons[i],status); in getBestPatternExample()
65 delete dtfg; in getBestPatternExample()
91 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locale,status); in addPatternExample() local
92 …SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,statu… in addPatternExample()
94 dtfg->addPattern("dd'. von' MMMM", true, conflictingPattern,status); in addPatternExample()
96 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status)); in addPatternExample()
103 delete dtfg; in addPatternExample()
132 DateTimePatternGenerator *dtfg = DateTimePatternGenerator::createInstance(locale,status); in replaceFieldTypesExample() local
143 UnicodeString newPattern = dtfg->replaceFieldTypes(pattern, "vvvv", status); in replaceFieldTypesExample()
[all …]
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java52 DateTimePatternGenerator dtfg = null; in getBestPatternExample() local
59 dtfg = DateTimePatternGenerator.getInstance(locale); in getBestPatternExample()
61 String pattern = dtfg.getBestPattern(skeleton); in getBestPatternExample()
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java51 DateTimePatternGenerator dtfg = null; in getBestPatternExample() local
58 dtfg = DateTimePatternGenerator.getInstance(locale); in getBestPatternExample()
60 String pattern = dtfg.getBestPattern(skeleton); in getBestPatternExample()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java322 DateTimePatternGenerator dtfg = null; in TestBasic() local
327 dtfg = DateTimePatternGenerator.getInstance(uLocale); in TestBasic()
334 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
343 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
351 pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java319 DateTimePatternGenerator dtfg = null; in TestBasic() local
324 dtfg = DateTimePatternGenerator.getInstance(uLocale); in TestBasic()
331 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
340 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
348 pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()