Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java542 … setIntervalPatternIfAbsent(String currentSkeleton, String lrgDiffCalUnit, Value intervalPattern) { in setIntervalPatternIfAbsent() argument
549 intervalPattern.toString()); in setIntervalPatternIfAbsent()
618 private static int splitPatternInto2Part(String intervalPattern) { in splitPatternInto2Part() argument
637 for (i = 0; i < intervalPattern.length(); ++i) { in splitPatternInto2Part()
638 char ch = intervalPattern.charAt(i); in splitPatternInto2Part()
654 if ((i+1) < intervalPattern.length() && in splitPatternInto2Part()
655 intervalPattern.charAt(i+1) == '\'') { in splitPatternInto2Part()
716 String intervalPattern) in setIntervalPattern() argument
730 intervalPattern); in setIntervalPattern()
762 String intervalPattern) { in setIntervalPatternInternally() argument
[all …]
DDateIntervalFormat.java674 PatternInfo intervalPattern = fIntervalPatterns.get( in getPatterns() local
676 part2.value = intervalPattern.getSecondPart(); in getPatterns()
677 return intervalPattern.getFirstPart(); in getPatterns()
741 PatternInfo intervalPattern = fIntervalPatterns.get( in format() local
744 if ( intervalPattern == null ) { in format()
759 if ( intervalPattern.getFirstPart() == null ) { in format()
762 intervalPattern.getSecondPart()); in format()
766 if ( intervalPattern.firstDateInPtnIsLaterDate() ) { in format()
776 fDateFormat.applyPattern(intervalPattern.getFirstPart()); in format()
778 if ( intervalPattern.getSecondPart() != null ) { in format()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java552 … setIntervalPatternIfAbsent(String currentSkeleton, String lrgDiffCalUnit, Value intervalPattern) { in setIntervalPatternIfAbsent() argument
559 intervalPattern.toString()); in setIntervalPatternIfAbsent()
628 private static int splitPatternInto2Part(String intervalPattern) { in splitPatternInto2Part() argument
647 for (i = 0; i < intervalPattern.length(); ++i) { in splitPatternInto2Part()
648 char ch = intervalPattern.charAt(i); in splitPatternInto2Part()
664 if ((i+1) < intervalPattern.length() && in splitPatternInto2Part()
665 intervalPattern.charAt(i+1) == '\'') { in splitPatternInto2Part()
727 String intervalPattern) in setIntervalPattern() argument
741 intervalPattern); in setIntervalPattern()
773 String intervalPattern) { in setIntervalPatternInternally() argument
[all …]
DDateIntervalFormat.java681 PatternInfo intervalPattern = fIntervalPatterns.get( in getPatterns() local
683 part2.value = intervalPattern.getSecondPart(); in getPatterns()
684 return intervalPattern.getFirstPart(); in getPatterns()
749 PatternInfo intervalPattern = fIntervalPatterns.get( in format() local
752 if ( intervalPattern == null ) { in format()
767 if ( intervalPattern.getFirstPart() == null ) { in format()
770 intervalPattern.getSecondPart()); in format()
774 if ( intervalPattern.firstDateInPtnIsLaterDate() ) { in format()
784 fDateFormat.applyPattern(intervalPattern.getFirstPart()); in format()
786 if ( intervalPattern.getSecondPart() != null ) { in format()
[all …]
/external/icu/icu4c/source/i18n/
Ddtitvfmt.cpp360 const PatternInfo& intervalPattern = fIntervalPatterns[itvPtnIndex]; in formatImpl() local
362 if ( intervalPattern.firstPart.isEmpty() && in formatImpl()
363 intervalPattern.secondPart.isEmpty() ) { in formatImpl()
376 if ( intervalPattern.firstPart.isEmpty() ) { in formatImpl()
380 fDateFormat->applyPattern(intervalPattern.secondPart); in formatImpl()
387 if ( intervalPattern.laterDateFirst ) { in formatImpl()
398 fDateFormat->applyPattern(intervalPattern.firstPart); in formatImpl()
400 if ( !intervalPattern.secondPart.isEmpty() ) { in formatImpl()
401 fDateFormat->applyPattern(intervalPattern.secondPart); in formatImpl()
1084 const UnicodeString& intervalPattern) { in setIntervalPattern() argument
[all …]
Ddtitvinf.cpp86 const UnicodeString& intervalPattern, in setIntervalPattern() argument
90 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern()
91 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern()
94 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern()
96 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern()
194 const UnicodeString& intervalPattern = patternsOfOneSkeleton[index]; in getIntervalPattern() local
195 if ( !intervalPattern.isEmpty() ) { in getIntervalPattern()
196 result = intervalPattern; in getIntervalPattern()
477 const UnicodeString& intervalPattern, in setIntervalPatternInternally() argument
490 patternsOfOneSkeleton[index] = intervalPattern; in setIntervalPatternInternally()
/external/icu/icu4c/source/i18n/unicode/
Ddtitvfmt.h929 static int32_t U_EXPORT2 splitPatternInto2Part(const UnicodeString& intervalPattern);
938 const UnicodeString& intervalPattern);
948 const UnicodeString& intervalPattern,
Ddtitvinf.h263 const UnicodeString& intervalPattern,
397 const UnicodeString& intervalPattern,
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DCheckYear.java198 private String getCorePattern(String intervalPattern) {
209 for (Object item : formatParser.set(intervalPattern).getItems()) {
239 if (!normalized.equals(intervalPattern)) {
240 System.out.println("Not normalized: " + intervalPattern + "\t"
245 + intervalPattern);
/external/cldr/tools/java/org/unicode/cldr/util/
DDateTimeFormats.java231 String intervalPattern = file.getStringValue(path); in set() local
232 dateIntervalInfo.setIntervalPattern(skeleton, diffNumber, intervalPattern); in set()