Searched refs:smallestFieldPosition (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MeasureFormat.java | 942 FieldPosition smallestFieldPosition = new FieldPosition(smallestField); in formatNumeric() local 945 … draft = formatter.format(duration, new StringBuffer(), smallestFieldPosition).toString(); in formatNumeric() 950 … if (smallestFieldPosition.getBeginIndex() != 0 || smallestFieldPosition.getEndIndex() != 0) { in formatNumeric() 952 appendTo.append(draft, 0, smallestFieldPosition.getBeginIndex()); in formatNumeric() 960 smallestFieldPosition.getBeginIndex(), in formatNumeric() 961 smallestFieldPosition.getEndIndex()); in formatNumeric() 967 appendTo.append(draft, smallestFieldPosition.getEndIndex(), draft.length()); in formatNumeric()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MeasureFormat.java | 901 FieldPosition smallestFieldPosition = new FieldPosition(smallestField); in formatNumeric() local 904 … draft = formatter.format(duration, new StringBuffer(), smallestFieldPosition).toString(); in formatNumeric() 909 … if (smallestFieldPosition.getBeginIndex() != 0 || smallestFieldPosition.getEndIndex() != 0) { in formatNumeric() 911 appendTo.append(draft, 0, smallestFieldPosition.getBeginIndex()); in formatNumeric() 919 smallestFieldPosition.getBeginIndex(), in formatNumeric() 920 smallestFieldPosition.getEndIndex()); in formatNumeric() 926 appendTo.append(draft, smallestFieldPosition.getEndIndex(), draft.length()); in formatNumeric()
|
/external/icu/icu4c/source/i18n/ |
D | measfmt.cpp | 1065 FieldPosition smallestFieldPosition(smallestField); in formatNumeric() local 1069 dateFmt.format(date, draft, smallestFieldPosition, status); in formatNumeric() 1077 if (smallestFieldPosition.getBeginIndex() != 0 || in formatNumeric() 1078 smallestFieldPosition.getEndIndex() != 0) { in formatNumeric() 1079 appendRange(draft, 0, smallestFieldPosition.getBeginIndex(), appendTo); in formatNumeric() 1087 smallestFieldPosition.getBeginIndex(), in formatNumeric() 1088 smallestFieldPosition.getEndIndex(), in formatNumeric() 1096 smallestFieldPosition.getEndIndex(), in formatNumeric()
|