Home
last modified time | relevance | path

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

12

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java28 import android.icu.text.DateTimePatternGenerator;
29 import android.icu.text.DateTimePatternGenerator.FormatParser;
30 import android.icu.text.DateTimePatternGenerator.VariableField;
65 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in TestSimple()
72DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo(); in TestSimple()
93 DateTimePatternGenerator enGen = DateTimePatternGenerator.getInstance(ULocale.ENGLISH); in TestSimple()
129 DateTimePatternGenerator rootGen = DateTimePatternGenerator.getInstance(ULocale.ROOT); in TestRoot()
138 DateTimePatternGenerator nullGen = DateTimePatternGenerator.getEmptyInstance(); in TestEmpty()
225 DateTimePatternGenerator dtfg = null; in TestBasic()
230 dtfg = DateTimePatternGenerator.getInstance(uLocale); in TestBasic()
[all …]
/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/
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::staticGetSkeleton( in udatpg_getSkeleton()
115 UnicodeString result=DateTimePatternGenerator::staticGetBaseSkeleton( in udatpg_getBaseSkeleton()
135 UDateTimePatternConflict result=((DateTimePatternGenerator *)dtpg)-> in udatpg_addPattern()
149 ((DateTimePatternGenerator *)dtpg)->setAppendItemFormat(field, valueString); in udatpg_setAppendItemFormat()
[all …]
Ddtptngen.cpp236 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateTimePatternGenerator)
240 DateTimePatternGenerator* U_EXPORT2 in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
241 DateTimePatternGenerator::createInstance(UErrorCode& status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
245 DateTimePatternGenerator* U_EXPORT2
246 DateTimePatternGenerator::createInstance(const Locale& locale, UErrorCode& status) { in createInstance()
250 LocalPointer<DateTimePatternGenerator> result( in createInstance()
251 new DateTimePatternGenerator(locale, status), status); in createInstance()
255 DateTimePatternGenerator* U_EXPORT2
256 DateTimePatternGenerator::createEmptyInstance(UErrorCode& status) { in createEmptyInstance()
257 DateTimePatternGenerator *result = new DateTimePatternGenerator(status); in createEmptyInstance()
[all …]
Ddatefmt.cpp75 fSkeleton(DateTimePatternGenerator::staticGetSkeleton(skeleton, status)) { } in DateFmtBestPatternKey()
101 LocalPointer<DateTimePatternGenerator> dtpg( in createObject()
102 DateTimePatternGenerator::createInstance(fLoc, status)); in createObject()
/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;
482 DateTimePatternGenerator(UErrorCode & status);
[all …]
Ddatefmt.h42 class DateTimePatternGenerator; variable
/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()
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java12 import com.ibm.icu.text.DateTimePatternGenerator;
49 DateTimePatternGenerator dtfg = null; in getBestPatternExample()
56 dtfg = DateTimePatternGenerator.getInstance(locale); in getBestPatternExample()
122 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in addPatternExample()
124DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo(); in addPatternExample()
152 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in replaceFieldTypesExample()
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java13 import android.icu.text.DateTimePatternGenerator;
50 DateTimePatternGenerator dtfg = null; in getBestPatternExample()
57 dtfg = DateTimePatternGenerator.getInstance(locale); in getBestPatternExample()
123 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in addPatternExample()
125DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo(); in addPatternExample()
153 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in replaceFieldTypesExample()
/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/android_icu4j/src/main/java/android/icu/text/
DDateTimePatternGenerator.java51 public class DateTimePatternGenerator implements Freezable<DateTimePatternGenerator>, Cloneable { class
61 public static DateTimePatternGenerator getEmptyInstance() { in getEmptyInstance()
62 return new DateTimePatternGenerator(); in getEmptyInstance()
68 protected DateTimePatternGenerator() { in DateTimePatternGenerator() method in DateTimePatternGenerator
75 public static DateTimePatternGenerator getInstance() { in getInstance()
83 public static DateTimePatternGenerator getInstance(ULocale uLocale) { in getInstance()
91 public static DateTimePatternGenerator getInstance(Locale locale) { in getInstance()
107 public static DateTimePatternGenerator getFrozenInstance(ULocale uLocale) { in getFrozenInstance()
109 DateTimePatternGenerator result = DTPNG_CACHE.get(localeKey); in getFrozenInstance()
113 result = new DateTimePatternGenerator(); in getFrozenInstance()
[all …]
DDateIntervalFormat.java456 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance()
547 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance()
1073 DateTimePatternGenerator dtpng = DateTimePatternGenerator.getInstance(locale); in initializeIntervalPattern()
1252 DateTimePatternGenerator dtpng) { in genFallbackPattern()
1473 DateTimePatternGenerator dtpng) in genSeparateDateTimePtn()
DDateFormat.java1954 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstanceForSkeleton()
1991 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstanceForSkeleton()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateTimePatternGenerator.java51 public class DateTimePatternGenerator implements Freezable<DateTimePatternGenerator>, Cloneable { class
62 public static DateTimePatternGenerator getEmptyInstance() { in getEmptyInstance()
63 return new DateTimePatternGenerator(); in getEmptyInstance()
70 protected DateTimePatternGenerator() { in DateTimePatternGenerator() method in DateTimePatternGenerator
78 public static DateTimePatternGenerator getInstance() { in getInstance()
87 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.java458 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance()
552 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance()
1085 DateTimePatternGenerator dtpng = DateTimePatternGenerator.getInstance(locale); in initializeIntervalPattern()
1264 DateTimePatternGenerator dtpng) { in genFallbackPattern()
1485 DateTimePatternGenerator dtpng) in genSeparateDateTimePtn()
DDateFormat.java2101 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstanceForSkeleton()
2142 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/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayCalendarDemo.java40 import com.ibm.icu.text.DateTimePatternGenerator;
332 final String pattern = DateTimePatternGenerator. in updateMonthName()
/external/icu/icu4j/tools/build/
Dicu4j48.api3.gz12;ICU4J 4.8;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j50.api3.gz12;ICU4J 50.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j52.api3.gz
Dicu4j51.api3.gz
Dicu4j49.api3.gz

12