Structs§
- Collator
- The
Intl.Collatorobject is a constructor for collators, objects that enable language sensitive string comparison. - Collator
Options - Options for
Intl.CollatorandString.prototype.localeCompare. - Date
Time Format - The
Intl.DateTimeFormatobject is a constructor for objects that enable language-sensitive date and time formatting. - Date
Time Format Options - Options for
Intl.DateTimeFormatconstructor. - Date
Time Format Part - A part of the formatted date returned by
formatToParts(). - Date
Time Range Format Part - A part of the formatted date range returned by
formatRangeToParts(). - Display
Names - The
Intl.DisplayNamesobject enables the consistent translation of language, region, and script display names. - Display
Names Options - Options for
Intl.DisplayNamesconstructor. - Duration
- A duration object used as input to
Intl.DurationFormat.format(). - Duration
Format - The
Intl.DurationFormatobject enables language-sensitive duration formatting. - Duration
Format Options - Options for
Intl.DurationFormatconstructor. - Duration
Format Part - A part of the formatted duration returned by
formatToParts(). - List
Format - The
Intl.ListFormatobject enables language-sensitive list formatting. - List
Format Options - Options for
Intl.ListFormatconstructor. - List
Format Part - A part of the formatted list returned by
formatToParts(). - Locale
- The
Intl.Localeobject is a standard built-in property of the Intl object that represents a Unicode locale identifier. - Locale
Matcher Options - Options for
supportedLocalesOfmethods. - Number
Format - The
Intl.NumberFormatobject is a constructor for objects that enable language sensitive number formatting. - Number
Format Options - Options for
Intl.NumberFormatconstructor. - Number
Format Part - A part of the formatted number returned by
formatToParts(). - Number
Range Format Part - A part of the formatted number range returned by
formatRangeToParts(). - Plural
Rules - The
Intl.PluralRulesobject is a constructor for objects that enable plural sensitive formatting and plural language rules. - Plural
Rules Options - Options for
Intl.PluralRulesconstructor. - Relative
Time Format - The
Intl.RelativeTimeFormatobject is a constructor for objects that enable language-sensitive relative time formatting. - Relative
Time Format Options - Options for
Intl.RelativeTimeFormatconstructor. - Relative
Time Format Part - A part of the formatted relative time returned by
formatToParts(). - Resolved
Collator Options - Resolved
Date Time Format Options - Resolved options returned by
Intl.DateTimeFormat.prototype.resolvedOptions(). - Resolved
Display Names Options - Resolved options returned by
Intl.DisplayNames.prototype.resolvedOptions(). - Resolved
Duration Format Options - Resolved options returned by
Intl.DurationFormat.prototype.resolvedOptions(). - Resolved
List Format Options - Resolved options returned by
Intl.ListFormat.prototype.resolvedOptions(). - Resolved
Number Format Options - Resolved options returned by
Intl.NumberFormat.prototype.resolvedOptions(). - Resolved
Plural Rules Options - Resolved options returned by
Intl.PluralRules.prototype.resolvedOptions(). - Resolved
Relative Time Format Options - Resolved options returned by
Intl.RelativeTimeFormat.prototype.resolvedOptions(). - Resolved
Segmenter Options - Resolved options returned by
Intl.Segmenter.prototype.resolvedOptions(). - Segment
Data - Data about a segment returned by the Segments iterator.
- Segmenter
- The
Intl.Segmenterobject enables locale-sensitive text segmentation. - Segmenter
Options - Options for
Intl.Segmenterconstructor. - Segments
- The Segments object is an iterable collection of segments of a string.
- Text
Info - Text layout information for a locale.
- Week
Info - Week information for a locale.
Enums§
- Collator
Case First - Case first option for
Intl.Collator. - Collator
Sensitivity - Sensitivity for
Intl.Collator. - Collator
Usage - Usage for
Intl.Collator. - Compact
Display - Compact display for
Intl.NumberFormat. - Currency
Display - Currency display for
Intl.NumberFormat. - Currency
Sign - Currency sign for
Intl.NumberFormat. - Date
Time Format Part Type - Part type for
DateTimeFormat.formatToParts(). - Date
Time Style - Date/time style for
Intl.DateTimeFormat. - DayFormat
- Day format for
Intl.DateTimeFormat. - DayPeriod
Format - Day period format for
Intl.DateTimeFormat. - Display
Names Fallback - Fallback for
Intl.DisplayNames. - Display
Names Language Display - Language display for
Intl.DisplayNames. - Display
Names Style - Style for
Intl.DisplayNames. - Display
Names Type - Type for
Intl.DisplayNames. - Duration
Format Part Type - The type of a duration format part.
- Duration
Format Style - The style for duration formatting.
- Duration
Time Unit Style - The display style for time duration units (hours, minutes, seconds).
- Duration
Unit Display - The display option for duration units.
- Duration
Unit Style - The display style for individual duration units.
- EraFormat
- Era format for
Intl.DateTimeFormat. - Hour
Cycle - Hour cycle for
Intl.DateTimeFormat. - List
Format Part Type - Part type for
Intl.ListFormat.formatToParts(). - List
Format Style - Style for
Intl.ListFormat. - List
Format Type - Type for
Intl.ListFormat. - Locale
Matcher - Locale matching algorithm for Intl constructors.
- Month
Format - Month format for
Intl.DateTimeFormat. - Number
Format Notation - Notation for
Intl.NumberFormat. - Number
Format Part Type - Part type for
NumberFormat.formatToParts(). - Number
Format Style - Style for
Intl.NumberFormat. - Numeric
Format - Hour/minute/second format for
Intl.DateTimeFormat. - Plural
Category - Plural category returned by
PluralRules.select(). - Plural
Rules Type - Type for
Intl.PluralRules(cardinal or ordinal). - Range
Source - Source indicator for range format parts.
- Relative
Time Format Numeric - Numeric option for
Intl.RelativeTimeFormat. - Relative
Time Format Part Type - Part type for
RelativeTimeFormat.formatToParts(). - Relative
Time Format Style - Style for
Intl.RelativeTimeFormat. - Relative
Time Format Unit - Unit for
RelativeTimeFormat.format(). - Rounding
Mode - Rounding mode for
Intl.NumberFormat. - Rounding
Priority - Rounding priority for
Intl.NumberFormat. - Segmenter
Granularity - Type for
Intl.Segmenter. - Sign
Display - Sign display for
Intl.NumberFormat. - Supported
Values Key - Key for
Intl.supportedValuesOf(). - Time
Zone Name Format - Time zone name format for
Intl.DateTimeFormat. - Trailing
Zero Display - Trailing zero display for
Intl.NumberFormat. - Unit
Display - Unit display for
Intl.NumberFormat. - UseGrouping
- Use grouping option for
Intl.NumberFormat. - Weekday
Format - Weekday format for
Intl.DateTimeFormat. - Year
Format - Year format for
Intl.DateTimeFormat.
Functions§
- get_
canonical_ locales - The
Intl.getCanonicalLocales()method returns an array containing the canonical locale names. Duplicates will be omitted and elements will be validated as structurally valid language tags. - supported_
values_ of - The
Intl.supportedValuesOf()method returns an array containing the supported calendar, collation, currency, numbering system, or unit values supported by the implementation.