Searched refs:dtfg (Results 1 – 2 of 2) 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/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()
|