Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Dreldtfmt.cpp162 UnicodeString datePattern; in format() local
168 datePattern.setTo(relativeDayString); in format()
170 datePattern.setTo(fDatePattern); in format()
173 Formattable timeDatePatterns[] = { fTimePattern, datePattern }; in format()
372 RelativeDateFormat::applyPatterns(const UnicodeString& datePattern, const UnicodeString& timePatter… in applyPatterns() argument
375 fDatePattern.setTo(datePattern); in applyPatterns()
Dudat.cpp989 UnicodeString datePattern; in udat_toPatternRelativeDate() local
993 datePattern.setTo(result, 0, resultLength); in udat_toPatternRelativeDate()
995 ((RelativeDateFormat*)fmt)->toPatternDate(datePattern, *status); in udat_toPatternRelativeDate()
996 return datePattern.extract(result, resultLength, *status); in udat_toPatternRelativeDate()
1020 const UChar *datePattern, in udat_applyPatternRelative() argument
1028 const UnicodeString datePat((UBool)(datePatternLength == -1), datePattern, datePatternLength); in udat_applyPatternRelative()
Ddtitvfmt.cpp757 UnicodeString datePattern = fDtpng->getBestPattern(dateSkeleton, status); in initializePattern() local
760 datePattern, UCAL_AM_PM, status); in initializePattern()
762 datePattern, UCAL_HOUR, status); in initializePattern()
764 datePattern, UCAL_MINUTE, status); in initializePattern()
1432 const UnicodeString& datePattern, in concatSingleDate2TimeInterval() argument
1446 UnicodeString* dateStr = new UnicodeString(datePattern); in concatSingleDate2TimeInterval()
Dreldtfmt.h223 …virtual void applyPatterns(const UnicodeString& datePattern, const UnicodeString& timePattern, UEr…
Ddtptngen.cpp779 UnicodeString datePattern=getBestAppending(neededFields & dateMask, options); in getBestPattern() local
781 if (datePattern.length()==0) { in getBestPattern()
790 return datePattern; in getBestPattern()
795 Formattable dateTimeObject[] = { timePattern, datePattern }; in getBestPattern()
/external/smack/src/org/jivesoftware/smack/util/
DStringUtils.java60 private static final Pattern datePattern = Pattern.compile("^\\d+-\\d+-\\d+$"); field in StringUtils
103 couplings.add(new PatternCouplings(datePattern, dateFormatter)); in couplings.add() argument
775 public PatternCouplings(Pattern datePattern, DateFormat dateFormat) { in PatternCouplings() argument
776 pattern = datePattern; in PatternCouplings()
780 …public PatternCouplings(Pattern datePattern, DateFormat dateFormat, boolean shouldConvertToRFC822)… in PatternCouplings() argument
781 pattern = datePattern; in PatternCouplings()
/external/icu4c/i18n/unicode/
Ddtitvfmt.h886 const UnicodeString& datePattern,
Dudat.h1271 const UChar *datePattern,
/external/icu4c/test/intltest/
Ddtfmttst.cpp3629 UnicodeString datePattern; member
3665 SimpleDateFormat *formatter = new SimpleDateFormat(itemPtr->datePattern, locale, status); in TestNumberAsStringParsing()
3676 …": using pattern \"" + itemPtr->datePattern + "\", could not parse \"" + itemPtr->dateString + "\"… in TestNumberAsStringParsing()
3680 … ": using pattern \"" + itemPtr->datePattern + "\", did parse \"" + itemPtr->dateString + "\"." ); in TestNumberAsStringParsing()
3686 …": using pattern \"" + itemPtr->datePattern + "\", did parse \"" + itemPtr->dateString + "\", form… in TestNumberAsStringParsing()