GO-V.ORG
As seen in

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

12 results across 6 corpora for Intl.Locale.prototype.hourCycle.

Papers 6

Developer library 6

Intl.Locale

numbering systems. ## Constructor - Intl.Locale() - : Creates a new `Locale` object. ## Instance properties These properties are defined on `Intl.Locale.prototype` and shared by all `Intl.Locale` instances. - Intl.Locale.prototype.baseName - : Returns basic, core information about the `Locale` in the form of a substring of the complete data string. - Intl.Locale.prototype.calendar - : Returns the part of

Intl.Locale.prototype.hourCycle

f time keeping conventions (clocks) used around the world: the 12 hour clock and the 24 hour clock. For a list of supported hour cycle types, see [`Intl.Locale.prototype.getHourCycles()`](/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getHourCycles#supported_hour_cycle_types). The `hourCycle` property's value is set at construction time, either through the `hc` key of the locale identifier or through the

Intl.Locale() constructor

e/Global_Objects/Intl/Locale/hourCycle). Possible values are `"h23"`, `"h12"`, `"h11"`, or the practically unused `"h24"`, which are explained in [`Intl.Locale.prototype.getHourCycles`](/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getHourCycles#supported_hour_cycle_types) - `numeric` - : The [numeric sort option](/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/numeric). A boolean. ##

Intl.Locale.prototype.minimize()

()`** method of Intl.Locale instances attempts to remove information about this locale that would be added by calling maximize(). JavaScript Demo: Intl.Locale.prototype.minimize() ```js interactive-example const english = new Intl.Locale("en-Latn-US"); const korean = new Intl.Locale("ko-Kore-KR"); const arabic = new Intl.Locale("ar-Arab-EG"); console.log(english.minimize().baseName); // Expected output: "en" cons

Intl.Locale.prototype.maximize()

f Intl.Locale instances gets the most likely values for the language, script, and region of this locale based on existing values. JavaScript Demo: Intl.Locale.prototype.maximize() ```js interactive-example const english = new Intl.Locale("en"); const korean = new Intl.Locale("ko"); const arabic = new Intl.Locale("ar"); console.log(english.maximize().baseName); // Expected output: "en-Latn-US" console.log(korean.m

Intl.Locale.prototype.getHourCycles()

Locale("ja-JP"); console.log(jaJP.getHourCycles()); // ["h23"] ``` ## Specifications ## Browser compatibility ## See also - Intl.Locale - [`Intl.Locale.prototype.hourCycle`](/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/hourCycle) - [Unicode Hour Cycle Identifier](https://www.unicode.org/reports/tr35/#UnicodeHourCycleIdentifier) in the Unicode locale data markup language spec

JSON results · Services directory