Searched refs:otherPos (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateIntervalFormat.java | 788 FieldPosition otherPos = new FieldPosition(pos.getField()); in format() local 789 fDateFormat.format(secondCal, appendTo, otherPos); in format() 790 if (pos.getEndIndex() == 0 && otherPos.getEndIndex() > 0) { in format() 791 pos.setBeginIndex(otherPos.getBeginIndex()); in format() 792 pos.setEndIndex(otherPos.getEndIndex()); in format() 860 FieldPosition otherPos = new FieldPosition(pos.getField()); in fallbackFormat() local 864 laterDate = fDateFormat.format(toCalendar, laterDate, otherPos); in fallbackFormat() 866 … adjustPosition(fallbackPattern, earlierDate.toString(), pos, laterDate.toString(), otherPos, pos); in fallbackFormat() 873 otherPos.setBeginIndex(0); in fallbackFormat() 874 otherPos.setEndIndex(0); in fallbackFormat() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateIntervalFormat.java | 780 FieldPosition otherPos = new FieldPosition(pos.getField()); in format() local 781 fDateFormat.format(secondCal, appendTo, otherPos); in format() 782 if (pos.getEndIndex() == 0 && otherPos.getEndIndex() > 0) { in format() 783 pos.setBeginIndex(otherPos.getBeginIndex()); in format() 784 pos.setEndIndex(otherPos.getEndIndex()); in format() 852 FieldPosition otherPos = new FieldPosition(pos.getField()); in fallbackFormat() local 856 laterDate = fDateFormat.format(toCalendar, laterDate, otherPos); in fallbackFormat() 858 … adjustPosition(fallbackPattern, earlierDate.toString(), pos, laterDate.toString(), otherPos, pos); in fallbackFormat() 865 otherPos.setBeginIndex(0); in fallbackFormat() 866 otherPos.setEndIndex(0); in fallbackFormat() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | dtitvfmt.cpp | 402 FieldPosition otherPos; in formatImpl() local 403 otherPos.setField(pos.getField()); in formatImpl() 404 fDateFormat->format(*secondCal, appendTo, otherPos); in formatImpl() 405 if (pos.getEndIndex() == 0 && otherPos.getEndIndex() > 0) { in formatImpl() 406 pos = otherPos; in formatImpl() 1354 FieldPosition otherPos; in fallbackFormat() local 1355 otherPos.setField(pos.getField()); in fallbackFormat() 1359 fDateFormat->format(toCalendar, laterDate, otherPos); in fallbackFormat() 1362 adjustPosition(fallbackPattern, earlierDate, pos, laterDate, otherPos, pos); in fallbackFormat() 1370 otherPos.setBeginIndex(0); in fallbackFormat() [all …]
|