Home
last modified time | relevance | path

Searched refs:Intl (Results 1 – 25 of 75) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
DnumberFormatCurrencySign.types2 const str = new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'acc…
4 >new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accounting' })…
5 >new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accounting' })…
6 >new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accounting' })…
7Intl.NumberFormat : { (locales?: string | string[], options?: Intl.NumberFormatOptions): Intl.Numb…
8 >Intl : typeof Intl
9Intl.NumberFormatOptions): Intl.NumberFormat; new (locales?: string | string[], options?: Intl.Num…
DdoYouNeedToChangeYourTargetLibraryES2016Plus.types53 const testIntlFormatToParts = new Intl.DateTimeFormat("en-US").formatToParts();
55 >new Intl.DateTimeFormat("en-US").formatToParts() : any
56 >new Intl.DateTimeFormat("en-US").formatToParts : any
57 >new Intl.DateTimeFormat("en-US") : Intl.DateTimeFormat
58Intl.DateTimeFormat : { (locales?: string | string[], options?: Intl.DateTimeFormatOptions): Intl.…
59 >Intl : typeof Intl
60Intl.DateTimeFormatOptions): Intl.DateTimeFormat; new (locales?: string | string[], options?: Intl
118 const testIntlPluralRules = new Intl.PluralRules("ar-EG").select(0);
120 >new Intl.PluralRules("ar-EG").select(0) : any
121 >new Intl.PluralRules("ar-EG").select : any
[all …]
DbigintWithoutLib.types372 // Test Intl methods with new parameter type
373 new Intl.NumberFormat("fr").format(3000n);
374 >new Intl.NumberFormat("fr").format(3000n) : string
375 >new Intl.NumberFormat("fr").format : (value: number) => string
376 >new Intl.NumberFormat("fr") : Intl.NumberFormat
377Intl.NumberFormat : { (locales?: string | string[], options?: Intl.NumberFormatOptions): Intl.Numb…
378 >Intl : typeof Intl
379Intl.NumberFormatOptions): Intl.NumberFormat; new (locales?: string | string[], options?: Intl.Num…
384 new Intl.NumberFormat("fr").format(bigintVal);
385 >new Intl.NumberFormat("fr").format(bigintVal) : string
[all …]
DnumberFormatCurrencySign.symbols2 const str = new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'acc…
4 >new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accounting' })…
5 >Intl.NumberFormat : Symbol(Intl.NumberFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, -…
6 >Intl : Symbol(Intl, Decl(lib.es5.d.ts, --, --))
7 >NumberFormat : Symbol(Intl.NumberFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
11 >format : Symbol(Intl.NumberFormat.format, Decl(lib.es5.d.ts, --, --))
DbigintWithLib.types388 // Test Intl methods with new parameter type
389 new Intl.NumberFormat("fr").format(3000n);
390 >new Intl.NumberFormat("fr").format(3000n) : string
391 >new Intl.NumberFormat("fr").format : { (value: number): string; (value: number | bigint): string; }
392 >new Intl.NumberFormat("fr") : Intl.NumberFormat
393Intl.NumberFormat : { (locales?: string | string[], options?: Intl.NumberFormatOptions): Intl.Numb…
394 >Intl : typeof Intl
395Intl.NumberFormatOptions): Intl.NumberFormat; new (locales?: string | string[], options?: Intl.Num…
400 new Intl.NumberFormat("fr").format(bigintVal);
401 >new Intl.NumberFormat("fr").format(bigintVal) : string
[all …]
DdoYouNeedToChangeYourTargetLibraryES2016Plus.symbols25 const testIntlFormatToParts = new Intl.DateTimeFormat("en-US").formatToParts();
27 >Intl.DateTimeFormat : Symbol(Intl.DateTimeFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, -…
28 >Intl : Symbol(Intl, Decl(lib.es5.d.ts, --, --))
29 >DateTimeFormat : Symbol(Intl.DateTimeFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --…
56 const testIntlPluralRules = new Intl.PluralRules("ar-EG").select(0);
58 >Intl : Symbol(Intl, Decl(lib.es5.d.ts, --, --))
122 const testNumberFormatFormatToParts = new Intl.NumberFormat("en-US").formatToParts();
124 >Intl.NumberFormat : Symbol(Intl.NumberFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, -…
125 >Intl : Symbol(Intl, Decl(lib.es5.d.ts, --, --))
126 >NumberFormat : Symbol(Intl.NumberFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
DbigintWithoutLib.symbols176 // Test Intl methods with new parameter type
177 new Intl.NumberFormat("fr").format(3000n);
178 >new Intl.NumberFormat("fr").format : Symbol(Intl.NumberFormat.format, Decl(lib.es5.d.ts, --, --))
179 >Intl.NumberFormat : Symbol(Intl.NumberFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, -…
180 >Intl : Symbol(Intl, Decl(lib.es5.d.ts, --, --))
181 >NumberFormat : Symbol(Intl.NumberFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
182 >format : Symbol(Intl.NumberFormat.format, Decl(lib.es5.d.ts, --, --))
184 new Intl.NumberFormat("fr").format(bigintVal);
185 >new Intl.NumberFormat("fr").format : Symbol(Intl.NumberFormat.format, Decl(lib.es5.d.ts, --, --))
186 >Intl.NumberFormat : Symbol(Intl.NumberFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, -…
[all …]
DdoYouNeedToChangeYourTargetLibraryES2016Plus.js11 const testIntlFormatToParts = new Intl.DateTimeFormat("en-US").formatToParts();
20 const testIntlPluralRules = new Intl.PluralRules("ar-EG").select(0);
45 const testNumberFormatFormatToParts = new Intl.NumberFormat("en-US").formatToParts();
56 var testIntlFormatToParts = new Intl.DateTimeFormat("en-US").formatToParts();
64 var testIntlPluralRules = new Intl.PluralRules("ar-EG").select(0);
86 var testNumberFormatFormatToParts = new Intl.NumberFormat("en-US").formatToParts();
DbigintWithLib.symbols241 // Test Intl methods with new parameter type
242 new Intl.NumberFormat("fr").format(3000n);
243 >new Intl.NumberFormat("fr").format : Symbol(Intl.NumberFormat.format, Decl(lib.es5.d.ts, --, --), …
244 >Intl.NumberFormat : Symbol(Intl.NumberFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, -…
245 >Intl : Symbol(Intl, Decl(lib.es5.d.ts, --, --), Decl(lib.es2017.intl.d.ts, --, --), Decl(lib.es201…
246 >NumberFormat : Symbol(Intl.NumberFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), D…
247 >format : Symbol(Intl.NumberFormat.format, Decl(lib.es5.d.ts, --, --), Decl(lib.es2020.bigint.d.ts,…
249 new Intl.NumberFormat("fr").format(bigintVal);
250 >new Intl.NumberFormat("fr").format : Symbol(Intl.NumberFormat.format, Decl(lib.es5.d.ts, --, --), …
251 >Intl.NumberFormat : Symbol(Intl.NumberFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, -…
[all …]
DbigintWithoutLib.js56 new Intl.NumberFormat("fr").format(3000n);
57 new Intl.NumberFormat("fr").format(bigintVal);
110 new Intl.NumberFormat("fr").format(3000n);
111 new Intl.NumberFormat("fr").format(bigintVal);
DnumberFormatCurrencySign.js2 const str = new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'acc…
6 var str = new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accou…
DbigintWithLib.js60 new Intl.NumberFormat("fr").format(3000n);
61 new Intl.NumberFormat("fr").format(bigintVal);
118 new Intl.NumberFormat("fr").format(3000n);
119 new Intl.NumberFormat("fr").format(bigintVal);
Dlibrary_DatePrototypeProperties.types37 >Date.prototype.toLocaleString : { (): string; (locales?: string | string[], options?: Intl.DateTim…
41 >toLocaleString : { (): string; (locales?: string | string[], options?: Intl.DateTimeFormatOptions)…
45 >Date.prototype.toLocaleDateString : { (): string; (locales?: string | string[], options?: Intl.Dat…
49 >toLocaleDateString : { (): string; (locales?: string | string[], options?: Intl.DateTimeFormatOpti…
53 >Date.prototype.toLocaleTimeString : { (): string; (locales?: string | string[], options?: Intl.Dat…
57 >toLocaleTimeString : { (): string; (locales?: string | string[], options?: Intl.DateTimeFormatOpti…
DforOfTransformsExpression.types26 …t: string): number; (that: string, locales?: string | string[], options?: Intl.CollatorOptions): n…
30 …t: string): number; (that: string, locales?: string | string[], options?: Intl.CollatorOptions): n…
/third_party/node/lib/internal/
Dfreeze_intrinsics.js120 Intl,
332 if (typeof Intl !== 'undefined') {
334 Intl.Collator.prototype,
335 Intl.DateTimeFormat.prototype,
336 Intl.ListFormat.prototype,
337 Intl.NumberFormat.prototype,
338 Intl.PluralRules.prototype,
339 Intl.RelativeTimeFormat.prototype,
341 ArrayPrototypePush(intrinsics, Intl);
/third_party/node/test/parallel/
Dtest-intl.js69 const dtf = new Intl.DateTimeFormat(['en'], {
104 const numberFormat = new Intl.NumberFormat(['en']).format(12345.67890);
115 const numberFormat = new Intl.NumberFormat('en-US', { style: 'percent' });
125 const numberFormat = new Intl.NumberFormat(loc, opts).format(num);
130 const coll = new Intl.Collator(['en'], collOpts);
/third_party/node/doc/api/
Dintl.md16 * [`Intl`][] object
50 | [`Intl`][] | none (object does not exist) | partial/full (depen…
81 addition, such as [`Intl.DateTimeFormat`][] *may* be fully or partially
94 such as [`Intl.DateTimeFormat`][], generally only work with the English locale:
98 const english = new Intl.DateTimeFormat('en', { month: 'long' });
99 const spanish = new Intl.DateTimeFormat('es', { month: 'long' });
143 enable full `Intl` support.
156 `full-icu`), simply checking the existence of `Intl` should suffice:
159 const hasICU = typeof Intl === 'object';
170 `system-icu`), [`Intl.DateTimeFormat`][] can be a good distinguishing factor:
[all …]
/third_party/typescript/tests/cases/compiler/
DdoYouNeedToChangeYourTargetLibraryES2016Plus.ts12 const testIntlFormatToParts = new Intl.DateTimeFormat("en-US").formatToParts();
21 const testIntlPluralRules = new Intl.PluralRules("ar-EG").select(0);
46 const testNumberFormatFormatToParts = new Intl.NumberFormat("en-US").formatToParts();
DbigintWithoutLib.ts57 new Intl.NumberFormat("fr").format(3000n);
58 new Intl.NumberFormat("fr").format(bigintVal);
DbigintWithLib.ts62 new Intl.NumberFormat("fr").format(3000n);
63 new Intl.NumberFormat("fr").format(bigintVal);
DnumberFormatCurrencySign.ts1 const str = new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'acc…
/third_party/flutter/flutter/examples/stocks/lib/
Dstock_strings.dart32 return Intl.message(
40 String market() => Intl.message(
47 String portfolio() => Intl.message(
/third_party/flutter/flutter/packages/flutter_localizations/lib/src/
Dmaterial_localizations.dart76 /// 1. The string that would be returned by [Intl.canonicalizedLocale] for
266 /// * [Intl.plural], to which this form is passed.
281 /// * [Intl.plural], to which this form is passed.
296 /// * [Intl.plural], to which this form is passed.
311 /// * [Intl.plural], to which this form is passed.
326 /// * [Intl.plural], to which this form is passed.
341 /// * [Intl.plural], to which this form is passed.
352 return intl.Intl.pluralLogic(
398 /// * [Intl.plural], to which this form is passed.
429 /// * [Intl.plural], to which this form is passed.
[all …]
/third_party/flutter/flutter/examples/stocks/lib/i18n/
Dstock_messages_all.dart34 var availableLocale = Intl.verifiedLocale(
57 var actualLocale = Intl.verifiedLocale(locale, _messagesExistFor,
Dregenerate.md16 each `Intl.message()` function defined in `stock_strings.dart`. This
33 and `Intl.message()` to look them up.

123