Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java31 import com.ibm.icu.text.DateTimePatternGenerator;
32 import com.ibm.icu.text.DateTimePatternGenerator.FormatParser;
33 import com.ibm.icu.text.DateTimePatternGenerator.VariableField;
66DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(ULocale.forLanguageTag(test[0]… in TestC()
80 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in TestSimple()
87DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo(); in TestSimple()
108 DateTimePatternGenerator enGen = DateTimePatternGenerator.getInstance(ULocale.ENGLISH); in TestSimple()
145 DateTimePatternGenerator rootGen = DateTimePatternGenerator.getInstance(ULocale.ROOT); in TestRoot()
155 DateTimePatternGenerator nullGen = DateTimePatternGenerator.getEmptyInstance(); in TestEmpty()
244 DateTimePatternGenerator dtfg = null; in TestBasic()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java32 import android.icu.text.DateTimePatternGenerator;
33 import android.icu.text.DateTimePatternGenerator.FormatParser;
34 import android.icu.text.DateTimePatternGenerator.VariableField;
67DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(ULocale.forLanguageTag(test[0]… in TestC()
81 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in TestSimple()
88DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo(); in TestSimple()
109 DateTimePatternGenerator enGen = DateTimePatternGenerator.getInstance(ULocale.ENGLISH); in TestSimple()
146 DateTimePatternGenerator rootGen = DateTimePatternGenerator.getInstance(ULocale.ROOT); in TestRoot()
156 DateTimePatternGenerator nullGen = DateTimePatternGenerator.getEmptyInstance(); in TestEmpty()
245 DateTimePatternGenerator dtfg = null; in TestBasic()
[all …]
/external/icu/icu4c/source/i18n/
Dudatpg.cpp34 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createInstance(*pErrorCode); in udatpg_open()
36 …return (UDateTimePatternGenerator *)DateTimePatternGenerator::createInstance(Locale(locale), *pErr… in udatpg_open()
42 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createEmptyInstance(*pErrorCode); in udatpg_openEmpty()
47 delete (DateTimePatternGenerator *)dtpg; in udatpg_close()
55 return (UDateTimePatternGenerator *)(((const DateTimePatternGenerator *)dtpg)->clone()); in udatpg_clone()
82 …UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *… in udatpg_getBestPatternWithOptions()
99 UnicodeString result=DateTimePatternGenerator::staticGetSkeleton( in udatpg_getSkeleton()
117 UnicodeString result=DateTimePatternGenerator::staticGetBaseSkeleton( in udatpg_getBaseSkeleton()
137 UDateTimePatternConflict result=((DateTimePatternGenerator *)dtpg)-> in udatpg_addPattern()
151 ((DateTimePatternGenerator *)dtpg)->setAppendItemFormat(field, valueString); in udatpg_setAppendItemFormat()
[all …]
Ddtptngen.cpp240 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateTimePatternGenerator)
244 DateTimePatternGenerator* U_EXPORT2 in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
245 DateTimePatternGenerator::createInstance(UErrorCode& status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
249 DateTimePatternGenerator* U_EXPORT2
250 DateTimePatternGenerator::createInstance(const Locale& locale, UErrorCode& status) { in createInstance()
254 LocalPointer<DateTimePatternGenerator> result( in createInstance()
255 new DateTimePatternGenerator(locale, status), status); in createInstance()
259 DateTimePatternGenerator* U_EXPORT2
260 DateTimePatternGenerator::createEmptyInstance(UErrorCode& status) { in createEmptyInstance()
261 DateTimePatternGenerator *result = new DateTimePatternGenerator(status); in createEmptyInstance()
[all …]
Ddatefmt.cpp77 fSkeleton(DateTimePatternGenerator::staticGetSkeleton(skeleton, status)) { } in DateFmtBestPatternKey()
103 LocalPointer<DateTimePatternGenerator> dtpg( in createObject()
104 DateTimePatternGenerator::createInstance(fLoc, status)); in createObject()
/external/icu/icu4c/source/i18n/unicode/
Ddtptngen.h52 class U_I18N_API DateTimePatternGenerator : public UObject {
60 static DateTimePatternGenerator* U_EXPORT2 createInstance(UErrorCode& status);
69 …static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& statu…
78 …static DateTimePatternGenerator* U_EXPORT2 internalMakeInstance(const Locale& uLocale, UErrorCode&…
88 static DateTimePatternGenerator* U_EXPORT2 createEmptyInstance(UErrorCode& status);
94 virtual ~DateTimePatternGenerator();
101 DateTimePatternGenerator* clone() const;
110 UBool operator==(const DateTimePatternGenerator& other) const;
119 UBool operator!=(const DateTimePatternGenerator& other) const;
486 DateTimePatternGenerator(UErrorCode & status);
[all …]
Ddatefmt.h44 class DateTimePatternGenerator; variable
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp370DateTimePatternGenerator *instFromDefaultLocale=DateTimePatternGenerator::createInstance(status); in testAPI()
382DateTimePatternGenerator *instFromLocale=DateTimePatternGenerator::createInstance(Locale::getFrenc… in testAPI()
397 DateTimePatternGenerator *cloneDTPatternGen=instFromLocale->clone(); in testAPI()
418 DateTimePatternGenerator *gen = DateTimePatternGenerator::createInstance(deLocale, status); in testAPI()
552 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
577 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
603 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
635 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
670DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(Locale::getEnglish(), st… in testAPI()
707 DateTimePatternGenerator *randDTGen= DateTimePatternGenerator::createInstance(status); in testAPI()
[all …]
Duobjtest.cpp367 TESTCLASSID_FACTORY(DateTimePatternGenerator, DateTimePatternGenerator::createInstance(status)); in testIDs()
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java14 import com.ibm.icu.text.DateTimePatternGenerator;
51 DateTimePatternGenerator dtfg = null; in getBestPatternExample()
58 dtfg = DateTimePatternGenerator.getInstance(locale); in getBestPatternExample()
124 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in addPatternExample()
126DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo(); in addPatternExample()
154 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in replaceFieldTypesExample()
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java15 import android.icu.text.DateTimePatternGenerator;
52 DateTimePatternGenerator dtfg = null; in getBestPatternExample()
59 dtfg = DateTimePatternGenerator.getInstance(locale); in getBestPatternExample()
125 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in addPatternExample()
127DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo(); in addPatternExample()
155 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in replaceFieldTypesExample()
/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp54 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locales[j],status); in getBestPatternExample()
90 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locale,status); in addPatternExample()
131 DateTimePatternGenerator *dtfg = DateTimePatternGenerator::createInstance(locale,status); in replaceFieldTypesExample()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateTimePatternGenerator.java56 public class DateTimePatternGenerator implements Freezable<DateTimePatternGenerator>, Cloneable { class
67 public static DateTimePatternGenerator getEmptyInstance() { in getEmptyInstance()
68 DateTimePatternGenerator instance = new DateTimePatternGenerator(); in getEmptyInstance()
78 protected DateTimePatternGenerator() { in DateTimePatternGenerator() method in DateTimePatternGenerator
86 public static DateTimePatternGenerator getInstance() { in getInstance()
95 public static DateTimePatternGenerator getInstance(ULocale uLocale) { in getInstance()
104 public static DateTimePatternGenerator getInstance(Locale locale) { in getInstance()
119 public static DateTimePatternGenerator getFrozenInstance(ULocale uLocale) { in getFrozenInstance()
121 DateTimePatternGenerator result = DTPNG_CACHE.get(localeKey); in getFrozenInstance()
126 result = new DateTimePatternGenerator(); in getFrozenInstance()
[all …]
DDateIntervalFormat.java473 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance()
567 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance()
1101 DateTimePatternGenerator dtpng = DateTimePatternGenerator.getInstance(locale); in initializeIntervalPattern()
1293 DateTimePatternGenerator dtpng) { in genFallbackPattern()
1514 DateTimePatternGenerator dtpng) in genSeparateDateTimePtn()
DDateFormat.java2125 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstanceForSkeleton()
2166 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstanceForSkeleton()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateTimePatternGenerator.java56 public class DateTimePatternGenerator implements Freezable<DateTimePatternGenerator>, Cloneable { class
66 public static DateTimePatternGenerator getEmptyInstance() { in getEmptyInstance()
67 DateTimePatternGenerator instance = new DateTimePatternGenerator(); in getEmptyInstance()
76 protected DateTimePatternGenerator() { in DateTimePatternGenerator() method in DateTimePatternGenerator
83 public static DateTimePatternGenerator getInstance() { in getInstance()
91 public static DateTimePatternGenerator getInstance(ULocale uLocale) { in getInstance()
99 public static DateTimePatternGenerator getInstance(Locale locale) { in getInstance()
115 public static DateTimePatternGenerator getFrozenInstance(ULocale uLocale) { in getFrozenInstance()
117 DateTimePatternGenerator result = DTPNG_CACHE.get(localeKey); in getFrozenInstance()
122 result = new DateTimePatternGenerator(); in getFrozenInstance()
[all …]
DDateIntervalFormat.java470 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance()
561 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance()
1088 DateTimePatternGenerator dtpng = DateTimePatternGenerator.getInstance(locale); in initializeIntervalPattern()
1280 DateTimePatternGenerator dtpng) { in genFallbackPattern()
1501 DateTimePatternGenerator dtpng) in genSeparateDateTimePtn()
DDateFormat.java1978 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstanceForSkeleton()
2015 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstanceForSkeleton()
/external/icu/icu4c/source/test/perf/DateFmtPerf/
DDateFmtPerf.h444DateTimePatternGenerator* gen(DateTimePatternGenerator::createInstance(loc, status2)); in call()
487DateTimePatternGenerator* gen(DateTimePatternGenerator::createInstance(loc, status2)); in call()
490 DateTimePatternGenerator *cl = gen->clone(); in call()
534DateTimePatternGenerator* gen(DateTimePatternGenerator::createInstance(loc, status2)); in call()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayCalendarDemo.java42 import com.ibm.icu.text.DateTimePatternGenerator;
334 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.gz
Dicu4j51.api3.gz
Dicu4j52.api3.gz
Dicu4j49.api3.gz

12