Home
last modified time | relevance | path

Searched refs:intervalPattern (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java515 private static int splitPatternInto2Part(String intervalPattern) { in splitPatternInto2Part() argument
534 for (i = 0; i < intervalPattern.length(); ++i) { in splitPatternInto2Part()
535 char ch = intervalPattern.charAt(i); in splitPatternInto2Part()
551 if ((i+1) < intervalPattern.length() && in splitPatternInto2Part()
552 intervalPattern.charAt(i+1) == '\'') { in splitPatternInto2Part()
614 String intervalPattern) in setIntervalPattern() argument
628 intervalPattern); in setIntervalPattern()
660 String intervalPattern) { in setIntervalPatternInternally() argument
669 if ( intervalPattern.startsWith(LATEST_FIRST_PREFIX) ) { in setIntervalPatternInternally()
672 intervalPattern = intervalPattern.substring(prefixLength, intervalPattern.length()); in setIntervalPatternInternally()
[all …]
DDateIntervalFormat.java644 PatternInfo intervalPattern = fIntervalPatterns.get( in getPatterns() local
646 part2.value = intervalPattern.getSecondPart(); in getPatterns()
647 return intervalPattern.getFirstPart(); in getPatterns()
705 PatternInfo intervalPattern = fIntervalPatterns.get( in format() local
708 if ( intervalPattern == null ) { in format()
723 if ( intervalPattern.getFirstPart() == null ) { in format()
726 intervalPattern.getSecondPart()); in format()
730 if ( intervalPattern.firstDateInPtnIsLaterDate() ) { in format()
740 fDateFormat.applyPattern(intervalPattern.getFirstPart()); in format()
742 if ( intervalPattern.getSecondPart() != null ) { in format()
[all …]
/external/icu/icu4c/source/i18n/
Ddtitvfmt.cpp333 const PatternInfo& intervalPattern = fIntervalPatterns[itvPtnIndex]; in format() local
335 if ( intervalPattern.firstPart.isEmpty() && in format()
336 intervalPattern.secondPart.isEmpty() ) { in format()
349 if ( intervalPattern.firstPart.isEmpty() ) { in format()
353 fDateFormat->applyPattern(intervalPattern.secondPart); in format()
360 if ( intervalPattern.laterDateFirst ) { in format()
371 fDateFormat->applyPattern(intervalPattern.firstPart); in format()
373 if ( !intervalPattern.secondPart.isEmpty() ) { in format()
374 fDateFormat->applyPattern(intervalPattern.secondPart); in format()
1051 const UnicodeString& intervalPattern) { in setIntervalPattern() argument
[all …]
Ddtitvinf.cpp84 const UnicodeString& intervalPattern, in setIntervalPattern() argument
88 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern()
89 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern()
92 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern()
94 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern()
192 const UnicodeString& intervalPattern = patternsOfOneSkeleton[index]; in getIntervalPattern() local
193 if ( !intervalPattern.isEmpty() ) { in getIntervalPattern()
194 result = intervalPattern; in getIntervalPattern()
370 const UnicodeString& intervalPattern, in setIntervalPatternInternally() argument
383 patternsOfOneSkeleton[index] = intervalPattern; in setIntervalPatternInternally()
/external/icu/icu4c/source/i18n/unicode/
Ddtitvfmt.h903 static int32_t U_EXPORT2 splitPatternInto2Part(const UnicodeString& intervalPattern);
912 const UnicodeString& intervalPattern);
922 const UnicodeString& intervalPattern,
Ddtitvinf.h263 const UnicodeString& intervalPattern,
391 const UnicodeString& intervalPattern,
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...