/third_party/icu/icu4c/source/test/intltest/ |
D | tsdate.cpp | 72 DateFormat::EStyle timeStyle, dateStyle; in testLocale() local 79 for(timeStyle = (DateFormat::EStyle)0; in testLocale() 80 timeStyle < (DateFormat::EStyle)4; in testLocale() 81 timeStyle = (DateFormat::EStyle) (timeStyle+1)) in testLocale() 83 fTestName = (UnicodeString) "Time test " + (int32_t) timeStyle + " (" + localeName + ")"; in testLocale() 84 fFormat = DateFormat::createTimeInstance(timeStyle, locale); in testLocale() 103 for(timeStyle = (DateFormat::EStyle)0; in testLocale() 104 timeStyle < (DateFormat::EStyle)4; in testLocale() 105 timeStyle = (DateFormat::EStyle) (timeStyle+1)) in testLocale() 107 …UnicodeString) "DateTime test " + (int32_t) dateStyle + "/" + (int32_t) timeStyle + " (" + localeN… in testLocale() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateFormat.java | 1527 int timeStyle) in getDateTimeInstance() argument 1529 return get(dateStyle, timeStyle, ULocale.getDefault(Category.FORMAT), null); in getDateTimeInstance() 1547 int dateStyle, int timeStyle, Locale aLocale) in getDateTimeInstance() argument 1549 return get(dateStyle, timeStyle, ULocale.forLocale(aLocale), null); in getDateTimeInstance() 1567 int dateStyle, int timeStyle, ULocale locale) in getDateTimeInstance() argument 1569 return get(dateStyle, timeStyle, locale, null); in getDateTimeInstance() 1862 private static DateFormat get(int dateStyle, int timeStyle, ULocale loc, Calendar cal) { in get() argument 1863 if((timeStyle != DateFormat.NONE && (timeStyle & RELATIVE)>0) || in get() 1865 … RelativeDateFormat r = new RelativeDateFormat(timeStyle, dateStyle /* offset? */, loc, cal); in get() 1869 if (timeStyle < DateFormat.NONE || timeStyle > DateFormat.SHORT) { in get() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | DateFormat.java | 1422 int timeStyle) in getDateTimeInstance() argument 1424 return get(dateStyle, timeStyle, ULocale.getDefault(Category.FORMAT), null); in getDateTimeInstance() 1441 int dateStyle, int timeStyle, Locale aLocale) in getDateTimeInstance() argument 1443 return get(dateStyle, timeStyle, ULocale.forLocale(aLocale), null); in getDateTimeInstance() 1460 int dateStyle, int timeStyle, ULocale locale) in getDateTimeInstance() argument 1462 return get(dateStyle, timeStyle, locale, null); in getDateTimeInstance() 1736 private static DateFormat get(int dateStyle, int timeStyle, ULocale loc, Calendar cal) { in get() argument 1737 if((timeStyle != DateFormat.NONE && (timeStyle & RELATIVE)>0) || in get() 1739 … RelativeDateFormat r = new RelativeDateFormat(timeStyle, dateStyle /* offset? */, loc, cal); in get() 1743 if (timeStyle < DateFormat.NONE || timeStyle > DateFormat.SHORT) { in get() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | IntlTestDateFormat.java | 75 int timeStyle, dateStyle; in localeTest() local 82 for(timeStyle = 0; timeStyle < 4; timeStyle++) { in localeTest() 83 fTestName = "Time test " + timeStyle + " (" + localeName + ")"; in localeTest() 85 fFormat = DateFormat.getTimeInstance(timeStyle, locale); in localeTest() 109 for(timeStyle = 0; timeStyle < 4; timeStyle++) { in localeTest() 110 … fTestName = "DateTime test " + dateStyle + "/" + timeStyle + " (" + localeName + ")"; in localeTest() 112 fFormat = DateFormat.getDateTimeInstance(dateStyle, timeStyle, locale); in localeTest()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDateFormat.java | 72 int timeStyle, dateStyle; in localeTest() local 79 for(timeStyle = 0; timeStyle < 4; timeStyle++) { in localeTest() 80 fTestName = "Time test " + timeStyle + " (" + localeName + ")"; in localeTest() 82 fFormat = DateFormat.getTimeInstance(timeStyle, locale); in localeTest() 106 for(timeStyle = 0; timeStyle < 4; timeStyle++) { in localeTest() 107 … fTestName = "DateTime test " + dateStyle + "/" + timeStyle + " (" + localeName + ")"; in localeTest() 109 fFormat = DateFormat.getDateTimeInstance(dateStyle, timeStyle, locale); in localeTest()
|
/third_party/icu/tools/multi/proj/provider/glue/ |
D | date_fe.cpp | 36 public: static DateFormat *create(UDateFormatStyle timeStyle, \ 87 GLUE_SYM ( DateFormat ) :: create(UDateFormatStyle timeStyle, in GLUE_SYM() 99 UDateFormat * uc = OICU_udat_open( timeStyle, dateStyle, locale, in GLUE_SYM() 204 virtual DateFormat *createFormat(UDateFormatStyle timeStyle, 219 DateFormat *VersionDateFormatFactory::createFormat(UDateFormatStyle timeStyle, 251 …icuver[1]==(#x)[2]) { DateFormat *c = glue ## DateFormat ## x :: create(timeStyle,dateStyle,locale… 312 extern "C" UDateFormat *versionDateFormatOpener(UDateFormatStyle timeStyle, 320 …DateFormat *df = vdf.createFormat(timeStyle,dateStyle,locale,tzID,tzIDLength,pattern,patternLength…
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | GlobalizationPreferences.java | 635 public GlobalizationPreferences setDateFormat(int dateStyle, int timeStyle, DateFormat format) { in setDateFormat() argument 642 dateFormats[dateStyle][timeStyle] = (DateFormat) format.clone(); // for safety in setDateFormat() 658 public DateFormat getDateFormat(int dateStyle, int timeStyle) { in getDateFormat() argument 659 if (dateStyle == DF_NONE && timeStyle == DF_NONE in getDateFormat() 661 || timeStyle < 0 || timeStyle >= DF_LIMIT) { in getDateFormat() 666 result = dateFormats[dateStyle][timeStyle]; in getDateFormat() 673 result = guessDateFormat(dateStyle, timeStyle); in getDateFormat() 912 protected DateFormat guessDateFormat(int dateStyle, int timeStyle) { in guessDateFormat() argument 918 if (timeStyle == DF_NONE) { in guessDateFormat() 921 result = DateFormat.getTimeInstance(getCalendar(), timeStyle, dfLocale); in guessDateFormat() [all …]
|
D | Calendar.java | 3307 public DateFormat getDateTimeFormat(int dateStyle, int timeStyle, Locale loc) { in getDateTimeFormat() argument 3308 return formatHelper(this, ULocale.forLocale(loc), dateStyle, timeStyle); in getDateTimeFormat() 3316 public DateFormat getDateTimeFormat(int dateStyle, int timeStyle, ULocale loc) { in getDateTimeFormat() argument 3317 return formatHelper(this, loc, dateStyle, timeStyle); in getDateTimeFormat() 3412 int timeStyle) { in formatHelper() argument 3413 if (timeStyle < DateFormat.NONE || timeStyle > DateFormat.SHORT) { in formatHelper() 3414 throw new IllegalArgumentException("Illegal time style " + timeStyle); in formatHelper() 3425 if ((timeStyle >= 0) && (dateStyle >= 0)) { in formatHelper() 3428 patternData.patterns[timeStyle], in formatHelper() 3435 String timeOverride = patternData.overrides[timeStyle]; in formatHelper() [all …]
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/ |
D | GlobalizationPreferences.java | 633 public GlobalizationPreferences setDateFormat(int dateStyle, int timeStyle, DateFormat format) { in setDateFormat() argument 640 dateFormats[dateStyle][timeStyle] = (DateFormat) format.clone(); // for safety in setDateFormat() 656 public DateFormat getDateFormat(int dateStyle, int timeStyle) { in getDateFormat() argument 657 if (dateStyle == DF_NONE && timeStyle == DF_NONE in getDateFormat() 659 || timeStyle < 0 || timeStyle >= DF_LIMIT) { in getDateFormat() 664 result = dateFormats[dateStyle][timeStyle]; in getDateFormat() 671 result = guessDateFormat(dateStyle, timeStyle); in getDateFormat() 910 protected DateFormat guessDateFormat(int dateStyle, int timeStyle) { in guessDateFormat() argument 916 if (timeStyle == DF_NONE) { in guessDateFormat() 919 result = DateFormat.getTimeInstance(getCalendar(), timeStyle, dfLocale); in guessDateFormat() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | datefmt.cpp | 409 EStyle timeStyle, in createDateTimeInstance() argument 416 return create(timeStyle, dateStyle, aLocale); in createDateTimeInstance() 503 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale) in create() argument 512 Win32DateFormat *f = new Win32DateFormat(timeStyle, dateStyle, locale, status); in create() 524 …RelativeDateFormat *r = new RelativeDateFormat((UDateFormatStyle)timeStyle, (UDateFormatStyle)(dat… in create() 531 SimpleDateFormat *f = new SimpleDateFormat(timeStyle, dateStyle, locale, status); in create()
|
D | reldtfmt.cpp | 70 RelativeDateFormat::RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, in RelativeDateFormat() argument 82 if (timeStyle < UDAT_NONE || timeStyle > UDAT_SHORT) { in RelativeDateFormat() 99 if (timeStyle != UDAT_NONE) { in RelativeDateFormat() 100 df = createTimeInstance((EStyle)timeStyle, locale); in RelativeDateFormat() 109 df = createTimeInstance((EStyle)timeStyle, locale); in RelativeDateFormat()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | datefmt.cpp | 407 EStyle timeStyle, in createDateTimeInstance() argument 414 return create(timeStyle, dateStyle, aLocale); in createDateTimeInstance() 501 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale) in create() argument 510 Win32DateFormat *f = new Win32DateFormat(timeStyle, dateStyle, locale, status); in create() 522 …RelativeDateFormat *r = new RelativeDateFormat((UDateFormatStyle)timeStyle, (UDateFormatStyle)(dat… in create() 529 SimpleDateFormat *f = new SimpleDateFormat(timeStyle, dateStyle, locale, status); in create()
|
D | reldtfmt.cpp | 70 RelativeDateFormat::RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, in RelativeDateFormat() argument 82 if (timeStyle < UDAT_NONE || timeStyle > UDAT_SHORT) { in RelativeDateFormat() 99 if (timeStyle != UDAT_NONE) { in RelativeDateFormat() 100 df = createTimeInstance((EStyle)timeStyle, locale); in RelativeDateFormat() 109 df = createTimeInstance((EStyle)timeStyle, locale); in RelativeDateFormat()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | datefmt.cpp | 409 EStyle timeStyle, in createDateTimeInstance() argument 416 return create(timeStyle, dateStyle, aLocale); in createDateTimeInstance() 503 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale) in create() argument 512 Win32DateFormat *f = new Win32DateFormat(timeStyle, dateStyle, locale, status); in create() 524 …RelativeDateFormat *r = new RelativeDateFormat((UDateFormatStyle)timeStyle, (UDateFormatStyle)(dat… in create() 531 SimpleDateFormat *f = new SimpleDateFormat(timeStyle, dateStyle, locale, status); in create()
|
D | reldtfmt.cpp | 70 RelativeDateFormat::RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, in RelativeDateFormat() argument 82 if (timeStyle < UDAT_NONE || timeStyle > UDAT_SHORT) { in RelativeDateFormat() 99 if (timeStyle != UDAT_NONE) { in RelativeDateFormat() 100 df = createTimeInstance((EStyle)timeStyle, locale); in RelativeDateFormat() 109 df = createTimeInstance((EStyle)timeStyle, locale); in RelativeDateFormat()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | datefmt.cpp | 409 EStyle timeStyle, in createDateTimeInstance() argument 416 return create(timeStyle, dateStyle, aLocale); in createDateTimeInstance() 498 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale) in create() argument 507 Win32DateFormat *f = new Win32DateFormat(timeStyle, dateStyle, locale, status); in create() 519 …RelativeDateFormat *r = new RelativeDateFormat((UDateFormatStyle)timeStyle, (UDateFormatStyle)(dat… in create() 526 SimpleDateFormat *f = new SimpleDateFormat(timeStyle, dateStyle, locale, status); in create()
|
D | reldtfmt.cpp | 70 RelativeDateFormat::RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, in RelativeDateFormat() argument 82 if (timeStyle < UDAT_NONE || timeStyle > UDAT_SHORT) { in RelativeDateFormat() 99 if (timeStyle != UDAT_NONE) { in RelativeDateFormat() 100 df = createTimeInstance((EStyle)timeStyle, locale); in RelativeDateFormat() 109 df = createTimeInstance((EStyle)timeStyle, locale); in RelativeDateFormat()
|
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/ |
D | DateFormatProviderICU.java | 29 public DateFormat getDateTimeInstance(int dateStyle, int timeStyle, Locale locale) { in getDateTimeInstance() argument 30 return getInstance(dateStyle, timeStyle, locale); in getDateTimeInstance()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | Calendar.java | 3410 public DateFormat getDateTimeFormat(int dateStyle, int timeStyle, Locale loc) { in getDateTimeFormat() argument 3411 return formatHelper(this, ULocale.forLocale(loc), dateStyle, timeStyle); in getDateTimeFormat() 3420 public DateFormat getDateTimeFormat(int dateStyle, int timeStyle, ULocale loc) { in getDateTimeFormat() argument 3421 return formatHelper(this, loc, dateStyle, timeStyle); in getDateTimeFormat() 3526 int timeStyle) { in formatHelper() argument 3527 if (timeStyle < DateFormat.NONE || timeStyle > DateFormat.SHORT) { in formatHelper() 3528 throw new IllegalArgumentException("Illegal time style " + timeStyle); in formatHelper() 3539 if ((timeStyle >= 0) && (dateStyle >= 0)) { in formatHelper() 3542 patternData.patterns[timeStyle], in formatHelper() 3549 String timeOverride = patternData.overrides[timeStyle]; in formatHelper() [all …]
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | datefmt.h | 588 EStyle timeStyle = kDefault, 893 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
D | datefmt.h | 588 EStyle timeStyle = kDefault, 893 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
D | datefmt.h | 588 EStyle timeStyle = kDefault, 893 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/ |
D | datefmt.h | 578 EStyle timeStyle = kDefault, 883 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
|
/third_party/typescript/src/lib/ |
D | es2020.intl.d.ts | 283 timeStyle?: "full" | "long" | "medium" | "short"; property
|
/third_party/typescript/lib/ |
D | lib.es2020.intl.d.ts | 303 timeStyle?: "full" | "long" | "medium" | "short"; property
|