Home
last modified time | relevance | path

Searched refs:datePattern (Results 1 – 17 of 17) sorted by relevance

/external/icu/icu4c/source/i18n/
Dreldtfmt.cpp202 UnicodeString datePattern; in format() local
208 datePattern.setTo(relativeDayString); in format()
210 datePattern.setTo(fDatePattern); in format()
213 fCombinedFormat->format(fTimePattern, datePattern, combinedPattern, status); in format()
403 RelativeDateFormat::applyPatterns(const UnicodeString& datePattern, const UnicodeString& timePatter… in applyPatterns() argument
406 fDatePattern.setTo(datePattern); in applyPatterns()
Dudat.cpp1266 UnicodeString datePattern; in udat_toPatternRelativeDate() local
1270 datePattern.setTo(result, 0, resultLength); in udat_toPatternRelativeDate()
1272 ((RelativeDateFormat*)fmt)->toPatternDate(datePattern, *status); in udat_toPatternRelativeDate()
1273 return datePattern.extract(result, resultLength, *status); in udat_toPatternRelativeDate()
1303 const UChar *datePattern, in udat_applyPatternRelative() argument
1311 const UnicodeString datePat((UBool)(datePatternLength == -1), datePattern, datePatternLength); in udat_applyPatternRelative()
Ddtitvfmt.cpp767 UnicodeString datePattern = DateFormat::getBestPattern( in initializePattern() local
770 concatSingleDate2TimeInterval(*fDateTimeFormat, datePattern, UCAL_AM_PM, status); in initializePattern()
771 concatSingleDate2TimeInterval(*fDateTimeFormat, datePattern, UCAL_HOUR, status); in initializePattern()
772 concatSingleDate2TimeInterval(*fDateTimeFormat, datePattern, UCAL_MINUTE, status); in initializePattern()
1529 const UnicodeString& datePattern, in concatSingleDate2TimeInterval() argument
1544 format(timeIntervalPattern, datePattern, combinedPattern, status); in concatSingleDate2TimeInterval()
Dreldtfmt.h226 …virtual void applyPatterns(const UnicodeString& datePattern, const UnicodeString& timePattern, UEr…
Ddtptngen.cpp1087 UnicodeString datePattern=getBestAppending(neededFields & dateMask, flags, status, options); in getBestPattern() local
1092 if (datePattern.length()==0) { in getBestPattern()
1101 return datePattern; in getBestPattern()
1106 SimpleFormatter(dtFormat, 2, 2, status).format(timePattern, datePattern, resultPattern, status); in getBestPattern()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRelativeDateFormat.java159 String datePattern = fDatePattern; // default; in format() local
162 datePattern = "'" + relativeDayString.replace("'", "''") + "'"; in format()
165 …fCombinedFormat.format(new Object[] {fTimePattern, datePattern}, combinedPattern, new FieldPositio… in format()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRelativeDateFormat.java162 String datePattern = fDatePattern; // default; in format() local
165 datePattern = "'" + relativeDayString.replace("'", "''") + "'"; in format()
168 …fCombinedFormat.format(new Object[] {fTimePattern, datePattern}, combinedPattern, new FieldPositio… in format()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java1263 String datePattern =dtpng.getBestPattern(dateSkeleton); in initializeIntervalPattern() local
1264 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.AM_PM, intervalPatterns); in initializeIntervalPattern()
1265 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.HOUR, intervalPatterns); in initializeIntervalPattern()
1266 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.MINUTE, intervalPatterns); in initializeIntervalPattern()
1829 String datePattern, in concatSingleDate2TimeInterval() argument
1840 dtfmt, 2, 2, timeIntervalPattern, datePattern); in concatSingleDate2TimeInterval()
DDateTimePatternGenerator.java571 String datePattern, timePattern; in getBestPattern() local
582datePattern = getBestAppending(current, neededFields & DATE_MASK, _distanceInfo, skipMatcher, flag… in getBestPattern()
586 if (datePattern == null) return timePattern == null ? "" : timePattern; in getBestPattern()
587 if (timePattern == null) return datePattern; in getBestPattern()
589 getDateTimeFormat(), 2, 2, timePattern, datePattern); in getBestPattern()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalFormat.java1251 String datePattern =dtpng.getBestPattern(dateSkeleton); in initializeIntervalPattern() local
1252 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.AM_PM, intervalPatterns); in initializeIntervalPattern()
1253 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.HOUR, intervalPatterns); in initializeIntervalPattern()
1254 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.MINUTE, intervalPatterns); in initializeIntervalPattern()
1817 String datePattern, in concatSingleDate2TimeInterval() argument
1828 dtfmt, 2, 2, timeIntervalPattern, datePattern); in concatSingleDate2TimeInterval()
DDateTimePatternGenerator.java568 String datePattern, timePattern; in getBestPattern() local
579datePattern = getBestAppending(current, neededFields & DATE_MASK, _distanceInfo, skipMatcher, flag… in getBestPattern()
583 if (datePattern == null) return timePattern == null ? "" : timePattern; in getBestPattern()
584 if (timePattern == null) return datePattern; in getBestPattern()
586 getDateTimeFormat(), 2, 2, timePattern, datePattern); in getBestPattern()
/external/icu/icu4c/source/i18n/unicode/
Ddtitvfmt.h910 const UnicodeString& datePattern,
Dudat.h1623 const UChar *datePattern,
/external/icu/libandroidicu/include/unicode/
Dudat.h1623 const UChar *datePattern,
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java3586 private static String mergeOverrideStrings( String datePattern, String timePattern, in mergeOverrideStrings() argument
3598 return expandOverride(datePattern,dateOverride); in mergeOverrideStrings()
3605 return (expandOverride(datePattern,dateOverride)+";"+ in mergeOverrideStrings()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java3692 private static String mergeOverrideStrings( String datePattern, String timePattern, in mergeOverrideStrings() argument
3704 return expandOverride(datePattern,dateOverride); in mergeOverrideStrings()
3711 return (expandOverride(datePattern,dateOverride)+";"+ in mergeOverrideStrings()
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp3824 UnicodeString datePattern; member
3860 SimpleDateFormat *formatter = new SimpleDateFormat(itemPtr->datePattern, locale, status); in TestNumberAsStringParsing()
3872 …": using pattern \"" + itemPtr->datePattern + "\", could not parse \"" + itemPtr->dateString + "\"… in TestNumberAsStringParsing()
3876 … ": using pattern \"" + itemPtr->datePattern + "\", did parse \"" + itemPtr->dateString + "\"." ); in TestNumberAsStringParsing()
3882 …": using pattern \"" + itemPtr->datePattern + "\", did parse \"" + itemPtr->dateString + "\", form… in TestNumberAsStringParsing()