/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...] |
dtfmttst.cpp | [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 | 437 log_data_err("udat_open timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s (Are you missing data?)\n", *stylePtr, myErrorName(status) ); 442 log_err("udat_open timeStyle NONE dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) ); 448 log_err("udat_open timeStyle SHORT dateStyle NONE fails, error %s\n", myErrorName(status) ); 456 log_err("udat_toPatternRelativeDate timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) ); 459 log_err("udat_toPatternRelativeDate timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) date pattern incorrect\n", *stylePtr ); 463 log_err("udat_toPatternRelativeTime timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) ); 466 log_err("udat_toPatternRelativeTime timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) time pattern incorrect\n", *stylePtr ); 470 log_err("udat_toPattern timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) ); 473 log_err("udat_toPattern timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) dateTime pattern incorrect\n", *stylePtr ); 477 log_err("udat_applyPatternRelative timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) fails, error %s\n", *stylePtr, myErrorName(status) ) [all...] |
/external/icu4c/i18n/ |
reldtfmt.cpp | 58 RelativeDateFormat::RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, 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);
|
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);
|
smpdtfmt.cpp | 386 SimpleDateFormat::SimpleDateFormat(EStyle timeStyle, 397 construct(timeStyle, dateStyle, fLocale, status); 520 void SimpleDateFormat::construct(EStyle timeStyle, 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); [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
DatePrototype.cpp | 151 CFDateFormatterStyle timeStyle = (format != LocaleDate ? kCFDateFormatterLongStyle : kCFDateFormatterNoStyle); 162 timeStyle = styleFromArgString(exec->argument(1).toString(exec), timeStyle); 166 timeStyle = styleFromArgString(arg0String, timeStyle); 169 CFDateFormatterRef formatter = CFDateFormatterCreate(0, locale, dateStyle, timeStyle); [all...] |
/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 | 745 * @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, [all...] |
smpdtfmt.h | [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 612 * @param timeStyle how to format the time portion. 615 int dateStyle, int timeStyle) { 627 f = java.text.DateFormat.getTimeInstance(timeStyle); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
com.ibm.icu_4.2.1.v20100412.jar | |
/prebuilts/tools/common/freemarker/ |
freemarker-2.3.19.jar | |