Name Description Size
Collator.cpp Intl.Collator implementation. 15630
Collator.h Collator ******************* 3560
Collator.js Portions Copyright Norbert Lindenberg 2011-2012. 13040
CommonFunctions.cpp Operations used to implement multiple Intl.* classes. 4514
CommonFunctions.h Initialize a new Intl.* object using the named self-hosted function. 4888
CommonFunctions.js Portions Copyright Norbert Lindenberg 2011-2012. 60518
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. 29439
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) 7052
DateTimeFormat.js Portions Copyright Norbert Lindenberg 2011-2012. 35105
ICUStubs.h Pervasive note: ICU functions taking a UErrorCode in/out parameter always test that parameter before doing anything, and will return immediately if the value indicates that a failure occurred in a prior ICU call, without doing anything else. See http://userguide.icu-project.org/design#TOC-Error-Handling 20345
IntlObject.cpp Implementation of the Intl object and its non-constructor properties. 18386
IntlObject.h Initializes the Intl Object and its standard built-in properties. Spec: ECMAScript Internationalization API Specification, 8.0, 8.1 3601
IntlObject.js 8.2.1 Intl.getCanonicalLocales ( locales ) ES2017 Intl draft rev 947aa9a0c853422824a0c9510d8f09be3eb416b9 7737
LangTagMappingsGenerated.js eslint-disable complexity 11281
make_intl_data.py Usage: make_intl_data.py langtags [language-subtag-registry.txt] make_intl_data.py tzdata make_intl_data.py currency Target "langtags": This script extracts information about mappings between deprecated and current BCP 47 language tags from the IANA Language Subtag Registry and converts it to JavaScript object definitions in LangTagMappingsGenerated.js. The definitions are used in Intl.js. The IANA Language Subtag Registry is imported from https://www.iana.org/assignments/language-subtag-registry and uses the syntax specified in https://tools.ietf.org/html/rfc5646#section-3 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. 58763
NumberFormat.cpp Intl.NumberFormat implementation. 28856
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) 3146
NumberFormat.js Portions Copyright Norbert Lindenberg 2011-2012. 18922
PluralRules.cpp Implementation of the Intl.PluralRules proposal. 13039
PluralRules.h Returns an object indicating the supported locales for plural rules by having a true-valued property for each such locale with the canonicalized language tag as the property name. The object has no prototype. Usage: availableLocales = intl_PluralRules_availableLocales() 2844
PluralRules.js PluralRules internal properties. Spec: ECMAScript 402 API, PluralRules, 13.3.3. 9257
RelativeTimeFormat.cpp Implementation of the Intl.RelativeTimeFormat proposal. 10875
RelativeTimeFormat.h Returns an object indicating the supported locales for relative time format by having a true-valued property for each such locale with the canonicalized language tag as the property name. The object has no prototype. Usage: availableLocales = intl_RelativeTimeFormat_availableLocales() 2399
RelativeTimeFormat.js RelativeTimeFormat internal properties. Spec: ECMAScript 402 API, RelativeTimeFormat, 1.3.3. 8581
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. 12944
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. 7817
TimeZoneDataGenerated.h 5784