Home
last modified time | relevance | path

Searched refs:datePattern (Results 1 – 16 of 16) 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()
1531 const UnicodeString& datePattern, in concatSingleDate2TimeInterval() argument
1546 format(timeIntervalPattern, datePattern, combinedPattern, status); in concatSingleDate2TimeInterval()
Dreldtfmt.h226 …virtual void applyPatterns(const UnicodeString& datePattern, const UnicodeString& timePattern, UEr…
Ddtptngen.cpp1025 UnicodeString datePattern=getBestAppending(neededFields & dateMask, flags, options); in getBestPattern() local
1027 if (datePattern.length()==0) { in getBestPattern()
1036 return datePattern; in getBestPattern()
1041 SimpleFormatter(dtFormat, 2, 2, status).format(timePattern, datePattern, resultPattern, status); in getBestPattern()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRelativeDateFormat.java161 String datePattern = fDatePattern; // default; in format() local
164 datePattern = "'" + relativeDayString.replace("'", "''") + "'"; in format()
167 …fCombinedFormat.format(new Object[] {fTimePattern, datePattern}, combinedPattern, new FieldPositio… in format()
/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/text/
DDateIntervalFormat.java1250 String datePattern =dtpng.getBestPattern(dateSkeleton); in initializeIntervalPattern() local
1251 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.AM_PM, intervalPatterns); in initializeIntervalPattern()
1252 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.HOUR, intervalPatterns); in initializeIntervalPattern()
1253 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.MINUTE, intervalPatterns); in initializeIntervalPattern()
1816 String datePattern, in concatSingleDate2TimeInterval() argument
1827 dtfmt, 2, 2, timeIntervalPattern, datePattern); in concatSingleDate2TimeInterval()
DDateTimePatternGenerator.java550 String datePattern, timePattern; in getBestPattern() local
561datePattern = getBestAppending(current, neededFields & DATE_MASK, _distanceInfo, skipMatcher, flag… in getBestPattern()
565 if (datePattern == null) return timePattern == null ? "" : timePattern; in getBestPattern()
566 if (timePattern == null) return datePattern; in getBestPattern()
568 getDateTimeFormat(), 2, 2, timePattern, datePattern); in getBestPattern()
/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.java553 String datePattern, timePattern; in getBestPattern() local
564datePattern = getBestAppending(current, neededFields & DATE_MASK, _distanceInfo, skipMatcher, flag… in getBestPattern()
568 if (datePattern == null) return timePattern == null ? "" : timePattern; in getBestPattern()
569 if (timePattern == null) return datePattern; in getBestPattern()
571 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/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java3721 private static String mergeOverrideStrings( String datePattern, String timePattern, in mergeOverrideStrings() argument
3733 return expandOverride(datePattern,dateOverride); in mergeOverrideStrings()
3740 return (expandOverride(datePattern,dateOverride)+";"+ in mergeOverrideStrings()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java3615 private static String mergeOverrideStrings( String datePattern, String timePattern, in mergeOverrideStrings() argument
3627 return expandOverride(datePattern,dateOverride); in mergeOverrideStrings()
3634 return (expandOverride(datePattern,dateOverride)+";"+ in mergeOverrideStrings()
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp3823 UnicodeString datePattern; member
3859 SimpleDateFormat *formatter = new SimpleDateFormat(itemPtr->datePattern, locale, status); in TestNumberAsStringParsing()
3871 …": using pattern \"" + itemPtr->datePattern + "\", could not parse \"" + itemPtr->dateString + "\"… in TestNumberAsStringParsing()
3875 … ": using pattern \"" + itemPtr->datePattern + "\", did parse \"" + itemPtr->dateString + "\"." ); in TestNumberAsStringParsing()
3881 …": using pattern \"" + itemPtr->datePattern + "\", did parse \"" + itemPtr->dateString + "\", form… in TestNumberAsStringParsing()