/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/icu/icu4c/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/chromium_org/third_party/icu/source/i18n/ |
datefmt.cpp | 329 EStyle timeStyle, 336 return create(timeStyle, dateStyle, aLocale); 350 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale) 359 Win32DateFormat *f = new Win32DateFormat(timeStyle, dateStyle, locale, status); 370 if(/*((timeStyle!=UDAT_NONE)&&(timeStyle & UDAT_RELATIVE)) || */((dateStyle!=kNone)&&((dateStyle-kDateOffset) & UDAT_RELATIVE))) { 371 RelativeDateFormat *r = new RelativeDateFormat((UDateFormatStyle)timeStyle, (UDateFormatStyle)(dateStyle-kDateOffset), locale, status); 378 SimpleDateFormat *f = new SimpleDateFormat(timeStyle, dateStyle, locale, status);
|
windtfmt.h | 43 Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status);
|
reldtfmt.h | 44 RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const Locale& locale, UErrorCode& status);
|
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()
|
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...] |
/libcore/luni/src/main/java/java/text/ |
DateFormat.java | 420 * @param timeStyle 423 * {@code timeStyle} and the default locale. 425 * if {@code dateStyle} or {@code timeStyle} is not one of 428 public static final DateFormat getDateTimeInstance(int dateStyle, int timeStyle) { 429 checkTimeStyle(timeStyle); 431 return getDateTimeInstance(dateStyle, timeStyle, Locale.getDefault()); 440 * @param timeStyle 445 * {@code timeStyle} and {@code locale}. 447 * if {@code dateStyle} or {@code timeStyle} is not one of 450 public static final DateFormat getDateTimeInstance(int dateStyle, int timeStyle, Locale locale) [all...] |
/external/icu/icu4c/source/i18n/ |
windtfmt.h | 43 Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status);
|
datefmt.cpp | 334 EStyle timeStyle, 341 return create(timeStyle, dateStyle, aLocale); 355 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale) 364 Win32DateFormat *f = new Win32DateFormat(timeStyle, dateStyle, locale, status); 375 if(/*((timeStyle!=UDAT_NONE)&&(timeStyle & UDAT_RELATIVE)) || */((dateStyle!=kNone)&&((dateStyle-kDateOffset) & UDAT_RELATIVE))) { 376 RelativeDateFormat *r = new RelativeDateFormat((UDateFormatStyle)timeStyle, (UDateFormatStyle)(dateStyle-kDateOffset), locale, status); 383 SimpleDateFormat *f = new SimpleDateFormat(timeStyle, dateStyle, locale, status);
|
reldtfmt.h | 45 RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const Locale& locale, UErrorCode& status);
|
reldtfmt.cpp | 72 RelativeDateFormat::RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, 84 if (timeStyle < UDAT_NONE || timeStyle > UDAT_SHORT) { 101 if (timeStyle != UDAT_NONE) { 102 df = createTimeInstance((EStyle)timeStyle, locale); 110 // does not matter whether timeStyle is UDAT_NONE, we need something for fDateTimeFormatter 111 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()
|
udat.cpp | 126 udat_open(UDateFormatStyle timeStyle, 140 fmt = (DateFormat*) (*gOpener)(timeStyle,dateStyle,locale,tzID,tzIDLength,pattern,patternLength,status); 145 if(timeStyle != UDAT_PATTERN) { 148 (DateFormat::EStyle)timeStyle); 152 (DateFormat::EStyle)timeStyle, [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
LocaleICU.h | 78 UDateFormat* openDateFormat(UDateFormatStyle timeStyle, UDateFormatStyle dateStyle) const;
|
LocaleMac.mm | 70 static RetainPtr<NSDateFormatter> createDateTimeFormatter(NSLocale* locale, NSCalendar* calendar, NSDateFormatterStyle dateStyle, NSDateFormatterStyle timeStyle) 75 [formatter setTimeStyle:timeStyle];
|
LocaleICU.cpp | 144 UDateFormat* LocaleICU::openDateFormat(UDateFormatStyle timeStyle, UDateFormatStyle dateStyle) const 148 return udat_open(timeStyle, dateStyle, m_locale.data(), gmtTimezone, WTF_ARRAY_LENGTH(gmtTimezone), 0, -1, &status);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
datefmt.h | 562 * @param timeStyle The given formatting style for the time portion of the result. 570 EStyle timeStyle = kDefault, 745 * @param timeStyle the given time formatting style. 749 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale); [all...] |
smpdtfmt.h | [all...] |
udat.h | 793 * @param timeStyle The style used to format times; one of UDAT_FULL, UDAT_LONG, 796 * When the pattern parameter is used, pass in UDAT_PATTERN for both timeStyle and dateStyle. 800 * When the pattern parameter is used, pass in UDAT_PATTERN for both timeStyle and dateStyle. 818 udat_open(UDateFormatStyle timeStyle, [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
datefmt.h | 563 * @param timeStyle The given formatting style for the time portion of the result. 571 EStyle timeStyle = kDefault, [all...] |
smpdtfmt.h | [all...] |
udat.h | 792 * @param timeStyle The style used to format times; one of UDAT_FULL, UDAT_LONG, 795 * When the pattern parameter is used, pass in UDAT_PATTERN for both timeStyle and dateStyle. 799 * When the pattern parameter is used, pass in UDAT_PATTERN for both timeStyle and dateStyle. 817 udat_open(UDateFormatStyle timeStyle, [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 566 * @param timeStyle how to format the time portion. 569 int dateStyle, int timeStyle) { 581 f = java.text.DateFormat.getTimeInstance(timeStyle); [all...] |