/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateTimeGeneratorTest.java | 34 import android.icu.text.DateTimePatternGenerator; 35 import android.icu.text.DateTimePatternGenerator.FormatParser; 36 import android.icu.text.DateTimePatternGenerator.VariableField; 86 …DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(ULocale.forLanguageTag(test[0]… in TestC() 88 int options = DateTimePatternGenerator.MATCH_HOUR_FIELD_LENGTH; in TestC() 133 DateTimePatternGenerator gen = DateTimePatternGenerator.getEmptyInstance(); in TestSkeletonsWithDayPeriods() 134 … DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo(); in TestSkeletonsWithDayPeriods() 143 int options = DateTimePatternGenerator.MATCH_HOUR_FIELD_LENGTH; in TestSkeletonsWithDayPeriods() 158 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in TestSimple() 165 … DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo(); in TestSimple() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateTimeGeneratorTest.java | 33 import com.ibm.icu.text.DateTimePatternGenerator; 34 import com.ibm.icu.text.DateTimePatternGenerator.FormatParser; 35 import com.ibm.icu.text.DateTimePatternGenerator.VariableField; 83 …DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(ULocale.forLanguageTag(test[0]… in TestC() 85 int options = DateTimePatternGenerator.MATCH_HOUR_FIELD_LENGTH; in TestC() 130 DateTimePatternGenerator gen = DateTimePatternGenerator.getEmptyInstance(); in TestSkeletonsWithDayPeriods() 131 … DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo(); in TestSkeletonsWithDayPeriods() 140 int options = DateTimePatternGenerator.MATCH_HOUR_FIELD_LENGTH; in TestSkeletonsWithDayPeriods() 155 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in TestSimple() 162 … DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo(); in TestSimple() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | udatpg.cpp | 34 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 …]
|
D | dtptngen.cpp | 295 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateTimePatternGenerator) 299 DateTimePatternGenerator* U_EXPORT2 in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 300 DateTimePatternGenerator::createInstance(UErrorCode& status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 304 DateTimePatternGenerator* U_EXPORT2 305 DateTimePatternGenerator::createInstance(const Locale& locale, UErrorCode& status) { in createInstance() 309 LocalPointer<DateTimePatternGenerator> result( in createInstance() 310 new DateTimePatternGenerator(locale, status), status); in createInstance() 314 DateTimePatternGenerator* U_EXPORT2 315 DateTimePatternGenerator::createInstanceNoStdPat(const Locale& locale, UErrorCode& status) { in createInstanceNoStdPat() 319 LocalPointer<DateTimePatternGenerator> result( in createInstanceNoStdPat() [all …]
|
/external/icu/libicu/cts_headers/unicode/ |
D | dtptngen.h | 58 class U_I18N_API DateTimePatternGenerator : public UObject { 66 static DateTimePatternGenerator* U_EXPORT2 createInstance(UErrorCode& status); 75 …static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& statu… 84 …static DateTimePatternGenerator* U_EXPORT2 createInstanceNoStdPat(const Locale& uLocale, UErrorCod… 91 …static DateTimePatternGenerator* U_EXPORT2 internalMakeInstance(const Locale& uLocale, UErrorCode&… 101 static DateTimePatternGenerator* U_EXPORT2 createEmptyInstance(UErrorCode& status); 107 virtual ~DateTimePatternGenerator(); 114 DateTimePatternGenerator* clone() const; 123 UBool operator==(const DateTimePatternGenerator& other) const; 132 UBool operator!=(const DateTimePatternGenerator& other) const; [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | dtptngen.h | 58 class U_I18N_API DateTimePatternGenerator : public UObject { 66 static DateTimePatternGenerator* U_EXPORT2 createInstance(UErrorCode& status); 75 …static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& statu… 84 …static DateTimePatternGenerator* U_EXPORT2 createInstanceNoStdPat(const Locale& uLocale, UErrorCod… 91 …static DateTimePatternGenerator* U_EXPORT2 internalMakeInstance(const Locale& uLocale, UErrorCode&… 101 static DateTimePatternGenerator* U_EXPORT2 createEmptyInstance(UErrorCode& status); 107 virtual ~DateTimePatternGenerator(); 114 DateTimePatternGenerator* clone() const; 123 UBool operator==(const DateTimePatternGenerator& other) const; 132 UBool operator!=(const DateTimePatternGenerator& other) const; [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | dtptngts.cpp | 445 … DateTimePatternGenerator *instFromDefaultLocale=DateTimePatternGenerator::createInstance(status); in testAPI() 457 …DateTimePatternGenerator *instFromLocale=DateTimePatternGenerator::createInstance(Locale::getFrenc… in testAPI() 472 DateTimePatternGenerator *cloneDTPatternGen=instFromLocale->clone(); in testAPI() 493 DateTimePatternGenerator *gen = DateTimePatternGenerator::createInstance(deLocale, status); in testAPI() 618 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI() 643 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI() 669 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI() 702 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI() 740 …DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(Locale::getEnglish(), st… in testAPI() 777 DateTimePatternGenerator *randDTGen= DateTimePatternGenerator::createInstance(status); in testAPI() [all …]
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/ |
D | DateTimePatternGeneratorSample.java | 14 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() 126 … DateTimePatternGenerator.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/ |
D | DateTimePatternGeneratorSample.java | 15 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() 127 … DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo(); in addPatternExample() 155 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); in replaceFieldTypesExample()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | FlexibleDateFromCLDR.java | 27 import com.ibm.icu.text.DateTimePatternGenerator; 28 import com.ibm.icu.text.DateTimePatternGenerator.PatternInfo; 37 DateTimePatternGenerator gen = DateTimePatternGenerator.getEmptyInstance(); 79 gen = DateTimePatternGenerator.getEmptyInstance(); // for now in set() 94 for (int i = 0; i < DateTimePatternGenerator.TYPE_LIMIT; ++i) { in showFlexibles() 99 if (i == DateTimePatternGenerator.FRACTIONAL_SECOND) continue; // don't need this field in showFlexibles() 172 if (item instanceof DateTimePatternGenerator.VariableField) { in checkFlexibles() 238 DateTimePatternGenerator.FormatParser fp = new DateTimePatternGenerator.FormatParser();
|
D | CheckDates.java | 49 import com.ibm.icu.text.DateTimePatternGenerator; 50 import com.ibm.icu.text.DateTimePatternGenerator.VariableField; 64 … DateTimePatternGenerator.FormatParser formatParser = new DateTimePatternGenerator.FormatParser(); 65 DateTimePatternGenerator dateTimePatternGenerator = DateTimePatternGenerator.getEmptyInstance(); 1043 …static DateTimePatternGenerator.FormatParser formatParser = new DateTimePatternGenerator.FormatPar… 1051 … if (type == DateTimePatternGenerator.ERA && last == DateTimePatternGenerator.YEAR) { 1053 … } else if (type == DateTimePatternGenerator.YEAR && last == DateTimePatternGenerator.ERA) { 1101 public String toString(DateTimePatternGenerator.FormatParser formatParser) { 1104 if (x instanceof DateTimePatternGenerator.VariableField) {
|
D | DateOrder.java | 17 import com.ibm.icu.text.DateTimePatternGenerator; 18 import com.ibm.icu.text.DateTimePatternGenerator.VariableField; 67 DateTimePatternGenerator.FormatParser fp) { in getOrderingInfo()
|
D | FlexibleDateTime.java | 30 import com.ibm.icu.text.DateTimePatternGenerator; 31 import com.ibm.icu.text.DateTimePatternGenerator.FormatParser; 32 import com.ibm.icu.text.DateTimePatternGenerator.VariableField; 222 public static void add(DateTimePatternGenerator generator, Collection<String> list) { in add()
|
/external/icu/icu4c/source/samples/dtptngsample/ |
D | dtptngsample.cpp | 55 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locales[j],status); in getBestPatternExample() 91 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locale,status); in addPatternExample() 132 DateTimePatternGenerator *dtfg = DateTimePatternGenerator::createInstance(locale,status); in replaceFieldTypesExample()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestDateOrder.java | 13 import com.ibm.icu.text.DateTimePatternGenerator; 36 DateTimePatternGenerator.FormatParser fp = new DateTimePatternGenerator.FormatParser(); in TestDateImportance()
|
D | CheckYear.java | 32 import com.ibm.icu.text.DateTimePatternGenerator; 33 import com.ibm.icu.text.DateTimePatternGenerator.VariableField; 45 static DateTimePatternGenerator dtp = DateTimePatternGenerator 47 …static DateTimePatternGenerator.FormatParser formatParser = new DateTimePatternGenerator.FormatPar… 185 VariableField item2 = (DateTimePatternGenerator.VariableField) item; 215 VariableField item2 = (DateTimePatternGenerator.VariableField) item;
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | CompareStockDatetime.java | 14 import com.ibm.icu.text.DateTimePatternGenerator; 35 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getEmptyInstance(); in main()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateTimePatternGenerator.java | 57 public class DateTimePatternGenerator implements Freezable<DateTimePatternGenerator>, Cloneable { class 68 public static DateTimePatternGenerator getEmptyInstance() { in getEmptyInstance() 69 DateTimePatternGenerator instance = new DateTimePatternGenerator(); in getEmptyInstance() 79 protected DateTimePatternGenerator() { in DateTimePatternGenerator() method in DateTimePatternGenerator 87 public static DateTimePatternGenerator getInstance() { in getInstance() 96 public static DateTimePatternGenerator getInstance(ULocale uLocale) { in getInstance() 105 public static DateTimePatternGenerator getInstance(Locale locale) { in getInstance() 120 public static DateTimePatternGenerator getFrozenInstance(ULocale uLocale) { in getFrozenInstance() 122 DateTimePatternGenerator result = DTPNG_CACHE.get(localeKey); in getFrozenInstance() 127 result = new DateTimePatternGenerator(); in getFrozenInstance() [all …]
|
D | DateIntervalFormat.java | 614 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance() 708 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance() 1376 DateTimePatternGenerator dtpng = DateTimePatternGenerator.getInstance(locale); in initializeIntervalPattern() 1568 DateTimePatternGenerator dtpng) { in genFallbackPattern() 1623 DateTimePatternGenerator dtptng = DateTimePatternGenerator.getInstance(locale); in normalizeHourMetacharacters() 1866 DateTimePatternGenerator dtpng) in genSeparateDateTimePtn()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateTimePatternGenerator.java | 57 public class DateTimePatternGenerator implements Freezable<DateTimePatternGenerator>, Cloneable { class 67 public static DateTimePatternGenerator getEmptyInstance() { in getEmptyInstance() 68 DateTimePatternGenerator instance = new DateTimePatternGenerator(); in getEmptyInstance() 77 protected DateTimePatternGenerator() { in DateTimePatternGenerator() method in DateTimePatternGenerator 84 public static DateTimePatternGenerator getInstance() { in getInstance() 92 public static DateTimePatternGenerator getInstance(ULocale uLocale) { in getInstance() 100 public static DateTimePatternGenerator getInstance(Locale locale) { in getInstance() 116 public static DateTimePatternGenerator getFrozenInstance(ULocale uLocale) { in getFrozenInstance() 118 DateTimePatternGenerator result = DTPNG_CACHE.get(localeKey); in getFrozenInstance() 123 result = new DateTimePatternGenerator(); in getFrozenInstance() [all …]
|
D | DateIntervalFormat.java | 600 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance() 691 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance() 1348 DateTimePatternGenerator dtpng = DateTimePatternGenerator.getInstance(locale); in initializeIntervalPattern() 1540 DateTimePatternGenerator dtpng) { in genFallbackPattern() 1595 DateTimePatternGenerator dtptng = DateTimePatternGenerator.getInstance(locale); in normalizeHourMetacharacters() 1838 DateTimePatternGenerator dtpng) in genSeparateDateTimePtn()
|
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/ |
D | DateTimePatternGenerator.java.patch | 1 --- android_icu4j/src/main/java/android/icu/text/DateTimePatternGenerator.java 2021-01-19 16:26:28.… 2 +++ android_icu4j/src/main/java/android/icu/text/DateTimePatternGenerator.java 2021-01-19 16:26:50.…
|
/external/icu/icu4c/source/test/perf/DateFmtPerf/ |
D | DateFmtPerf.h | 444 … DateTimePatternGenerator* gen(DateTimePatternGenerator::createInstance(loc, status2)); in call() 487 … DateTimePatternGenerator* gen(DateTimePatternGenerator::createInstance(loc, status2)); in call() 490 DateTimePatternGenerator *cl = gen->clone(); in call() 534 … DateTimePatternGenerator* gen(DateTimePatternGenerator::createInstance(loc, status2)); in call()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | DateTimeFormats.java | 34 import com.ibm.icu.text.DateTimePatternGenerator; 35 import com.ibm.icu.text.DateTimePatternGenerator.FormatParser; 36 import com.ibm.icu.text.DateTimePatternGenerator.PatternInfo; 37 import com.ibm.icu.text.DateTimePatternGenerator.VariableField; 114 private DateTimePatternGenerator generator; 151 generator = DateTimePatternGenerator.getEmptyInstance(); in set() 186 if (fld.getType() == DateTimePatternGenerator.HOUR) { in set() 201 int requestNumber = DateTimePatternGenerator.getAppendFormatNumber(request); in set() 271 if (FIELD_NAMES.length != DateTimePatternGenerator.TYPE_LIMIT) { 273 + DateTimePatternGenerator.TYPE_LIMIT);
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | Misc.java | 37 import com.ibm.icu.text.DateTimePatternGenerator; 194 DateTimePatternGenerator englishGenerator = DateTimePatternGenerator.getInstance(english); in showDateSamples() 195 DateTimePatternGenerator otherGenerator = DateTimePatternGenerator.getInstance(otherLocale); in showDateSamples() 215 DateTimePatternGenerator generator) { in getFormatted()
|