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.cpp979 DateFormat::EStyle looks[] = { in TestBadInput135()
996 DateFormat::EStyle dateLook = looks[j]; in TestBadInput135()
998 DateFormat::EStyle timeLook = looks[k]; in TestBadInput135()
4125 DateFormat::createDateInstance((DateFormat::EStyle)itemPtr->style, locale): in TestMonthPatterns()
4255 DateFormat::EStyle style;
4368 DateFormat::EStyle style;
4436 for (DateFormat::EStyle dateStyle = DateFormat::FULL; dateStyle <= DateFormat::SHORT; in TestDotAndAtLeniency()
4437 dateStyle = static_cast<DateFormat::EStyle>(dateStyle + 1)) { in TestDotAndAtLeniency()
4440 for (DateFormat::EStyle timeStyle = DateFormat::FULL; timeStyle <= DateFormat::SHORT; in TestDotAndAtLeniency()
4441 timeStyle = static_cast<DateFormat::EStyle>(timeStyle + 1)) { in TestDotAndAtLeniency()
/external/icu/icu4c/source/i18n/unicode/
Ddatefmt.h159 enum EStyle enum
533 static DateFormat* U_EXPORT2 createTimeInstance(EStyle style = kDefault,
551 static DateFormat* U_EXPORT2 createDateInstance(EStyle style = kDefault,
572 static DateFormat* U_EXPORT2 createDateTimeInstance(EStyle dateStyle = kDefault,
573 EStyle timeStyle = kDefault,
878 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
Dsmpdtfmt.h1231 SimpleDateFormat(EStyle timeStyle, EStyle dateStyle, const Locale& locale, UErrorCode& status);
1327 void construct(EStyle timeStyle, EStyle dateStyle, const Locale& locale, UErrorCode& status);
/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()
Dwindtfmt.cpp162 Win32DateFormat::Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const … in Win32DateFormat()
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()
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.cpp393 construct(kShort, (EStyle) (kShort + kDateOffset), fLocale, status); in SimpleDateFormat()
536 SimpleDateFormat::SimpleDateFormat(EStyle timeStyle, in SimpleDateFormat()
537 EStyle dateStyle, in SimpleDateFormat()
695 void SimpleDateFormat::construct(EStyle timeStyle, in construct()
696 EStyle dateStyle, in construct()
Dmsgfmt.cpp140 static const icu::DateFormat::EStyle DATE_STYLES[] = {
1684 DateFormat::EStyle date_style; in createAppropriateFormat()
Ddtptngen.cpp649 DateFormat::EStyle style = (DateFormat::EStyle)i; in addICUPatterns()