/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | DateTimeGeneratorTest.java | 34 import ohos.global.icu.text.DateTimePatternGenerator; 35 import ohos.global.icu.text.DateTimePatternGenerator.FormatParser; 36 import ohos.global.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 …]
|
/third_party/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 …]
|
/third_party/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 …]
|
/third_party/node/deps/icu-small/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 …]
|
/third_party/skia/third_party/externals/icu/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 …]
|
/third_party/flutter/skia/third_party/externals/icu/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 | 294 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateTimePatternGenerator) 298 DateTimePatternGenerator* U_EXPORT2 in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 299 DateTimePatternGenerator::createInstance(UErrorCode& status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 303 DateTimePatternGenerator* U_EXPORT2 304 DateTimePatternGenerator::createInstance(const Locale& locale, UErrorCode& status) { in createInstance() 308 LocalPointer<DateTimePatternGenerator> result( in createInstance() 309 new DateTimePatternGenerator(locale, status), status); in createInstance() 313 DateTimePatternGenerator* U_EXPORT2 314 DateTimePatternGenerator::createEmptyInstance(UErrorCode& status) { in createEmptyInstance() 318 LocalPointer<DateTimePatternGenerator> result( in createEmptyInstance() [all …]
|
/third_party/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 …]
|
/third_party/skia/third_party/externals/icu/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 …]
|
/third_party/node/deps/icu-small/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 bool operator==(const DateTimePatternGenerator& other) const; 132 bool operator!=(const DateTimePatternGenerator& other) const; [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/ |
D | dtptngen.h | 54 class U_I18N_API DateTimePatternGenerator : public UObject { 62 static DateTimePatternGenerator* U_EXPORT2 createInstance(UErrorCode& status); 71 …static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& statu… 80 …static DateTimePatternGenerator* U_EXPORT2 internalMakeInstance(const Locale& uLocale, UErrorCode&… 90 static DateTimePatternGenerator* U_EXPORT2 createEmptyInstance(UErrorCode& status); 96 virtual ~DateTimePatternGenerator(); 103 DateTimePatternGenerator* clone() const; 112 UBool operator==(const DateTimePatternGenerator& other) const; 121 UBool operator!=(const DateTimePatternGenerator& other) const; 502 DateTimePatternGenerator(UErrorCode & status); [all …]
|
/third_party/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 …]
|
/third_party/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()
|
/third_party/flutter/skia/third_party/externals/icu/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()
|
/third_party/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()
|
/third_party/skia/third_party/externals/icu/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()
|
/third_party/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 | 615 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance() 709 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance() 1375 DateTimePatternGenerator dtpng = DateTimePatternGenerator.getInstance(locale); in initializeIntervalPattern() 1584 DateTimePatternGenerator dtpng) { in genFallbackPattern() 1639 DateTimePatternGenerator dtptng = DateTimePatternGenerator.getInstance(locale); in normalizeHourMetacharacters() 1882 DateTimePatternGenerator dtpng) in genSeparateDateTimePtn()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 | 595 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance() 686 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale); in getInstance() 1301 DateTimePatternGenerator dtpng = DateTimePatternGenerator.getInstance(locale); in initializeIntervalPattern() 1493 DateTimePatternGenerator dtpng) { in genFallbackPattern() 1714 DateTimePatternGenerator dtpng) in genSeparateDateTimePtn()
|
/third_party/icu/docs/userguide/format_parse/datetime/ |
D | examples.md | 185 ## DateTimePatternGenerator section in Date and Time Formatting Examples 194 DateTimePatternGenerator generator 195 = DateTimePatternGenerator.getInstance(locale); 211 DateTimePatternGenerator *generator = DateTimePatternGenerator::createInstance( locale, status); 271 DateTimePatternGenerator.FormatParser formatParser = 272 new DateTimePatternGenerator.FormatParser();
|
/third_party/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()
|