Home
last modified time | relevance | path

Searched refs:EStyle (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtsdate.cpp72 DateFormat::EStyle timeStyle, dateStyle; in testLocale()
79 for(timeStyle = (DateFormat::EStyle)0; in testLocale()
80 timeStyle < (DateFormat::EStyle)4; in testLocale()
81 timeStyle = (DateFormat::EStyle) (timeStyle+1)) in testLocale()
90 for(dateStyle = (DateFormat::EStyle)0; in testLocale()
91 dateStyle < (DateFormat::EStyle)4; in testLocale()
92 dateStyle = (DateFormat::EStyle) (dateStyle+1)) in testLocale()
99 for(dateStyle = (DateFormat::EStyle)0; in testLocale()
100 dateStyle < (DateFormat::EStyle)4; in testLocale()
101 dateStyle = (DateFormat::EStyle) (dateStyle+1)) in testLocale()
[all …]
Ddtfmtrtts.cpp193 static const char *styleName(DateFormat::EStyle s) in styleName()
239 logln("Testing style " + UnicodeString(styleName((DateFormat::EStyle)style))); in test()
240 DateFormat *df = DateFormat::createDateInstance((DateFormat::EStyle)style, loc); in test()
242 …uld not DF::createDateInstance ") + UnicodeString(styleName((DateFormat::EStyle)style)) + " L… in test()
252 logln("Testing style " + UnicodeString(styleName((DateFormat::EStyle)style))); in test()
253 DateFormat *df = DateFormat::createTimeInstance((DateFormat::EStyle)style, loc); in test()
255 …uld not DF::createTimeInstance ") + UnicodeString(styleName((DateFormat::EStyle)style)) + " Locale… in test()
266 …+ UnicodeString(styleName((DateFormat::EStyle)dstyle)) + ", tstyle" + UnicodeString(styleName((Dat… in test()
267 …rmat *df = DateFormat::createDateTimeInstance((DateFormat::EStyle)dstyle, (DateFormat::EStyle)tsty… in test()
269 …+ UnicodeString(styleName((DateFormat::EStyle)dstyle)) + ", tstyle" + UnicodeString(styleName((Dat… in test()
Ddadrfmt.cpp177 … = DateFormat::createDateTimeInstance((DateFormat::EStyle)styleSet.getDateStyle(), (DateFormat::ES… in testConvertDate()
Ddtfmttst.cpp980 DateFormat::EStyle looks[] = { in TestBadInput135()
997 DateFormat::EStyle dateLook = looks[j]; in TestBadInput135()
999 DateFormat::EStyle timeLook = looks[k]; in TestBadInput135()
4126 DateFormat::createDateInstance((DateFormat::EStyle)itemPtr->style, locale): in TestMonthPatterns()
4256 DateFormat::EStyle style;
4369 DateFormat::EStyle style;
4437 for (DateFormat::EStyle dateStyle = DateFormat::FULL; dateStyle <= DateFormat::SHORT; in TestDotAndAtLeniency()
4438 dateStyle = static_cast<DateFormat::EStyle>(dateStyle + 1)) { in TestDotAndAtLeniency()
4441 for (DateFormat::EStyle timeStyle = DateFormat::FULL; timeStyle <= DateFormat::SHORT; in TestDotAndAtLeniency()
4442 timeStyle = static_cast<DateFormat::EStyle>(timeStyle + 1)) { in TestDotAndAtLeniency()
/external/icu/icu4c/source/i18n/
Dwindtfmt.h45 …Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, …
124 DateFormat::EStyle fTimeStyle;
125 DateFormat::EStyle fDateStyle;
Ddatefmt.cpp390 DateFormat::createTimeInstance(DateFormat::EStyle style, in createTimeInstance()
399 DateFormat::createDateInstance(DateFormat::EStyle style, in createDateInstance()
408 DateFormat::createDateTimeInstance(EStyle dateStyle, in createDateTimeInstance()
409 EStyle timeStyle, in createDateTimeInstance()
414 dateStyle = (EStyle) (dateStyle + kDateOffset); in createDateTimeInstance()
498 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale) in create()
Dreldtfmt.cpp92 df = createDateInstance((EStyle)baseDateStyle, locale); in RelativeDateFormat()
100 df = createTimeInstance((EStyle)timeStyle, locale); in RelativeDateFormat()
109 df = createTimeInstance((EStyle)timeStyle, locale); in RelativeDateFormat()
Dwindtfmt.cpp162 Win32DateFormat::Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const … in Win32DateFormat()
Dudat.cpp150 fmt = DateFormat::createDateTimeInstance((DateFormat::EStyle)dateStyle, in udat_open()
151 (DateFormat::EStyle)timeStyle); in udat_open()
154 fmt = DateFormat::createDateTimeInstance((DateFormat::EStyle)dateStyle, in udat_open()
155 (DateFormat::EStyle)timeStyle, in udat_open()
Dsmpdtfmt.cpp345 construct(kShort, (EStyle) (kShort + kDateOffset), fLocale, status); in SimpleDateFormat()
488 SimpleDateFormat::SimpleDateFormat(EStyle timeStyle, in SimpleDateFormat()
489 EStyle dateStyle, in SimpleDateFormat()
651 void SimpleDateFormat::construct(EStyle timeStyle, in construct()
652 EStyle dateStyle, in construct()
Dmsgfmt.cpp141 static const icu::DateFormat::EStyle DATE_STYLES[] = {
1685 DateFormat::EStyle date_style; in createAppropriateFormat()
Ddtptngen.cpp677 DateFormat::EStyle style = (DateFormat::EStyle)i; in addICUPatterns()
/external/icu/icu4c/source/i18n/unicode/
Ddatefmt.h164 enum EStyle enum
538 static DateFormat* U_EXPORT2 createTimeInstance(EStyle style = kDefault,
556 static DateFormat* U_EXPORT2 createDateInstance(EStyle style = kDefault,
577 static DateFormat* U_EXPORT2 createDateTimeInstance(EStyle dateStyle = kDefault,
578 EStyle timeStyle = kDefault,
883 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
Dsmpdtfmt.h1235 SimpleDateFormat(EStyle timeStyle, EStyle dateStyle, const Locale& locale, UErrorCode& status);
1330 void construct(EStyle timeStyle, EStyle dateStyle, const Locale& locale, UErrorCode& status);