Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/i18n/
Dreldtfmt.cpp163 UnicodeString datePattern; in format() local
169 datePattern.setTo(relativeDayString); in format()
171 datePattern.setTo(fDatePattern); in format()
174 Formattable timeDatePatterns[] = { fTimePattern, datePattern }; in format()
373 RelativeDateFormat::applyPatterns(const UnicodeString& datePattern, const UnicodeString& timePatter… in applyPatterns() argument
376 fDatePattern.setTo(datePattern); in applyPatterns()
Dudat.cpp1027 UnicodeString datePattern; in udat_toPatternRelativeDate() local
1031 datePattern.setTo(result, 0, resultLength); in udat_toPatternRelativeDate()
1033 ((RelativeDateFormat*)fmt)->toPatternDate(datePattern, *status); in udat_toPatternRelativeDate()
1034 return datePattern.extract(result, resultLength, *status); in udat_toPatternRelativeDate()
1058 const UChar *datePattern, in udat_applyPatternRelative() argument
1066 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()
1434 const UnicodeString& datePattern, in concatSingleDate2TimeInterval() argument
1448 UnicodeString* dateStr = new UnicodeString(datePattern); in concatSingleDate2TimeInterval()
Dreldtfmt.h223 …virtual void applyPatterns(const UnicodeString& datePattern, const UnicodeString& timePattern, UEr…
Ddtptngen.cpp810 UnicodeString datePattern=getBestAppending(neededFields & dateMask, flags, options); in getBestPattern() local
812 if (datePattern.length()==0) { in getBestPattern()
821 return datePattern; in getBestPattern()
826 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/icu/icu4c/source/i18n/
Dreldtfmt.cpp203 UnicodeString datePattern; in format() local
209 datePattern.setTo(relativeDayString); in format()
211 datePattern.setTo(fDatePattern); in format()
214 Formattable timeDatePatterns[] = { fTimePattern, datePattern }; in format()
413 RelativeDateFormat::applyPatterns(const UnicodeString& datePattern, const UnicodeString& timePatter… in applyPatterns() argument
416 fDatePattern.setTo(datePattern); in applyPatterns()
Dudat.cpp1028 UnicodeString datePattern; in udat_toPatternRelativeDate() local
1032 datePattern.setTo(result, 0, resultLength); in udat_toPatternRelativeDate()
1034 ((RelativeDateFormat*)fmt)->toPatternDate(datePattern, *status); in udat_toPatternRelativeDate()
1035 return datePattern.extract(result, resultLength, *status); in udat_toPatternRelativeDate()
1059 const UChar *datePattern, in udat_applyPatternRelative() argument
1067 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()
1436 const UnicodeString& datePattern, in concatSingleDate2TimeInterval() argument
1450 UnicodeString* dateStr = new UnicodeString(datePattern); in concatSingleDate2TimeInterval()
Dreldtfmt.h224 …virtual void applyPatterns(const UnicodeString& datePattern, const UnicodeString& timePattern, UEr…
Ddtptngen.cpp811 UnicodeString datePattern=getBestAppending(neededFields & dateMask, flags, options); in getBestPattern() local
813 if (datePattern.length()==0) { in getBestPattern()
822 return datePattern; in getBestPattern()
827 Formattable dateTimeObject[] = { timePattern, datePattern }; in getBestPattern()
/external/chromium_org/third_party/icu/source/i18n/unicode/
Ddtitvfmt.h884 const UnicodeString& datePattern,
Dudat.h1396 const UChar *datePattern,
/external/icu/icu4c/source/i18n/unicode/
Ddtitvfmt.h884 const UnicodeString& datePattern,
Dudat.h1409 const UChar *datePattern,
/external/chromium_org/third_party/icu/source/test/intltest/
Ddtfmttst.cpp3634 UnicodeString datePattern; member
3670 SimpleDateFormat *formatter = new SimpleDateFormat(itemPtr->datePattern, locale, status); in TestNumberAsStringParsing()
3682 …": using pattern \"" + itemPtr->datePattern + "\", could not parse \"" + itemPtr->dateString + "\"… in TestNumberAsStringParsing()
3686 … ": using pattern \"" + itemPtr->datePattern + "\", did parse \"" + itemPtr->dateString + "\"." ); in TestNumberAsStringParsing()
3692 …": using pattern \"" + itemPtr->datePattern + "\", did parse \"" + itemPtr->dateString + "\", form… in TestNumberAsStringParsing()
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp3637 UnicodeString datePattern; member
3673 SimpleDateFormat *formatter = new SimpleDateFormat(itemPtr->datePattern, locale, status); in TestNumberAsStringParsing()
3685 …": using pattern \"" + itemPtr->datePattern + "\", could not parse \"" + itemPtr->dateString + "\"… in TestNumberAsStringParsing()
3689 … ": using pattern \"" + itemPtr->datePattern + "\", did parse \"" + itemPtr->dateString + "\"." ); in TestNumberAsStringParsing()
3695 …": using pattern \"" + itemPtr->datePattern + "\", did parse \"" + itemPtr->dateString + "\", form… in TestNumberAsStringParsing()