Searched refs:timeStyle (Results 1 - 14 of 14) sorted by relevance

/external/icu4c/test/intltest/
H A Dtsdate.cpp69 DateFormat::EStyle timeStyle, dateStyle; local
76 for(timeStyle = (DateFormat::EStyle)0;
77 timeStyle < (DateFormat::EStyle)4;
78 timeStyle = (DateFormat::EStyle) (timeStyle+1))
80 fTestName = (UnicodeString) "Time test " + (int32_t) timeStyle + " (" + localeName + ")";
81 fFormat = DateFormat::createTimeInstance(timeStyle, locale);
100 for(timeStyle = (DateFormat::EStyle)0;
101 timeStyle < (DateFormat::EStyle)4;
102 timeStyle
[all...]
H A Ddtfmttst.cpp4128 for (DateFormat::EStyle timeStyle = DateFormat::FULL; timeStyle <= DateFormat::SHORT;
4129 timeStyle = static_cast<DateFormat::EStyle>(timeStyle + 1)) {
4130 LocalPointer<DateFormat> format(DateFormat::createDateTimeInstance(dateStyle, timeStyle, locale));
4131 LocalPointer<DateFormat> timeFormat(DateFormat::createTimeInstance(timeStyle, locale));
4140 errln(UnicodeString(" with date-time: dateStyle=") + dateStyle + " timeStyle=" + timeStyle); local
4146 errln(UnicodeString(" with date sp sp time: dateStyle=") + dateStyle + " timeStyle=" + timeStyle); local
4152 errln(UnicodeString(" with date plus-dot time: dateStyle=") + dateStyle + " timeStyle=" + timeStyle); local
4159 errln(UnicodeString(" with date minus-dot time: dateStyle=") + dateStyle + " timeStyle=" + timeStyle); local
[all...]
/external/icu4c/i18n/
H A Ddatefmt.cpp328 EStyle timeStyle,
335 return create(timeStyle, dateStyle, aLocale);
349 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale) argument
358 Win32DateFormat *f = new Win32DateFormat(timeStyle, dateStyle, locale, status);
369 if(/*((timeStyle!=UDAT_NONE)&&(timeStyle & UDAT_RELATIVE)) || */((dateStyle!=kNone)&&((dateStyle-kDateOffset) & UDAT_RELATIVE))) {
370 RelativeDateFormat *r = new RelativeDateFormat((UDateFormatStyle)timeStyle, (UDateFormatStyle)(dateStyle-kDateOffset), locale, status);
377 SimpleDateFormat *f = new SimpleDateFormat(timeStyle, dateStyle, locale, status);
327 createDateTimeInstance(EStyle dateStyle, EStyle timeStyle, const Locale& aLocale) argument
H A Dreldtfmt.cpp58 RelativeDateFormat::RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, argument
67 if (timeStyle < UDAT_NONE || timeStyle > UDAT_SHORT) {
84 if (timeStyle != UDAT_NONE) {
85 df = createTimeInstance((EStyle)timeStyle, locale);
93 // does not matter whether timeStyle is UDAT_NONE, we need something for fDateTimeFormatter
94 df = createTimeInstance((EStyle)timeStyle, locale);
H A Dwindtfmt.h43 Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status);
H A Dreldtfmt.h44 RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const Locale& locale, UErrorCode& status);
H A Dwindtfmt.cpp95 // TODO: Range-check timeStyle, dateStyle
96 Win32DateFormat::Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status) argument
97 : DateFormat(), fDateTimeMsg(NULL), fTimeStyle(timeStyle), fDateStyle(dateStyle), fLocale(&locale), fZoneID()
H A Dudat.cpp123 udat_open(UDateFormatStyle timeStyle, argument
137 fmt = (DateFormat*) (*gOpener)(timeStyle,dateStyle,locale,tzID,tzIDLength,pattern,patternLength,status);
142 if(timeStyle != UDAT_PATTERN) {
145 (DateFormat::EStyle)timeStyle);
149 (DateFormat::EStyle)timeStyle,
H A Dsmpdtfmt.cpp386 SimpleDateFormat::SimpleDateFormat(EStyle timeStyle, argument
397 construct(timeStyle, dateStyle, fLocale, status);
520 void SimpleDateFormat::construct(EStyle timeStyle, argument
565 if ((timeStyle != kNone) && (dateStyle != kNone))
573 currentBundle = ures_getByIndex(dateTimePatterns, (int32_t)timeStyle, NULL, &status);
650 else if (timeStyle != kNone) {
651 currentBundle = ures_getByIndex(dateTimePatterns, (int32_t)timeStyle, NULL, &status);
/external/icu4c/i18n/unicode/
H A Ddatefmt.h568 * @param timeStyle The given formatting style for the time portion of the result.
576 EStyle timeStyle = kDefault,
721 * @param timeStyle the given time formatting style.
725 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
H A Dudat.h745 * @param timeStyle The style used to format times; one of UDAT_FULL, UDAT_LONG,
748 * When the pattern parameter is used, pass in UDAT_PATTERN for both timeStyle and dateStyle.
752 * When the pattern parameter is used, pass in UDAT_PATTERN for both timeStyle and dateStyle.
770 udat_open(UDateFormatStyle timeStyle,
1282 typedef UDateFormat* (U_EXPORT2 *UDateFormatOpener) (UDateFormatStyle timeStyle,
H A Dsmpdtfmt.h875 * @param timeStyle the time style.
881 SimpleDateFormat(EStyle timeStyle, EStyle dateStyle, const Locale& locale, UErrorCode& status);
978 * @param timeStyle The time style, as passed to DateFormat::createDateInstance().
984 void construct(EStyle timeStyle, EStyle dateStyle, const Locale& locale, UErrorCode& status);
/external/webkit/Source/JavaScriptCore/runtime/
H A DDatePrototype.cpp151 CFDateFormatterStyle timeStyle = (format != LocaleDate ? kCFDateFormatterLongStyle : kCFDateFormatterNoStyle); local
162 timeStyle = styleFromArgString(exec->argument(1).toString(exec), timeStyle);
166 timeStyle = styleFromArgString(arg0String, timeStyle);
169 CFDateFormatterRef formatter = CFDateFormatterCreate(0, locale, dateStyle, timeStyle);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 358 milliseconds