Name Description Size
Collator.cpp Intl.Collator implementation. 14125
Collator.h Collator ******************* 3226
Collator.js Portions Copyright Norbert Lindenberg 2011-2012. 12642
CommonFunctions.cpp Operations used to implement multiple Intl.* classes. 3805
CommonFunctions.h Initialize a new Intl.* object using the named self-hosted function. 5038
CommonFunctions.js Portions Copyright Norbert Lindenberg 2011-2012. 28664
CurrencyDataGenerated.js Mapping from currency codes to the number of decimal digits used for them. Default is 2 digits. Spec: ISO 4217 Currency and Funds Code List. http://www.currency-iso.org/en/home/tables/table-a1.html 1951
DateTimeFormat.cpp Intl.DateTimeFormat implementation. 28697
DateTimeFormat.h Returns a new instance of the standard built-in DateTimeFormat constructor. Self-hosted code cannot cache this constructor (as it does for others in Utilities.js) because it is initialized after self-hosted code is compiled. Usage: dateTimeFormat = intl_DateTimeFormat(locales, options) 6689
DateTimeFormat.js Portions Copyright Norbert Lindenberg 2011-2012. 35941
IntlObject.cpp Implementation of the Intl object and its non-constructor properties. 25488
IntlObject.h Initializes the Intl Object and its standard built-in properties. Spec: ECMAScript Internationalization API Specification, 8.0, 8.1 5006
IntlObject.js 8.2.1 Intl.getCanonicalLocales ( locales ) ES2017 Intl draft rev 947aa9a0c853422824a0c9510d8f09be3eb416b9 7610
LanguageTag.cpp 54870
LanguageTag.h Structured representation of Unicode locale IDs used with Intl functions. 24342
LanguageTagGenerated.cpp 31674
ListFormat.cpp addProperty 14666
ListFormat.h Returns a string representing the array of string values |list| according to the effective locale and the formatting options of the given ListFormat. Usage: formatted = intl_FormatList(listFormat, list, formatToParts) 1979
ListFormat.js ListFormat internal properties. 7997
Locale.cpp Intl.Locale implementation. 40011
Locale.h Returns the complete language tag, including any extensions and privateuse subtags. 1774
make_intl_data.py Usage: make_intl_data.py langtags [cldr_core.zip] make_intl_data.py tzdata make_intl_data.py currency Target "langtags": This script extracts information about 1) mappings between deprecated and current Unicode BCP 47 locale identifiers, and 2) deprecated and current BCP 47 Unicode extension value from CLDR, and converts it to C++ mapping code in LanguageTagGenerated.cpp. The code is used in LanguageTag.cpp. Target "tzdata": This script computes which time zone informations are not up-to-date in ICU and provides the necessary mappings to workaround this problem. https://ssl.icu-project.org/trac/ticket/12044 Target "currency": Generates the mapping from currency codes to decimal digits used for them. 85932
NumberFormat.cpp Intl.NumberFormat implementation. 46864
NumberFormat.h Returns a new instance of the standard built-in NumberFormat constructor. Self-hosted code cannot cache this constructor (as it does for others in Utilities.js) because it is initialized after self-hosted code is compiled. Usage: numberFormat = intl_NumberFormat(locales, options) 9241
NumberFormat.js Portions Copyright Norbert Lindenberg 2011-2012. 29104
PluralRules.cpp Implementation of the Intl.PluralRules proposal. 11475
PluralRules.h Returns a plural rule for the number x according to the effective locale and the formatting options of the given PluralRules. A plural rule is a grammatical category that expresses count distinctions (such as "one", "two", "few" etc.). Usage: rule = intl_SelectPluralRule(pluralRules, x) 3373
PluralRules.js PluralRules internal properties. Spec: ECMAScript 402 API, PluralRules, 13.3.3. 9459
RelativeTimeFormat.cpp Implementation of the Intl.RelativeTimeFormat proposal. 12969
RelativeTimeFormat.h Returns a relative time as a string formatted according to the effective locale and the formatting options of the given RelativeTimeFormat. |t| should be a number representing a number to be formatted. |unit| should be "second", "minute", "hour", "day", "week", "month", "quarter", or "year". |numeric| should be "always" or "auto". Usage: formatted = intl_FormatRelativeTime(relativeTimeFormat, t, unit, numeric, formatToParts) 2355
RelativeTimeFormat.js RelativeTimeFormat internal properties. Spec: ECMAScript 402 API, RelativeTimeFormat, 1.3.3. 8425
ScopedICUObject.h A simple RAII class to assure ICU objects are automatically deallocated at scope end. Unfortunately, ICU's C++ API is uniformly unstable, so we can't use its smart pointers for this. 1155
SharedIntlData.cpp Runtime-wide Intl data shared across compartments. 20853
SharedIntlData.h Stores Intl data which can be shared across compartments (but not contexts). Used for data which is expensive when computed repeatedly or is not available through ICU. 11222
TimeZoneDataGenerated.h 5784