/external/icu4c/test/intltest/ |
D | tsdate.cpp | 69 DateFormat::EStyle timeStyle, dateStyle; in testLocale() local 87 for(dateStyle = (DateFormat::EStyle)0; in testLocale() 88 dateStyle < (DateFormat::EStyle)4; in testLocale() 89 dateStyle = (DateFormat::EStyle) (dateStyle+1)) in testLocale() 91 fTestName = (UnicodeString) "Date test " + (int32_t) dateStyle + " (" + localeName + ")"; in testLocale() 92 fFormat = DateFormat::createDateInstance(dateStyle, locale); 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() 104 …fTestName = (UnicodeString) "DateTime test " + (int32_t) dateStyle + "/" + (int32_t) timeStyle + "… in testLocale() [all …]
|
D | dtfmttst.cpp | 4124 for (DateFormat::EStyle dateStyle = DateFormat::FULL; dateStyle <= DateFormat::SHORT; in TestDotAndAtLeniency() local 4125 dateStyle = static_cast<DateFormat::EStyle>(dateStyle + 1)) { in TestDotAndAtLeniency() 4126 LocalPointer<DateFormat> dateFormat(DateFormat::createDateInstance(dateStyle, locale)); in TestDotAndAtLeniency() 4130 … LocalPointer<DateFormat> format(DateFormat::createDateTimeInstance(dateStyle, timeStyle, locale)); in TestDotAndAtLeniency() 4140 … errln(UnicodeString(" with date-time: dateStyle=") + dateStyle + " timeStyle=" + timeStyle); in TestDotAndAtLeniency() 4146 …errln(UnicodeString(" with date sp sp time: dateStyle=") + dateStyle + " timeStyle=" + timeStyl… in TestDotAndAtLeniency() 4152 …errln(UnicodeString(" with date plus-dot time: dateStyle=") + dateStyle + " timeStyle=" + timeS… in TestDotAndAtLeniency() 4159 …errln(UnicodeString(" with date minus-dot time: dateStyle=") + dateStyle + " timeStyle=" + time… in TestDotAndAtLeniency()
|
/external/icu4c/i18n/ |
D | datefmt.cpp | 327 DateFormat::createDateTimeInstance(EStyle dateStyle, in createDateTimeInstance() argument 331 if(dateStyle != kNone) in createDateTimeInstance() 333 dateStyle = (EStyle) (dateStyle + kDateOffset); in createDateTimeInstance() 335 return create(timeStyle, dateStyle, aLocale); in createDateTimeInstance() 349 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale) in create() argument 358 Win32DateFormat *f = new Win32DateFormat(timeStyle, dateStyle, locale, status); in create() 369 …((timeStyle!=UDAT_NONE)&&(timeStyle & UDAT_RELATIVE)) || */((dateStyle!=kNone)&&((dateStyle-kDateO… in create() 370 … new RelativeDateFormat((UDateFormatStyle)timeStyle, (UDateFormatStyle)(dateStyle-kDateOffset), lo… in create() 377 SimpleDateFormat *f = new SimpleDateFormat(timeStyle, dateStyle, locale, status); in create()
|
D | reldtfmt.cpp | 58 RelativeDateFormat::RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, in RelativeDateFormat() argument 61 fDateStyle(dateStyle), fLocale(locale), fDatesLen(0), fDates(NULL) in RelativeDateFormat() 72 …UDateFormatStyle baseDateStyle = (dateStyle > UDAT_SHORT)? (UDateFormatStyle)(dateStyle & ~UDAT_RE… in RelativeDateFormat()
|
D | windtfmt.h | 43 …Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, …
|
D | windtfmt.cpp | 96 Win32DateFormat::Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const … in Win32DateFormat() argument 97 …: DateFormat(), fDateTimeMsg(NULL), fTimeStyle(timeStyle), fDateStyle(dateStyle), fLocale(&locale)… in Win32DateFormat()
|
D | reldtfmt.h | 44 …RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const Locale& locale, …
|
D | udat.cpp | 124 UDateFormatStyle dateStyle, in udat_open() argument 137 …fmt = (DateFormat*) (*gOpener)(timeStyle,dateStyle,locale,tzID,tzIDLength,pattern,patternLength,st… in udat_open() 144 fmt = DateFormat::createDateTimeInstance((DateFormat::EStyle)dateStyle, in udat_open() 148 fmt = DateFormat::createDateTimeInstance((DateFormat::EStyle)dateStyle, in udat_open()
|
D | smpdtfmt.cpp | 387 EStyle dateStyle, in SimpleDateFormat() argument 397 construct(timeStyle, dateStyle, fLocale, status); in SimpleDateFormat() 521 EStyle dateStyle, in construct() argument 565 if ((timeStyle != kNone) && (dateStyle != kNone)) in construct() 605 currentBundle = ures_getByIndex(dateTimePatterns, (int32_t)dateStyle, NULL, &status); in construct() 641 glueIndex = (int32_t)(kDateTimeOffset + (dateStyle - kDateOffset)); in construct() 676 else if (dateStyle != kNone) { in construct() 677 currentBundle = ures_getByIndex(dateTimePatterns, (int32_t)dateStyle, NULL, &status); in construct()
|
/external/icu4c/i18n/unicode/ |
D | datefmt.h | 575 static DateFormat* U_EXPORT2 createDateTimeInstance(EStyle dateStyle = kDefault, 725 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
|
D | udat.h | 771 UDateFormatStyle dateStyle, 1283 UDateFormatStyle dateStyle,
|
D | smpdtfmt.h | 881 SimpleDateFormat(EStyle timeStyle, EStyle dateStyle, const Locale& locale, UErrorCode& status); 984 void construct(EStyle timeStyle, EStyle dateStyle, const Locale& locale, UErrorCode& status);
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | DatePrototype.cpp | 150 …CFDateFormatterStyle dateStyle = (format != LocaleTime ? kCFDateFormatterLongStyle : kCFDateFormat… in formatLocaleDate() local 161 dateStyle = styleFromArgString(arg0String, dateStyle); in formatLocaleDate() 164 dateStyle = styleFromArgString(arg0String, dateStyle); in formatLocaleDate() 169 CFDateFormatterRef formatter = CFDateFormatterCreate(0, locale, dateStyle, timeStyle); in formatLocaleDate()
|