Glossary Term
Intl.DateTimeFormat.prototype.resolvedOptions()
The resolvedOptions() method of Intl.DateTimeFormat instances returns a new object with properties reflecting the options computed during initialization of this DateTimeFormat object.
Return value: A new object with properties reflecting the options computed during the initialization of this DateTimeFormat object. The object has the following properties, in the order they are listed:
Return value: locale The BCP 47 language tag for the locale actually used, determined by the locale negotiation process. Only the ca, hc, and nu Unicode extension keys, if requested, may be included in the output. calendar The value provided for this property in the options argument, or using the Unicode extension key “ca”, with default filled in as needed. It is a supported calendar type for this locale. The default is locale dependent. numberingSystem The value provided for this property in the options argument, or using the Unicode extension key “nu”, with default filled in as needed. It is a supported numbering system for this locale. The default is locale dependent. timeZone The value provided for this property in the options argument, with default filled in as needed. It is an IANA time zone name. The default is the runtime’s default time zone.
Syntax example: resolvedOptions()
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
