Searched defs:dateStyle (Results 1 - 25 of 31) sorted by relevance

12

/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/
H A DDateFormatProviderICU.java29 public DateFormat getDateTimeInstance(int dateStyle, int timeStyle, Locale locale) { argument
30 return getInstance(dateStyle, timeStyle, locale);
/external/icu/icu4c/source/test/intltest/
H A Dtsdate.cpp71 DateFormat::EStyle timeStyle, dateStyle; local
89 for(dateStyle = (DateFormat::EStyle)0;
90 dateStyle < (DateFormat::EStyle)4;
91 dateStyle = (DateFormat::EStyle) (dateStyle+1))
93 fTestName = (UnicodeString) "Date test " + (int32_t) dateStyle + " (" + localeName + ")";
94 fFormat = DateFormat::createDateInstance(dateStyle, locale);
98 for(dateStyle = (DateFormat::EStyle)0;
99 dateStyle < (DateFormat::EStyle)4;
100 dateStyle
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DRelativeDateFormat.java57 * @param dateStyle The date style for the date and time.
61 public RelativeDateFormat(int timeStyle, int dateStyle, ULocale locale, Calendar cal) { argument
66 fDateStyle = dateStyle;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DRelativeDateFormat.java55 * @param dateStyle The date style for the date and time.
59 public RelativeDateFormat(int timeStyle, int dateStyle, ULocale locale, Calendar cal) { argument
64 fDateStyle = dateStyle;
/external/icu/icu4c/source/i18n/
H A Dreldtfmt.cpp70 RelativeDateFormat::RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, argument
73 fDateStyle(dateStyle), fLocale(locale), fDatesLen(0), fDates(NULL),
87 UDateFormatStyle baseDateStyle = (dateStyle > UDAT_SHORT)? (UDateFormatStyle)(dateStyle & ~UDAT_RELATIVE): dateStyle;
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 Ddatefmt.cpp408 DateFormat::createDateTimeInstance(EStyle dateStyle, argument
412 if(dateStyle != kNone)
414 dateStyle = (EStyle) (dateStyle + kDateOffset);
416 return create(timeStyle, dateStyle, aLocale);
498 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale) argument
507 Win32DateFormat *f = new Win32DateFormat(timeStyle, dateStyle, locale, status);
518 if(/*((timeStyle!=UDAT_NONE)&&(timeStyle & UDAT_RELATIVE)) || */((dateStyle!=kNone)&&((dateStyle-kDateOffset) & UDAT_RELATIVE))) {
519 RelativeDateFormat *r = new RelativeDateFormat((UDateFormatStyle)timeStyle, (UDateFormatStyle)(dateStyle
[all...]
H A Dudat.cpp130 UDateFormatStyle dateStyle,
143 fmt = (DateFormat*) (*gOpener)(timeStyle,dateStyle,locale,tzID,tzIDLength,pattern,patternLength,status);
150 fmt = DateFormat::createDateTimeInstance((DateFormat::EStyle)dateStyle,
154 fmt = DateFormat::createDateTimeInstance((DateFormat::EStyle)dateStyle,
129 udat_open(UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const char *locale, const UChar *tzID, int32_t tzIDLength, const UChar *pattern, int32_t patternLength, UErrorCode *status) argument
H A Dsmpdtfmt.cpp534 EStyle dateStyle,
544 construct(timeStyle, dateStyle, fLocale, status);
693 EStyle dateStyle,
758 if ((timeStyle != kNone) && (dateStyle != kNone))
786 ures_getByIndex(dateTimePatterns.getAlias(), (int32_t)dateStyle, NULL, &status));
814 glueIndex = (int32_t)(kDateTimeOffset + (dateStyle - kDateOffset));
849 else if (dateStyle != kNone) {
851 ures_getByIndex(dateTimePatterns.getAlias(), (int32_t)dateStyle, NULL, &status));
533 SimpleDateFormat(EStyle timeStyle, EStyle dateStyle, const Locale& locale, UErrorCode& status) argument
692 construct(EStyle timeStyle, EStyle dateStyle, const Locale& locale, UErrorCode& status) argument
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DGlobalizationPreferences.java629 * a particular combination of dateStyle and timeStyle. DF_NONE should
633 * @param dateStyle DF_FULL, DF_LONG, DF_MEDIUM, DF_SHORT or DF_NONE
639 public GlobalizationPreferences setDateFormat(int dateStyle, int timeStyle, DateFormat format) { argument
646 dateFormats[dateStyle][timeStyle] = (DateFormat) format.clone(); // for safety
657 * @param dateStyle DF_FULL, DF_LONG, DF_MEDIUM, DF_SHORT or DF_NONE
662 public DateFormat getDateFormat(int dateStyle, int timeStyle) { argument
663 if (dateStyle == DF_NONE && timeStyle == DF_NONE
664 || dateStyle < 0 || dateStyle >= DF_LIMIT
670 result = dateFormats[dateStyle][timeStyl
915 guessDateFormat(int dateStyle, int timeStyle) argument
[all...]
H A DCalendar.java3331 public DateFormat getDateTimeFormat(int dateStyle, int timeStyle, Locale loc) { argument
3332 return formatHelper(this, ULocale.forLocale(loc), dateStyle, timeStyle);
3340 public DateFormat getDateTimeFormat(int dateStyle, int timeStyle, ULocale loc) { argument
3341 return formatHelper(this, loc, dateStyle, timeStyle);
3435 static private DateFormat formatHelper(Calendar cal, ULocale loc, int dateStyle, argument
3440 if (dateStyle < DateFormat.NONE || dateStyle > DateFormat.SHORT) {
3441 throw new IllegalArgumentException("Illegal date style " + dateStyle);
3449 if ((timeStyle >= 0) && (dateStyle >= 0)) {
3451 patternData.getDateTimePattern(dateStyle),
3499 getDateTimeFormatString(ULocale loc, String calType, int dateStyle, int timeStyle) argument
3536 getDateTimePattern(int dateStyle) argument
3605 getDateTimePattern(Calendar cal, ULocale uLocale, int dateStyle) argument
[all...]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
H A DGlobalizationPreferences.java654 * a particular combination of dateStyle and timeStyle. DF_NONE should
658 * @param dateStyle DF_FULL, DF_LONG, DF_MEDIUM, DF_SHORT or DF_NONE
665 public GlobalizationPreferences setDateFormat(int dateStyle, int timeStyle, DateFormat format) { argument
672 dateFormats[dateStyle][timeStyle] = (DateFormat) format.clone(); // for safety
683 * @param dateStyle DF_FULL, DF_LONG, DF_MEDIUM, DF_SHORT or DF_NONE
689 public DateFormat getDateFormat(int dateStyle, int timeStyle) { argument
690 if (dateStyle == DF_NONE && timeStyle == DF_NONE
691 || dateStyle < 0 || dateStyle >= DF_LIMIT
697 result = dateFormats[dateStyle][timeStyl
947 guessDateFormat(int dateStyle, int timeStyle) argument
[all...]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
H A DCalendar.java1841 public DateFormat getDateTimeFormat(int dateStyle, int timeStyle, Locale loc) { argument
1842 if (dateStyle != DateFormat.NONE) {
1844 return DateFormat.getDateInstance((Calendar)this.clone(), dateStyle, loc);
1846 return DateFormat.getDateTimeInstance((Calendar)this.clone(), dateStyle, timeStyle, loc);
1861 public DateFormat getDateTimeFormat(int dateStyle, int timeStyle, ULocale loc) { argument
1862 return getDateTimeFormat(dateStyle, timeStyle, loc.toLocale());
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DDateFormat.java1354 * @param dateStyle the given date formatting style. For example,
1366 public final static DateFormat getDateTimeInstance(int dateStyle, argument
1369 return get(dateStyle, timeStyle, ULocale.getDefault(Category.FORMAT), null);
1375 * @param dateStyle the given date formatting style. As currently implemented, relative date
1386 int dateStyle, int timeStyle, Locale aLocale)
1388 return get(dateStyle, timeStyle, ULocale.forLocale(aLocale), null);
1394 * @param dateStyle the given date formatting style. As currently implemented, relative date
1405 int dateStyle, int timeStyle, ULocale locale)
1407 return get(dateStyle, timeStyle, locale, null);
1665 * @param dateStyle
1385 getDateTimeInstance( int dateStyle, int timeStyle, Locale aLocale) argument
1404 getDateTimeInstance( int dateStyle, int timeStyle, ULocale locale) argument
1672 get(int dateStyle, int timeStyle, ULocale loc, Calendar cal) argument
1753 getDateInstance(Calendar cal, int dateStyle, Locale locale) argument
1770 getDateInstance(Calendar cal, int dateStyle, ULocale locale) argument
1828 getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle, Locale locale) argument
1851 getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle, ULocale locale) argument
1903 getDateInstance(Calendar cal, int dateStyle) argument
1937 getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle) argument
[all...]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
H A DDateFormat.java1144 * @param dateStyle the given date formatting style. For example,
1151 public final static DateFormat getDateTimeInstance(int dateStyle, argument
1154 if (dateStyle != NONE) {
1157 getJDKFormatStyle(dateStyle),
1162 getJDKFormatStyle(dateStyle),
1177 * @param dateStyle the given date formatting style.
1184 int dateStyle, int timeStyle, Locale aLocale)
1186 if (dateStyle != NONE) {
1188 return new DateFormat(java.text.DateFormat.getDateTimeInstance(getJDKFormatStyle(dateStyle), getJDKFormatStyle(timeStyle), aLocale));
1190 return new DateFormat(java.text.DateFormat.getDateInstance(getJDKFormatStyle(dateStyle), aLocal
1183 getDateTimeInstance( int dateStyle, int timeStyle, Locale aLocale) argument
1208 getDateTimeInstance( int dateStyle, int timeStyle, ULocale locale) argument
1402 getDateInstance(Calendar cal, int dateStyle, Locale locale) argument
1422 getDateInstance(Calendar cal, int dateStyle, ULocale locale) argument
1501 getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle, Locale locale) argument
1531 getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle, ULocale locale) argument
1568 getDateInstance(Calendar cal, int dateStyle) argument
1584 getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDateFormat.java1459 * @param dateStyle the given date formatting style. For example,
1472 public final static DateFormat getDateTimeInstance(int dateStyle, argument
1475 return get(dateStyle, timeStyle, ULocale.getDefault(Category.FORMAT), null);
1481 * @param dateStyle the given date formatting style. As currently implemented, relative date
1493 int dateStyle, int timeStyle, Locale aLocale)
1495 return get(dateStyle, timeStyle, ULocale.forLocale(aLocale), null);
1501 * @param dateStyle the given date formatting style. As currently implemented, relative date
1513 int dateStyle, int timeStyle, ULocale locale)
1515 return get(dateStyle, timeStyle, locale, null);
1793 * @param dateStyle
1492 getDateTimeInstance( int dateStyle, int timeStyle, Locale aLocale) argument
1512 getDateTimeInstance( int dateStyle, int timeStyle, ULocale locale) argument
1800 get(int dateStyle, int timeStyle, ULocale loc, Calendar cal) argument
1883 getDateInstance(Calendar cal, int dateStyle, Locale locale) argument
1901 getDateInstance(Calendar cal, int dateStyle, ULocale locale) argument
1962 getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle, Locale locale) argument
1986 getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle, ULocale locale) argument
2042 getDateInstance(Calendar cal, int dateStyle) argument
2078 getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCalendar.java3433 public DateFormat getDateTimeFormat(int dateStyle, int timeStyle, Locale loc) { argument
3434 return formatHelper(this, ULocale.forLocale(loc), dateStyle, timeStyle);
3443 public DateFormat getDateTimeFormat(int dateStyle, int timeStyle, ULocale loc) { argument
3444 return formatHelper(this, loc, dateStyle, timeStyle);
3542 static private DateFormat formatHelper(Calendar cal, ULocale loc, int dateStyle, argument
3547 if (dateStyle < DateFormat.NONE || dateStyle > DateFormat.SHORT) {
3548 throw new IllegalArgumentException("Illegal date style " + dateStyle);
3556 if ((timeStyle >= 0) && (dateStyle >= 0)) {
3558 patternData.getDateTimePattern(dateStyle),
3606 getDateTimeFormatString(ULocale loc, String calType, int dateStyle, int timeStyle) argument
3643 getDateTimePattern(int dateStyle) argument
3711 getDateTimePattern(Calendar cal, ULocale uLocale, int dateStyle) argument
[all...]
/external/caliper/lib/
H A Dgson-2.2.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/stream/ ...
/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 ...
/external/libphonenumber/demo/war/WEB-INF/lib/
H A Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang/ ...
/external/guice/extensions/struts2/lib/
H A Djsp-api-2.1.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/servlet/jsp/ javax/servlet/jsp/resources/ ...
H A Dxwork-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF xwork-validator-definition-1.0.dtd xwork ...
/external/robolectric/v1/lib/main/
H A Dh2-1.2.147.jarMETA-INF/MANIFEST.MF META-INF/services/java.sql.Driver org/h2/api/AggregateFunction ...
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...

Completed in 1243 milliseconds

12