Home
last modified time | relevance | path

Searched refs:formatRange (Results 1 – 25 of 36) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DDateTimeFormatAndNumberFormatES2021.js2 Intl.NumberFormat.prototype.formatRange method in Intl.NumberFormat
3 Intl.DateTimeFormat.prototype.formatRange
5 new Intl.NumberFormat().formatRange
7 new Intl.DateTimeFormat().formatRange
11 Intl.NumberFormat.prototype.formatRange;
12 Intl.DateTimeFormat.prototype.formatRange; method in Intl.DateTimeFormat
13 new Intl.NumberFormat().formatRange;
15 new Intl.DateTimeFormat().formatRange;
DDateTimeFormatAndNumberFormatES2021.errors.txt1 …/DateTimeFormatAndNumberFormatES2021.ts(1,29): error TS2339: Property 'formatRange' does not exist…
2 …/DateTimeFormatAndNumberFormatES2021.ts(4,25): error TS2339: Property 'formatRange' does not exist…
7 Intl.NumberFormat.prototype.formatRange
9 !!! error TS2339: Property 'formatRange' does not exist on type 'NumberFormat'.
10 Intl.DateTimeFormat.prototype.formatRange
12 new Intl.NumberFormat().formatRange
14 !!! error TS2339: Property 'formatRange' does not exist on type 'NumberFormat'.
19 new Intl.DateTimeFormat().formatRange
DDateTimeFormatAndNumberFormatES2021.types2 Intl.NumberFormat.prototype.formatRange
3 >Intl.NumberFormat.prototype.formatRange : any
9 >formatRange : any
11 Intl.DateTimeFormat.prototype.formatRange
12 >Intl.DateTimeFormat.prototype.formatRange : (startDate: number | bigint | Date, endDate: number | …
18 >formatRange : (startDate: number | bigint | Date, endDate: number | bigint | Date) => string
20 new Intl.NumberFormat().formatRange
21 >new Intl.NumberFormat().formatRange : any
26 >formatRange : any
36 new Intl.DateTimeFormat().formatRange
[all …]
DDateTimeFormatAndNumberFormatES2021.symbols2 Intl.NumberFormat.prototype.formatRange
9 Intl.DateTimeFormat.prototype.formatRange
10 >Intl.DateTimeFormat.prototype.formatRange : Symbol(Intl.DateTimeFormat.formatRange, Decl(lib.es202…
16 >formatRange : Symbol(Intl.DateTimeFormat.formatRange, Decl(lib.es2021.intl.d.ts, --, --))
18 new Intl.NumberFormat().formatRange
28 new Intl.DateTimeFormat().formatRange
29 >new Intl.DateTimeFormat().formatRange : Symbol(Intl.DateTimeFormat.formatRange, Decl(lib.es2021.in…
33 >formatRange : Symbol(Intl.DateTimeFormat.formatRange, Decl(lib.es2021.intl.d.ts, --, --))
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberRangeFormatterTest.java59 …ertEquals("Formatters should have same behavior 1", lnrf1.formatRange(4, 6), lnrf2.formatRange(4, … in testSanity()
60 …ertEquals("Formatters should have same behavior 2", lnrf2.formatRange(4, 6), lnrf3.formatRange(4, … in testSanity()
61 …ertEquals("Formatters should have same behavior 3", lnrf3.formatRange(4, 6), lnrf4.formatRange(4, … in testSanity()
690 FormattedNumberRange result1 = lnf.formatRange(Double.NEGATIVE_INFINITY, 0); in testNaNInfinity()
691 FormattedNumberRange result2 = lnf.formatRange(0, Double.POSITIVE_INFINITY); in testNaNInfinity()
692 …FormattedNumberRange result3 = lnf.formatRange(Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY); in testNaNInfinity()
693 FormattedNumberRange result4 = lnf.formatRange(Double.NaN, 0); in testNaNInfinity()
694 FormattedNumberRange result5 = lnf.formatRange(0, Double.NaN); in testNaNInfinity()
695 FormattedNumberRange result6 = lnf.formatRange(Double.NaN, Double.NaN); in testNaNInfinity()
756 String actual = lnrf.formatRange(first, second).toString(); in testPlurals()
[all …]
/third_party/typescript/tests/cases/compiler/
DDateTimeFormatAndNumberFormatES2021.ts2 Intl.NumberFormat.prototype.formatRange
3 Intl.DateTimeFormat.prototype.formatRange
5 new Intl.NumberFormat().formatRange
7 new Intl.DateTimeFormat().formatRange
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DLocalizedNumberRangeFormatter.java37 public FormattedNumberRange formatRange(int first, int second) { in formatRange() method in LocalizedNumberRangeFormatter
55 public FormattedNumberRange formatRange(double first, double second) { in formatRange() method in LocalizedNumberRangeFormatter
76 public FormattedNumberRange formatRange(Number first, Number second) { in formatRange() method in LocalizedNumberRangeFormatter
DNumberRangeFormatterImpl.java198 formatRange(quantity1, quantity2, string, micros1, micros2); in format()
221 formatRange(quantity1, quantity2, string, micros1, micros2); in format()
250 formatRange(quantity1, quantity2, string, micros1, micros2); in formatSingleValue()
267 formatRange(quantity1, quantity2, string, micros1, micros2); in formatApproximately()
271 …private void formatRange(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStringBuil… in formatRange() method in NumberRangeFormatterImpl
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DLocalizedNumberRangeFormatter.java37 public FormattedNumberRange formatRange(int first, int second) { in formatRange() method in LocalizedNumberRangeFormatter
54 public FormattedNumberRange formatRange(double first, double second) { in formatRange() method in LocalizedNumberRangeFormatter
74 public FormattedNumberRange formatRange(Number first, Number second) { in formatRange() method in LocalizedNumberRangeFormatter
DNumberRangeFormatterImpl.java173 formatRange(quantity1, quantity2, string, micros1, micros2); in format()
196 formatRange(quantity1, quantity2, string, micros1, micros2); in format()
225 formatRange(quantity1, quantity2, string, micros1, micros2); in formatSingleValue()
240 formatRange(quantity1, quantity2, string, micros1, micros2); in formatApproximately()
244 …private void formatRange(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStringBuil… in formatRange() method in NumberRangeFormatterImpl
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DNumberRangeFormatterTest.java61 …ertEquals("Formatters should have same behavior 1", lnrf1.formatRange(4, 6), lnrf2.formatRange(4, … in testSanity()
62 …ertEquals("Formatters should have same behavior 2", lnrf2.formatRange(4, 6), lnrf3.formatRange(4, … in testSanity()
63 …ertEquals("Formatters should have same behavior 3", lnrf3.formatRange(4, 6), lnrf4.formatRange(4, … in testSanity()
720 String actual = lnrf.formatRange(first, second).toString(); in testPlurals()
865 FormattedNumberRange fnr = l.formatRange(first, second); in assertFormattedRangeEquals()
/third_party/node/deps/icu-small/source/i18n/
Dnumrange_impl.cpp183 formatRange(data, micros1, micros2, status); in format()
210 formatRange(data, micros1, micros2, status); in format()
245 formatRange(data, micros1, micros2, status); in formatSingleValue()
264 formatRange(data, micros1, micros2, status); in formatApproximately()
269 void NumberRangeFormatterImpl::formatRange(UFormattedNumberRangeData& data, in formatRange() function in NumberRangeFormatterImpl
Dnumrange_impl.h71 void formatRange(UFormattedNumberRangeData& data,
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumrange_impl.cpp163 formatRange(data, micros1, micros2, status); in format()
190 formatRange(data, micros1, micros2, status); in format()
225 formatRange(data, micros1, micros2, status); in formatSingleValue()
242 formatRange(data, micros1, micros2, status); in formatApproximately()
247 void NumberRangeFormatterImpl::formatRange(UFormattedNumberRangeData& data, in formatRange() function in NumberRangeFormatterImpl
Dnumrange_impl.h71 void formatRange(UFormattedNumberRangeData& data,
/third_party/icu/icu4c/source/i18n/
Dnumrange_impl.cpp183 formatRange(data, micros1, micros2, status); in format()
210 formatRange(data, micros1, micros2, status); in format()
245 formatRange(data, micros1, micros2, status); in formatSingleValue()
264 formatRange(data, micros1, micros2, status); in formatApproximately()
269 void NumberRangeFormatterImpl::formatRange(UFormattedNumberRangeData& data, in formatRange() function in NumberRangeFormatterImpl
Dnumrange_impl.h71 void formatRange(UFormattedNumberRangeData& data,
/third_party/typescript/lib/
Dlib.esnext.intl.d.ts27 formatRange(start: number | bigint, end: number | bigint): string; method
Dlib.es2021.intl.d.ts40 formatRange(startDate: Date | number | bigint, endDate: Date | number | bigint): string; method
/third_party/typescript/src/lib/
Desnext.intl.d.ts7 formatRange(start: number | bigint, end: number | bigint): string; method
Des2021.intl.d.ts20 formatRange(startDate: Date | number | bigint, endDate: Date | number | bigint): string; method
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/
DRangesTableSchema.java365 return r.asRanges().stream().map(RangesTableSchema::formatRange).collect(joining(",")); in formatLength()
368 private static String formatRange(Range<Integer> r) { in formatRange() method in RangesTableSchema
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_intl.js57 formatRange: function (startDate, endDate) { method
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRangesTest.java113 .formatRange(low, high); in TestFormatting()
DPluralRulesTest.java1731 FormattedNumberRange range = NumberRangeFormatter.withLocale(locale).formatRange(d1, d2);

12