Home
last modified time | relevance | path

Searched refs:DateTimePatternGenerator (Results 1 – 18 of 18) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java27 import com.ibm.icu.text.DateTimePatternGenerator;
28 import com.ibm.icu.text.DateTimePatternGenerator.FormatParser;
29 import com.ibm.icu.text.DateTimePatternGenerator.VariableField;
61 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in TestSimple()
68DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo(); in TestSimple()
89 DateTimePatternGenerator enGen = DateTimePatternGenerator.getInstance(ULocale.ENGLISH); in TestSimple()
125 DateTimePatternGenerator rootGen = DateTimePatternGenerator.getInstance(ULocale.ROOT); in TestRoot()
134 DateTimePatternGenerator nullGen = DateTimePatternGenerator.getEmptyInstance(); in TestEmpty()
221 DateTimePatternGenerator dtfg = null; in TestBasic()
226 dtfg = DateTimePatternGenerator.getInstance(uLocale); in TestBasic()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Ddtptngen.h50 class U_I18N_API DateTimePatternGenerator : public UObject {
58 static DateTimePatternGenerator* U_EXPORT2 createInstance(UErrorCode& status);
67 …static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& statu…
76 …static DateTimePatternGenerator* U_EXPORT2 internalMakeInstance(const Locale& uLocale, UErrorCode&…
86 static DateTimePatternGenerator* U_EXPORT2 createEmptyInstance(UErrorCode& status);
92 virtual ~DateTimePatternGenerator();
99 DateTimePatternGenerator* clone() const;
108 UBool operator==(const DateTimePatternGenerator& other) const;
117 UBool operator!=(const DateTimePatternGenerator& other) const;
443 DateTimePatternGenerator(UErrorCode & status);
[all …]
Ddtitvfmt.h659 DateTimePatternGenerator* dtpng,
966 DateTimePatternGenerator* fDtpng;
Ddatefmt.h42 class DateTimePatternGenerator; variable
663 DateTimePatternGenerator &dpng,
/external/icu/icu4c/source/i18n/
Dudatpg.cpp32 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createInstance(*pErrorCode); in udatpg_open()
34 …return (UDateTimePatternGenerator *)DateTimePatternGenerator::createInstance(Locale(locale), *pErr… in udatpg_open()
40 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createEmptyInstance(*pErrorCode); in udatpg_openEmpty()
45 delete (DateTimePatternGenerator *)dtpg; in udatpg_close()
53 return (UDateTimePatternGenerator *)(((const DateTimePatternGenerator *)dtpg)->clone()); in udatpg_clone()
80 …UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *… in udatpg_getBestPatternWithOptions()
97 … UnicodeString result=((DateTimePatternGenerator *)dtpg)->getSkeleton(patternString, *pErrorCode); in udatpg_getSkeleton()
114 …UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBaseSkeleton(patternString, *pErrorCod… in udatpg_getBaseSkeleton()
133 UDateTimePatternConflict result=((DateTimePatternGenerator *)dtpg)-> in udatpg_addPattern()
147 ((DateTimePatternGenerator *)dtpg)->setAppendItemFormat(field, valueString); in udatpg_setAppendItemFormat()
[all …]
Dshareddatetimepatterngenerator.h17 class DateTimePatternGenerator; variable
21 SharedDateTimePatternGenerator(DateTimePatternGenerator *dtpgToAdopt) : ptr(dtpgToAdopt) { } in SharedDateTimePatternGenerator()
23 const DateTimePatternGenerator *get() const { return ptr; } in get()
24 const DateTimePatternGenerator *operator->() const { return ptr; }
25 const DateTimePatternGenerator &operator*() const { return *ptr; }
27 DateTimePatternGenerator *ptr;
Ddtptngen.cpp136 DateTimePatternGenerator *fmt = DateTimePatternGenerator::internalMakeInstance(fLoc, status); in createObject()
260 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateTimePatternGenerator)
264 DateTimePatternGenerator* U_EXPORT2 in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
265 DateTimePatternGenerator::createInstance(UErrorCode& status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
269 DateTimePatternGenerator* U_EXPORT2
270 DateTimePatternGenerator::createInstance(const Locale& locale, UErrorCode& status) { in createInstance()
276 DateTimePatternGenerator *result = new DateTimePatternGenerator(**shared); in createInstance()
285 DateTimePatternGenerator* U_EXPORT2
286 DateTimePatternGenerator::internalMakeInstance(const Locale& locale, UErrorCode& status) { in internalMakeInstance()
287 DateTimePatternGenerator *result = new DateTimePatternGenerator(locale, status); in internalMakeInstance()
[all …]
Ddatefmt.cpp375 LocalPointer<DateTimePatternGenerator> gen( in createInstanceForSkeleton()
376 DateTimePatternGenerator::createInstance(locale, status)); in createInstanceForSkeleton()
396 DateTimePatternGenerator &gen, in internalCreateInstanceForSkeleton()
Ddtitvfmt.cpp477 fDtpng = DateTimePatternGenerator::createInstance(locale, status); in DateIntervalFormat()
513 DateTimePatternGenerator* dtpng, in createSDFPatternInstance()
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp365DateTimePatternGenerator *instFromDefaultLocale=DateTimePatternGenerator::createInstance(status); in testAPI()
377DateTimePatternGenerator *instFromLocale=DateTimePatternGenerator::createInstance(Locale::getFrenc… in testAPI()
392 DateTimePatternGenerator *cloneDTPatternGen=instFromLocale->clone(); in testAPI()
413 DateTimePatternGenerator *gen = DateTimePatternGenerator::createInstance(deLocale, status); in testAPI()
547 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
572 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
598 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
630 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
665DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(Locale::getEnglish(), st… in testAPI()
702 DateTimePatternGenerator *randDTGen= DateTimePatternGenerator::createInstance(status); in testAPI()
[all …]
Duobjtest.cpp365 TESTCLASSID_FACTORY(DateTimePatternGenerator, DateTimePatternGenerator::createInstance(status)); in testIDs()
Ddtfmttst.cpp197 LocalPointer<DateTimePatternGenerator> generator( in TestPatterns()
198 DateTimePatternGenerator::createInstance(locale, errorCode)); in TestPatterns()
/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp52 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locales[j],status); in getBestPatternExample()
88 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locale,status); in addPatternExample()
129 DateTimePatternGenerator *dtfg = DateTimePatternGenerator::createInstance(locale,status); in replaceFieldTypesExample()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateTimePatternGenerator.java50 public class DateTimePatternGenerator implements Freezable<DateTimePatternGenerator>, Cloneable { class
61 public static DateTimePatternGenerator getEmptyInstance() { in getEmptyInstance()
62 return new DateTimePatternGenerator(); in getEmptyInstance()
69 protected DateTimePatternGenerator() { in DateTimePatternGenerator() method in DateTimePatternGenerator
77 public static DateTimePatternGenerator getInstance() { in getInstance()
86 public static DateTimePatternGenerator getInstance(ULocale uLocale) { in getInstance()
96 public static DateTimePatternGenerator getInstance(Locale locale) { in getInstance()
111 public static DateTimePatternGenerator getFrozenInstance(ULocale uLocale) { in getFrozenInstance()
113 DateTimePatternGenerator result = DTPNG_CACHE.get(localeKey); in getFrozenInstance()
117 result = new DateTimePatternGenerator(); in getFrozenInstance()
[all …]
DDateIntervalFormat.java448 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance()
542 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance()
996 DateTimePatternGenerator dtpng = DateTimePatternGenerator.getInstance(locale); in initializeIntervalPattern()
1166 DateTimePatternGenerator dtpng) { in genFallbackPattern()
DDateFormat.java2031 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstanceForSkeleton()
2074 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstanceForSkeleton()
/external/icu/icu4c/source/test/perf/DateFmtPerf/
DDateFmtPerf.h440DateTimePatternGenerator* gen(DateTimePatternGenerator::createInstance(loc, status2)); in call()
483DateTimePatternGenerator* gen(DateTimePatternGenerator::createInstance(loc, status2)); in call()
486 DateTimePatternGenerator *cl = gen->clone(); in call()
530DateTimePatternGenerator* gen(DateTimePatternGenerator::createInstance(loc, status2)); in call()
/external/v8/src/
Di18n.cc101 icu::DateTimePatternGenerator* generator = in CreateICUDateFormat()
102 icu::DateTimePatternGenerator::createInstance(icu_locale, status); in CreateICUDateFormat()