Home
last modified time | relevance | path

Searched refs:otherPos (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java788 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/
DDateIntervalFormat.java779 FieldPosition otherPos = new FieldPosition(pos.getField()); in format() local
780 fDateFormat.format(secondCal, appendTo, otherPos); in format()
781 if (pos.getEndIndex() == 0 && otherPos.getEndIndex() > 0) { in format()
782 pos.setBeginIndex(otherPos.getBeginIndex()); in format()
783 pos.setEndIndex(otherPos.getEndIndex()); in format()
851 FieldPosition otherPos = new FieldPosition(pos.getField()); in fallbackFormat() local
855 laterDate = fDateFormat.format(toCalendar, laterDate, otherPos); in fallbackFormat()
857 … adjustPosition(fallbackPattern, earlierDate.toString(), pos, laterDate.toString(), otherPos, pos); in fallbackFormat()
864 otherPos.setBeginIndex(0); in fallbackFormat()
865 otherPos.setEndIndex(0); in fallbackFormat()
[all …]
/external/icu/icu4c/source/i18n/
Ddtitvfmt.cpp399 FieldPosition otherPos; in formatImpl() local
400 otherPos.setField(pos.getField()); in formatImpl()
401 fDateFormat->format(*secondCal, appendTo, otherPos); in formatImpl()
402 if (pos.getEndIndex() == 0 && otherPos.getEndIndex() > 0) { in formatImpl()
403 pos = otherPos; in formatImpl()
1353 FieldPosition otherPos; in fallbackFormat() local
1354 otherPos.setField(pos.getField()); in fallbackFormat()
1358 fDateFormat->format(toCalendar, laterDate, otherPos); in fallbackFormat()
1361 adjustPosition(fallbackPattern, earlierDate, pos, laterDate, otherPos, pos); in fallbackFormat()
1369 otherPos.setBeginIndex(0); in fallbackFormat()
[all …]