Searched refs:dtfg (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4c/source/samples/dtptngsample/ |
D | dtptngsample.cpp | 52 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locales[j],status); in getBestPatternExample() local 54 UnicodeString pattern = dtfg->getBestPattern(skeletons[i],status); in getBestPatternExample() 62 delete dtfg; in getBestPatternExample() 88 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locale,status); in addPatternExample() local 89 …SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,statu… in addPatternExample() 91 dtfg->addPattern("dd'. von' MMMM", true, conflictingPattern,status); in addPatternExample() 93 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status)); in addPatternExample() 100 delete dtfg; in addPatternExample() 129 DateTimePatternGenerator *dtfg = DateTimePatternGenerator::createInstance(locale,status); in replaceFieldTypesExample() local 140 UnicodeString newPattern = dtfg->replaceFieldTypes(pattern, "vvvv", status); in replaceFieldTypesExample() [all …]
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/ |
D | DateTimePatternGeneratorSample.java | 49 DateTimePatternGenerator dtfg = null; in getBestPatternExample() local 56 dtfg = DateTimePatternGenerator.getInstance(locale); in getBestPatternExample() 58 String pattern = dtfg.getBestPattern(skeleton); in getBestPatternExample()
|
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/ |
D | DateTimePatternGeneratorSample.java | 50 DateTimePatternGenerator dtfg = null; in getBestPatternExample() local 57 dtfg = DateTimePatternGenerator.getInstance(locale); in getBestPatternExample() 59 String pattern = dtfg.getBestPattern(skeleton); in getBestPatternExample()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateTimeGeneratorTest.java | 225 DateTimePatternGenerator dtfg = null; in TestBasic() local 230 dtfg = DateTimePatternGenerator.getInstance(uLocale); in TestBasic() 237 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic() 246 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic() 254 pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateTimeGeneratorTest.java | 221 DateTimePatternGenerator dtfg = null; in TestBasic() local 226 dtfg = DateTimePatternGenerator.getInstance(uLocale); in TestBasic() 233 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic() 242 String pattern = dtfg.getBestPattern(testSkeleton); in TestBasic() 250 pattern = dtfg.getBestPattern(testSkeleton); in TestBasic()
|