HomeSort by relevance Sort by last modified time
    Searched full:timestyle (Results 1 - 25 of 34) sorted by null

1 2

  /external/chromium_org/third_party/icu/source/test/intltest/
tsdate.cpp 69 DateFormat::EStyle timeStyle, dateStyle;
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 = (DateFormat::EStyle) (timeStyle+1)
    [all...]
  /external/icu4c/test/intltest/
tsdate.cpp 69 DateFormat::EStyle timeStyle, dateStyle;
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 = (DateFormat::EStyle) (timeStyle+1)
    [all...]
  /libcore/luni/src/main/java/java/text/spi/
DateFormatProvider.java 72 * @param timeStyle the given time formatting style.
80 public abstract DateFormat getDateTimeInstance(int dateStyle, int timeStyle, Locale locale);
  /libcore/luni/src/main/java/java/text/
DateFormat.java 410 * @param timeStyle
413 * {@code timeStyle} and the default locale.
415 * if {@code dateStyle} or {@code timeStyle} is not one of
418 public static final DateFormat getDateTimeInstance(int dateStyle, int timeStyle) {
419 checkTimeStyle(timeStyle);
421 return getDateTimeInstance(dateStyle, timeStyle, Locale.getDefault());
430 * @param timeStyle
435 * {@code timeStyle} and {@code locale}.
437 * if {@code dateStyle} or {@code timeStyle} is not one of
440 public static final DateFormat getDateTimeInstance(int dateStyle, int timeStyle, Locale locale)
    [all...]
  /external/icu4c/test/cintltst/
cdattst.c 439 log_data_err("udat_open timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s (Are you missing data?)\n", *stylePtr, myErrorName(status) );
444 log_err("udat_open timeStyle NONE dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) );
450 log_err("udat_open timeStyle SHORT dateStyle NONE fails, error %s\n", myErrorName(status) );
458 log_err("udat_toPatternRelativeDate timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) );
461 log_err("udat_toPatternRelativeDate timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) date pattern incorrect\n", *stylePtr );
465 log_err("udat_toPatternRelativeTime timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) );
468 log_err("udat_toPatternRelativeTime timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) time pattern incorrect\n", *stylePtr );
472 log_err("udat_toPattern timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) );
475 log_err("udat_toPattern timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) dateTime pattern incorrect\n", *stylePtr );
479 log_err("udat_applyPatternRelative timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) )
    [all...]
  /external/icu4c/i18n/
reldtfmt.cpp 59 RelativeDateFormat::RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle,
68 if (timeStyle < UDAT_NONE || timeStyle > UDAT_SHORT) {
85 if (timeStyle != UDAT_NONE) {
86 df = createTimeInstance((EStyle)timeStyle, locale);
94 // does not matter whether timeStyle is UDAT_NONE, we need something for fDateTimeFormatter
95 df = createTimeInstance((EStyle)timeStyle, locale);
windtfmt.cpp 95 // TODO: Range-check timeStyle, dateStyle
96 Win32DateFormat::Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status)
97 : DateFormat(), fDateTimeMsg(NULL), fTimeStyle(timeStyle), fDateStyle(dateStyle), fLocale(&locale), fZoneID()
datefmt.cpp 328 EStyle timeStyle,
335 return create(timeStyle, dateStyle, aLocale);
349 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale)
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);
windtfmt.h 43 Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status);
udat.cpp 123 udat_open(UDateFormatStyle timeStyle,
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,
    [all...]
reldtfmt.h 44 RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const Locale& locale, UErrorCode& status);
  /external/chromium_org/third_party/icu/source/test/cintltst/
cdattst.c 431 log_data_err("udat_open timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s (Are you missing data?)\n", *stylePtr, myErrorName(status) );
436 log_err("udat_open timeStyle NONE dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) );
442 log_err("udat_open timeStyle SHORT dateStyle NONE fails, error %s\n", myErrorName(status) );
450 log_err("udat_toPatternRelativeDate timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) );
453 log_err("udat_toPatternRelativeDate timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) date pattern incorrect\n", *stylePtr );
457 log_err("udat_toPatternRelativeTime timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) );
460 log_err("udat_toPatternRelativeTime timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) time pattern incorrect\n", *stylePtr );
464 log_err("udat_toPattern timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) );
467 log_err("udat_toPattern timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) dateTime pattern incorrect\n", *stylePtr );
471 log_err("udat_applyPatternRelative timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) )
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
windtfmt.cpp 95 // TODO: Range-check timeStyle, dateStyle
96 Win32DateFormat::Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status)
97 : DateFormat(), fDateTimeMsg(NULL), fTimeStyle(timeStyle), fDateStyle(dateStyle), fLocale(&locale), fZoneID()
datefmt.cpp 323 EStyle timeStyle,
330 return create(timeStyle, dateStyle, aLocale);
344 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale)
353 Win32DateFormat *f = new Win32DateFormat(timeStyle, dateStyle, locale, status);
364 if(/*((timeStyle!=UDAT_NONE)&&(timeStyle & UDAT_RELATIVE)) || */((dateStyle!=kNone)&&((dateStyle-kDateOffset) & UDAT_RELATIVE))) {
365 RelativeDateFormat *r = new RelativeDateFormat((UDateFormatStyle)timeStyle, (UDateFormatStyle)(dateStyle-kDateOffset), locale, status);
372 SimpleDateFormat *f = new SimpleDateFormat(timeStyle, dateStyle, locale, status);
windtfmt.h 43 Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status);
reldtfmt.cpp 66 RelativeDateFormat::RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const Locale& locale, UErrorCode& status)
68 fDateStyle(dateStyle), fTimeStyle(timeStyle), fLocale(locale), fDatesLen(0), fDates(NULL)
udat.cpp 86 udat_open(UDateFormatStyle timeStyle,
99 if(timeStyle != UDAT_IGNORE) {
102 (DateFormat::EStyle)timeStyle);
106 (DateFormat::EStyle)timeStyle,
reldtfmt.h 42 RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const Locale& locale, UErrorCode& status);
  /external/chromium_org/third_party/WebKit/Source/platform/text/
LocaleICU.h 78 UDateFormat* openDateFormat(UDateFormatStyle timeStyle, UDateFormatStyle dateStyle) const;
LocaleICU.cpp 145 UDateFormat* LocaleICU::openDateFormat(UDateFormatStyle timeStyle, UDateFormatStyle dateStyle) const
149 return udat_open(timeStyle, dateStyle, m_locale.data(), gmtTimezone, WTF_ARRAY_LENGTH(gmtTimezone), 0, -1, &status);
LocaleMac.mm 72 static RetainPtr<NSDateFormatter> createDateTimeFormatter(NSLocale* locale, NSCalendar* calendar, NSDateFormatterStyle dateStyle, NSDateFormatterStyle timeStyle)
77 [formatter setTimeStyle:timeStyle];
  /external/chromium_org/third_party/icu/source/i18n/unicode/
datefmt.h 526 * @param timeStyle The given formatting style for the time portion of the result.
534 EStyle timeStyle = kDefault,
679 * @param timeStyle the given time formatting style.
683 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale&);
  /external/icu4c/i18n/unicode/
datefmt.h 568 * @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);
    [all...]
udat.h 785 * @param timeStyle The style used to format times; one of UDAT_FULL, UDAT_LONG,
788 * When the pattern parameter is used, pass in UDAT_PATTERN for both timeStyle and dateStyle.
792 * When the pattern parameter is used, pass in UDAT_PATTERN for both timeStyle and dateStyle.
810 udat_open(UDateFormatStyle timeStyle,
    [all...]
  /frameworks/base/core/java/android/text/format/
DateUtils.java 567 * @param timeStyle how to format the time portion.
570 int dateStyle, int timeStyle) {
582 f = java.text.DateFormat.getTimeInstance(timeStyle);
    [all...]

Completed in 3385 milliseconds

1 2