Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtsdate.cpp69 DateFormat::EStyle timeStyle, dateStyle; in testLocale()
76 for(timeStyle = (DateFormat::EStyle)0; in testLocale()
77 timeStyle < (DateFormat::EStyle)4; in testLocale()
78 timeStyle = (DateFormat::EStyle) (timeStyle+1)) in testLocale()
87 for(dateStyle = (DateFormat::EStyle)0; in testLocale()
88 dateStyle < (DateFormat::EStyle)4; in testLocale()
89 dateStyle = (DateFormat::EStyle) (dateStyle+1)) in testLocale()
96 for(dateStyle = (DateFormat::EStyle)0; in testLocale()
97 dateStyle < (DateFormat::EStyle)4; in testLocale()
98 dateStyle = (DateFormat::EStyle) (dateStyle+1)) in testLocale()
[all …]
Ddtfmtrtts.cpp191 static const char *styleName(DateFormat::EStyle s) in styleName()
237 logln("Testing style " + UnicodeString(styleName((DateFormat::EStyle)style))); in test()
238 DateFormat *df = DateFormat::createDateInstance((DateFormat::EStyle)style, loc); in test()
240 …uld not DF::createDateInstance ") + UnicodeString(styleName((DateFormat::EStyle)style)) + " L… in test()
250 logln("Testing style " + UnicodeString(styleName((DateFormat::EStyle)style))); in test()
251 DateFormat *df = DateFormat::createTimeInstance((DateFormat::EStyle)style, loc); in test()
253 …uld not DF::createTimeInstance ") + UnicodeString(styleName((DateFormat::EStyle)style)) + " Locale… in test()
264 …+ UnicodeString(styleName((DateFormat::EStyle)dstyle)) + ", tstyle" + UnicodeString(styleName((Dat… in test()
265 …rmat *df = DateFormat::createDateTimeInstance((DateFormat::EStyle)dstyle, (DateFormat::EStyle)tsty… in test()
267 …+ UnicodeString(styleName((DateFormat::EStyle)dstyle)) + ", tstyle" + UnicodeString(styleName((Dat… in test()
Ddadrfmt.cpp175 … = DateFormat::createDateTimeInstance((DateFormat::EStyle)styleSet.getDateStyle(), (DateFormat::ES… in testConvertDate()
Ddtfmttst.cpp966 DateFormat::EStyle looks[] = { in TestBadInput135()
983 DateFormat::EStyle dateLook = looks[j]; in TestBadInput135()
985 DateFormat::EStyle timeLook = looks[k]; in TestBadInput135()
4108 DateFormat::createDateInstance((DateFormat::EStyle)itemPtr->style, locale): in TestMonthPatterns()
4238 DateFormat::EStyle style;
4358 for (DateFormat::EStyle dateStyle = DateFormat::FULL; dateStyle <= DateFormat::SHORT; in TestDotAndAtLeniency()
4359 dateStyle = static_cast<DateFormat::EStyle>(dateStyle + 1)) { in TestDotAndAtLeniency()
4362 for (DateFormat::EStyle timeStyle = DateFormat::FULL; timeStyle <= DateFormat::SHORT; in TestDotAndAtLeniency()
4363 timeStyle = static_cast<DateFormat::EStyle>(timeStyle + 1)) { in TestDotAndAtLeniency()
/external/icu/icu4c/source/i18n/
Dwindtfmt.h43 …Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, …
122 DateFormat::EStyle fTimeStyle;
123 DateFormat::EStyle fDateStyle;
Ddatefmt.cpp388 DateFormat::createTimeInstance(DateFormat::EStyle style, in createTimeInstance()
397 DateFormat::createDateInstance(DateFormat::EStyle style, in createDateInstance()
406 DateFormat::createDateTimeInstance(EStyle dateStyle, in createDateTimeInstance()
407 EStyle timeStyle, in createDateTimeInstance()
412 dateStyle = (EStyle) (dateStyle + kDateOffset); in createDateTimeInstance()
496 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale) in create()
Dwindtfmt.cpp96 Win32DateFormat::Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const … in Win32DateFormat()
Dreldtfmt.cpp94 df = createDateInstance((EStyle)baseDateStyle, locale); in RelativeDateFormat()
102 df = createTimeInstance((EStyle)timeStyle, locale); in RelativeDateFormat()
111 df = createTimeInstance((EStyle)timeStyle, locale); in RelativeDateFormat()
Dudat.cpp148 fmt = DateFormat::createDateTimeInstance((DateFormat::EStyle)dateStyle, in udat_open()
149 (DateFormat::EStyle)timeStyle); in udat_open()
152 fmt = DateFormat::createDateTimeInstance((DateFormat::EStyle)dateStyle, in udat_open()
153 (DateFormat::EStyle)timeStyle, in udat_open()
Dsmpdtfmt.cpp386 construct(kShort, (EStyle) (kShort + kDateOffset), fLocale, status); in SimpleDateFormat()
529 SimpleDateFormat::SimpleDateFormat(EStyle timeStyle, in SimpleDateFormat()
530 EStyle dateStyle, in SimpleDateFormat()
686 void SimpleDateFormat::construct(EStyle timeStyle, in construct()
687 EStyle dateStyle, in construct()
Dmsgfmt.cpp138 static const icu::DateFormat::EStyle DATE_STYLES[] = {
1682 DateFormat::EStyle date_style; in createAppropriateFormat()
Ddtptngen.cpp431 DateFormat::EStyle style = (DateFormat::EStyle)i; in addICUPatterns()
/external/icu/icu4c/source/i18n/unicode/
Ddatefmt.h157 enum EStyle enum
531 static DateFormat* U_EXPORT2 createTimeInstance(EStyle style = kDefault,
549 static DateFormat* U_EXPORT2 createDateInstance(EStyle style = kDefault,
570 static DateFormat* U_EXPORT2 createDateTimeInstance(EStyle dateStyle = kDefault,
571 EStyle timeStyle = kDefault,
878 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
Dsmpdtfmt.h1223 SimpleDateFormat(EStyle timeStyle, EStyle dateStyle, const Locale& locale, UErrorCode& status);
1319 void construct(EStyle timeStyle, EStyle dateStyle, const Locale& locale, UErrorCode& status);