Home
last modified time | relevance | path

Searched refs:FormattedNumberRange (Results 1 – 25 of 33) sorted by relevance

12

/external/icu/libicu/cts_headers/unicode/
Dnumberrangeformatter.h58 class FormattedNumberRange; variable
489 FormattedNumberRange formatFormattableRange(
581 class U_I18N_API FormattedNumberRange : public UMemory, public FormattedValue {
692 FormattedNumberRange(const FormattedNumberRange&) = delete;
697 FormattedNumberRange& operator=(const FormattedNumberRange&) = delete;
704 FormattedNumberRange(FormattedNumberRange&& src) U_NOEXCEPT;
711 FormattedNumberRange& operator=(FormattedNumberRange&& src) U_NOEXCEPT;
717 ~FormattedNumberRange();
729 explicit FormattedNumberRange(impl::UFormattedNumberRangeData *results)
732 explicit FormattedNumberRange(UErrorCode errorCode)
[all …]
Dplurrule.h59 class FormattedNumberRange; variable
393 UnicodeString select(const number::FormattedNumberRange& range, UErrorCode& status) const;
/external/icu/icu4c/source/i18n/unicode/
Dnumberrangeformatter.h58 class FormattedNumberRange; variable
489 FormattedNumberRange formatFormattableRange(
581 class U_I18N_API FormattedNumberRange : public UMemory, public FormattedValue {
692 FormattedNumberRange(const FormattedNumberRange&) = delete;
697 FormattedNumberRange& operator=(const FormattedNumberRange&) = delete;
704 FormattedNumberRange(FormattedNumberRange&& src) U_NOEXCEPT;
711 FormattedNumberRange& operator=(FormattedNumberRange&& src) U_NOEXCEPT;
717 ~FormattedNumberRange();
729 explicit FormattedNumberRange(impl::UFormattedNumberRangeData *results)
732 explicit FormattedNumberRange(UErrorCode errorCode)
[all …]
Dplurrule.h59 class FormattedNumberRange; variable
393 UnicodeString select(const number::FormattedNumberRange& range, UErrorCode& status) const;
/external/icu/icu4c/source/i18n/
Dnumber_output.cpp51 UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL(FormattedNumberRange) in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() argument
55 UnicodeString FormattedNumberRange::getFirstDecimal(UErrorCode& status) const { in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
60 UnicodeString FormattedNumberRange::getSecondDecimal(UErrorCode& status) const { in getSecondDecimal()
65 void FormattedNumberRange::getDecimalNumbers(ByteSink& sink1, ByteSink& sink2, UErrorCode& status) … in getDecimalNumbers()
73 UNumberRangeIdentityResult FormattedNumberRange::getIdentityResult(UErrorCode& status) const { in getIdentityResult()
78 const impl::UFormattedNumberRangeData* FormattedNumberRange::getData(UErrorCode& status) const { in getData()
Dnumrange_fluent.cpp289 FormattedNumberRange LocalizedNumberRangeFormatter::formatFormattableRange( in formatFormattableRange()
292 return FormattedNumberRange(U_ILLEGAL_ARGUMENT_ERROR); in formatFormattableRange()
298 return FormattedNumberRange(status); in formatFormattableRange()
303 return FormattedNumberRange(status); in formatFormattableRange()
308 return FormattedNumberRange(status); in formatFormattableRange()
315 return FormattedNumberRange(results); in formatFormattableRange()
318 return FormattedNumberRange(status); in formatFormattableRange()
Dnumrange_capi.cpp48 FormattedNumberRange fImpl;
Dplurrule.cpp314 PluralRules::select(const number::FormattedNumberRange& range, UErrorCode& status) const { in select()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DLocalizedNumberRangeFormatter.java37 public FormattedNumberRange formatRange(int first, int second) { in formatRange()
55 public FormattedNumberRange formatRange(double first, double second) { in formatRange()
76 public FormattedNumberRange formatRange(Number first, Number second) { in formatRange()
85FormattedNumberRange formatImpl(DecimalQuantity first, DecimalQuantity second, boolean equalBefore… in formatImpl()
DFormattedNumberRange.java29 public class FormattedNumberRange implements FormattedValue { class
35FormattedNumberRange(FormattedStringBuilder string, DecimalQuantity quantity1, DecimalQuantity qua… in FormattedNumberRange() method in FormattedNumberRange
183 if (!(other instanceof FormattedNumberRange)) in equals()
187 FormattedNumberRange _other = (FormattedNumberRange) other; in equals()
DNumberRangeFormatterImpl.java154 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format()
173 … return new FormattedNumberRange(string, quantity1, quantity2, RangeIdentityResult.NOT_EQUAL); in format()
215 return new FormattedNumberRange(string, quantity1, quantity2, identityResult); in format()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DLocalizedNumberRangeFormatter.java36 public FormattedNumberRange formatRange(int first, int second) { in formatRange()
53 public FormattedNumberRange formatRange(double first, double second) { in formatRange()
73 public FormattedNumberRange formatRange(Number first, Number second) { in formatRange()
82FormattedNumberRange formatImpl(DecimalQuantity first, DecimalQuantity second, boolean equalBefore… in formatImpl()
DFormattedNumberRange.java29 public class FormattedNumberRange implements FormattedValue { class
35FormattedNumberRange(FormattedStringBuilder string, DecimalQuantity quantity1, DecimalQuantity qua… in FormattedNumberRange() method in FormattedNumberRange
162 if (!(other instanceof FormattedNumberRange)) in equals()
166 FormattedNumberRange _other = (FormattedNumberRange) other; in equals()
DNumberRangeFormatterImpl.java155 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format()
174 … return new FormattedNumberRange(string, quantity1, quantity2, RangeIdentityResult.NOT_EQUAL); in format()
216 return new FormattedNumberRange(string, quantity1, quantity2, identityResult); in format()
/external/icu/android_icu4j/testing/src/android/icu/extratest/number/
DFormattedNumberRangeTest.java7 import android.icu.number.FormattedNumberRange;
28 FormattedNumberRange range = NumberRangeFormatter.withLocale(ULocale.US) in test_enUS()
51 FormattedNumberRange range = NumberRangeFormatter.withLocale(ULocale.US) in testAppendTo()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_range.cpp733 FormattedNumberRange result = assertFormattedRangeEquals( in testFieldPositions()
762 FormattedNumberRange result = assertFormattedRangeEquals( in testFieldPositions()
822 FormattedNumberRange result = l1.formatFormattableRange(1, 5, status); in testCopyMove()
872 FormattedNumberRange range = lnf.formatFormattableRange(1, 5, status); in testGetDecimalNumbers()
889 FormattedNumberRange range = lnf.formatFormattableRange(3, 3, status); in testGetDecimalNumbers()
933 FormattedNumberRange NumberRangeFormatterTest::assertFormattedRangeEquals( in assertFormattedRangeEquals()
942 FormattedNumberRange fnr = l.formatFormattableRange(first, second, status); in assertFormattedRangeEquals()
Dnumbertest.h328 FormattedNumberRange assertFormattedRangeEquals(
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRangesTest.java22 import android.icu.number.FormattedNumberRange;
113 FormattedNumberRange actual = NumberRangeFormatter.with() in TestFormatting()
DPluralRulesTest.java46 import android.icu.number.FormattedNumberRange;
1331 FormattedNumberRange range = NumberRangeFormatter.withLocale(locale).formatRange(d1, d2);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberRangeFormatterTest.java20 import com.ibm.icu.number.FormattedNumberRange;
727 FormattedNumberRange fmtd = assertFormattedRangeEquals( in testFieldPositions()
749 FormattedNumberRange fmtd = assertFormattedRangeEquals( in testFieldPositions()
860 …private static FormattedNumberRange assertFormattedRangeEquals(String message, LocalizedNumberRang… in assertFormattedRangeEquals()
862 FormattedNumberRange fnr = l.formatRange(first, second); in assertFormattedRangeEquals()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberRangeFormatterTest.java21 import android.icu.number.FormattedNumberRange;
730 FormattedNumberRange fmtd = assertFormattedRangeEquals( in testFieldPositions()
752 FormattedNumberRange fmtd = assertFormattedRangeEquals( in testFieldPositions()
863 …private static FormattedNumberRange assertFormattedRangeEquals(String message, LocalizedNumberRang… in assertFormattedRangeEquals()
865 FormattedNumberRange fnr = l.formatRange(first, second); in assertFormattedRangeEquals()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRangesTest.java21 import com.ibm.icu.number.FormattedNumberRange;
110 FormattedNumberRange actual = NumberRangeFormatter.with() in TestFormatting()
DPluralRulesTest.java45 import com.ibm.icu.number.FormattedNumberRange;
1328 FormattedNumberRange range = NumberRangeFormatter.withLocale(locale).formatRange(d1, d2);
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java36 import android.icu.number.FormattedNumberRange;
2234 public String select(FormattedNumberRange range) { in select()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java35 import com.ibm.icu.number.FormattedNumberRange;
2173 public String select(FormattedNumberRange range) { in select()

12