JavaScript Intl Complete Reference Last Updated : 18 Apr, 2025 Summarize Comments Improve Suggest changes Share Like Article Like Report Intl in JavaScript is an object that is used for the ECMAScript Internationalization API namespace.Intl.function()Example 1: The followingIntlDateTimeFormat. prototype. resolvedOptions. The following examples illustrate the IntlDateTimeFormat prototype's () method in JavaScript: JavaScript const geeks = new Intl.DateTimeFormat('zh-CN', { timeZone: 'UTC' }); const result = geeks.resolvedOptions(); console.log(result.locale); console.log(result.calendar); console.log(result.timeZone); const geeks1 = new Intl.DateTimeFormat('LT'); const result1 = geeks1.resolvedOptions(); console.log(result1.locale); console.log(result1.calendar); Output:zh-CN gregory UTC lt gregoryJavaScript Intl Methods: The complete list of JavaScript Intl methods are listed below:Method Description resolvedOptions()The locale and collation options are computed during the initialization of this Collator object.supportedLocalesOf()It can be collated without resorting to the runtime's default locale.getCanonicalLocales()Returns an array containing the canonical locale names.format()Returns a string with a language-specific representation of the list.resolvedOptions()The location and style formatting choices were made when the current IntlListFormat object was built.formatToParts()Format a list of values in a locale-aware fashion.supportedLocalesOf()The provided locales are supported in list formatting.supportedLocalesOf()The provided locales are supported in date and time formatting.resolvedOptions() The locale, date, and time formatting options are computed during the initialization of this DateTimeFormat object.formatRangeToParts()The formatted date range is produced by DateTimeFormat formatters.format()The locale and formatting options of this IntlDateTimeFormat object.formatRange()The locale and options provided when instantiating IntlDateTimeFormat object.formatToParts()Allows locale-aware formatting of strings produced by DateTimeFormat formatters. Comment More infoAdvertise with us Next Article Java Cheat Sheet K kartik Follow Improve Article Tags : JavaScript Web Technologies JavaScript-Methods JavaScript-Intl Similar Reads JavaScript Intl ListFormat() Constructor JavaScript Intl.ListFormat() Constructor is used for creating Intl.ListFormat object. This constructor is created using the new keyword. If we create the constructor without the new keyword it will give a TypeError. Syntax: new Intl.ListFormat(loc, opt) Parameters: It has two parameters both are opt 2 min read Java Cheat Sheet Java is a programming language and platform that has been widely used since its development by James Gosling in 1991. It follows the Object-oriented Programming concept and can run programs written on any OS platform. Java is a high-level, object-oriented, secure, robust, platform-independent, multi 15+ min read Java Quiz | Level Up Your Java Skills The best way to scale up your coding skills is by practicing the exercise. And if you are a Java programmer looking to test your Java skills and knowledge? Then, this Java quiz is designed to challenge your understanding of Java programming concepts and assess your excellence in the language. In thi 1 min read Fork Java | Course Structure Course Home Page Week Topic Sub-Topic Week 1 Basics Of Java, Control Structures Background (JVM, JDK and JRE), Syntax, Variables, Data Types, I/O, Operators, Java packages If, If-else, Switch case, Loops(For, While, Do while), continue, break, jump and type conversion. Week 2 Arrays, Bitwise and log 1 min read Java 8 | IntSupplier Interface with Examples The IntSupplier Interface is a part of the java.util.function package which has been introduced since Java 8, to implement functional programming in Java. It represents a function which does not take any argument but produces an int value. The lambda expression assigned to an object of IntSupplier t 1 min read Package getImplementationVendor() method in Java with Examples The getImplementationVendor() method of java.lang.Package class is used to get the vendor of the implementation of this package. The method returns the implementation vendor of the package as a String. Syntax: public String getImplementationVendor() Parameter: This method does not accept any paramet 2 min read Like