Lines Matching refs:intervalPattern
352 const PatternInfo& intervalPattern = fIntervalPatterns[itvPtnIndex];
354 if ( intervalPattern.firstPart.isEmpty() &&
355 intervalPattern.secondPart.isEmpty() ) {
368 if ( intervalPattern.firstPart.isEmpty() ) {
372 fDateFormat->applyPattern(intervalPattern.secondPart);
379 if ( intervalPattern.laterDateFirst ) {
390 fDateFormat->applyPattern(intervalPattern.firstPart);
392 if ( !intervalPattern.secondPart.isEmpty() ) {
393 fDateFormat->applyPattern(intervalPattern.secondPart);
1098 const UnicodeString& intervalPattern) {
1100 setIntervalPattern(field, intervalPattern, order);
1106 const UnicodeString& intervalPattern,
1108 const UnicodeString* pattern = &intervalPattern;
1114 if ( intervalPattern.startsWith(gLaterFirstPrefix, prefixLength) ) {
1116 intervalPattern.extract(prefixLength,
1117 intervalPattern.length() - prefixLength,
1120 } else if ( intervalPattern.startsWith(gEarlierFirstPrefix,
1123 intervalPattern.extract(earliestFirstLength,
1124 intervalPattern.length() - earliestFirstLength,
1242 DateIntervalFormat::splitPatternInto2Part(const UnicodeString& intervalPattern) {
1271 for (i = 0; i < intervalPattern.length(); ++i) {
1272 UChar ch = intervalPattern.charAt(i);
1288 if ((i+1) < intervalPattern.length() &&
1289 intervalPattern.charAt(i+1) == '\'') {