You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Intl.Collator constructor is the <dfn>%Collator%</dfn> intrinsic object and a standard built-in property of the Intl object. Behaviour common to all service constructor properties of the Intl object is specified in <emu-xrefhref="#sec-internal-slots"></emu-xref>.
7
+
The Intl.Collator constructor is the <dfn>%Intl.Collator%</dfn> intrinsic object and a standard built-in property of the Intl object. Behaviour common to all service constructor properties of the Intl object is specified in <emu-xrefhref="#sec-internal-slots"></emu-xref>.
<h1>Properties of the Intl.Collator Prototype Object</h1>
150
150
151
151
<p>
152
-
The Intl.Collator prototype object is itself an ordinary object. <dfn>%Collator.prototype%</dfn> is not an Intl.Collator instance and does not have an [[InitializedCollator]] internal slot or any of the other internal slots of Intl.Collator instance objects.
152
+
The Intl.Collator prototype object is itself an ordinary object. <dfn>%Intl.Collator.prototype%</dfn> is not an Intl.Collator instance and does not have an [[InitializedCollator]] internal slot or any of the other internal slots of Intl.Collator instance objects.
Copy file name to clipboardExpand all lines: spec/datetimeformat.html
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ <h1>DateTimeFormat Objects</h1>
5
5
<h1>The Intl.DateTimeFormat Constructor</h1>
6
6
7
7
<p>
8
-
The Intl.DateTimeFormat constructor is the <dfn>%DateTimeFormat%</dfn> intrinsic object and a standard built-in property of the Intl object. Behaviour common to all service constructor properties of the Intl object is specified in <emu-xrefhref="#sec-internal-slots"></emu-xref>.
8
+
The Intl.DateTimeFormat constructor is the <dfn>%Intl.DateTimeFormat%</dfn> intrinsic object and a standard built-in property of the Intl object. Behaviour common to all service constructor properties of the Intl object is specified in <emu-xrefhref="#sec-internal-slots"></emu-xref>.
9
9
</p>
10
10
11
11
<emu-clauseid="sec-intl.datetimeformat">
@@ -36,7 +36,7 @@ <h1>
36
36
<dlclass="header">
37
37
</dl>
38
38
<emu-alg>
39
-
1. If _newTarget_ is *undefined* and ? OrdinaryHasInstance(%DateTimeFormat%, _this_) is *true*, then
39
+
1. If _newTarget_ is *undefined* and ? OrdinaryHasInstance(%Intl.DateTimeFormat%, _this_) is *true*, then
1. Let _requestedLocales_ be ? CanonicalizeLocaleList(_locales_).
65
65
1. Set _options_ to ? CoerceOptionsToObject(_options_).
66
66
1. Let _opt_ be a new Record.
@@ -79,8 +79,8 @@ <h1>
79
79
1. If _hour12_ is not *undefined*, then
80
80
1. Set _hourCycle_ to *null*.
81
81
1. Set _opt_.[[hc]] to _hourCycle_.
82
-
1. Let _localeData_ be %DateTimeFormat%.[[LocaleData]].
83
-
1. Let _r_ be ResolveLocale(%DateTimeFormat%.[[AvailableLocales]], _requestedLocales_, _opt_, %DateTimeFormat%.[[RelevantExtensionKeys]], _localeData_).
82
+
1. Let _localeData_ be %Intl.DateTimeFormat%.[[LocaleData]].
83
+
1. Let _r_ be ResolveLocale(%Intl.DateTimeFormat%.[[AvailableLocales]], _requestedLocales_, _opt_, %Intl.DateTimeFormat%.[[RelevantExtensionKeys]], _localeData_).
84
84
1. Set _dateTimeFormat_.[[Locale]] to _r_.[[locale]].
85
85
1. Let _resolvedCalendar_ be _r_.[[ca]].
86
86
1. Set _dateTimeFormat_.[[Calendar]] to _resolvedCalendar_.
@@ -214,7 +214,7 @@ <h1>Properties of the Intl.DateTimeFormat Constructor</h1>
214
214
<h1>Intl.DateTimeFormat.prototype</h1>
215
215
216
216
<p>
217
-
The value of `Intl.DateTimeFormat.prototype` is %DateTimeFormat.prototype%.
217
+
The value of `Intl.DateTimeFormat.prototype` is %Intl.DateTimeFormat.prototype%.
218
218
</p>
219
219
<p>
220
220
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *false* }.
<h1>Properties of the Intl.DateTimeFormat Prototype Object</h1>
472
472
473
473
<p>
474
-
The Intl.DateTimeFormat prototype object is itself an ordinary object. <dfn>%DateTimeFormat.prototype%</dfn> is not an Intl.DateTimeFormat instance and does not have an [[InitializedDateTimeFormat]] internal slot or any of the other internal slots of Intl.DateTimeFormat instance objects.
474
+
The Intl.DateTimeFormat prototype object is itself an ordinary object. <dfn>%Intl.DateTimeFormat.prototype%</dfn> is not an Intl.DateTimeFormat instance and does not have an [[InitializedDateTimeFormat]] internal slot or any of the other internal slots of Intl.DateTimeFormat instance objects.
<h1>Properties of Intl.DateTimeFormat Instances</h1>
729
729
730
730
<p>
731
-
Intl.DateTimeFormat instances are ordinary objects that inherit properties from %DateTimeFormat.prototype%.
731
+
Intl.DateTimeFormat instances are ordinary objects that inherit properties from %Intl.DateTimeFormat.prototype%.
732
732
</p>
733
733
734
734
<p>
@@ -842,7 +842,7 @@ <h1>
842
842
</h1>
843
843
<dlclass="header">
844
844
<dt>description</dt>
845
-
<dd>_styles_ is a record from %DateTimeFormat%.[[LocaleData]].[[<_locale_>]].[[styles]].[[<_calendar_>]] for some locale _locale_ and calendar _calendar_. It returns the appropriate format record for date time formatting based on the parameters.</dd>
845
+
<dd>_styles_ is a record from %Intl.DateTimeFormat%.[[LocaleData]].[[<_locale_>]].[[styles]].[[<_calendar_>]] for some locale _locale_ and calendar _calendar_. It returns the appropriate format record for date time formatting based on the parameters.</dd>
846
846
</dl>
847
847
<emu-alg>
848
848
1.Assert:_dateStyle_ is not *undefined* or _timeStyle_ is not *undefined*.
@@ -995,17 +995,17 @@ <h1>
995
995
1. Let _locale_ be _dateTimeFormat_.[[Locale]].
996
996
1. Let _nfOptions_ be OrdinaryObjectCreate(*null*).
1. Let _nf3_ be ! Construct(%NumberFormat%, «_locale_, _nf3Options_»).
1008
+
1. Let _nf3_ be ! Construct(%Intl.NumberFormat%, «_locale_, _nf3Options_»).
1009
1009
1. Let _tm_ be ToLocalTime(ℤ(ℝ(_x_) × 10<sup>6</sup>), _dateTimeFormat_.[[Calendar]], _dateTimeFormat_.[[TimeZone]]).
1010
1010
1. Let _result_ be a new empty List.
1011
1011
1. For each Record { [[Type]], [[Value]] } _patternPart_ of _patternParts_, do
@@ -1373,12 +1373,12 @@ <h1>
1373
1373
<dlclass="header">
1374
1374
<dt>description</dt>
1375
1375
<dd>
1376
-
It returns the DateTimeFormat instance of its input object, which is either the value itself or a value associated with it by %DateTimeFormat% according to the normative optional constructor mode of <emu-xrefhref="#legacy-constructor"></emu-xref>.
1376
+
It returns the DateTimeFormat instance of its input object, which is either the value itself or a value associated with it by %Intl.DateTimeFormat% according to the normative optional constructor mode of <emu-xrefhref="#legacy-constructor"></emu-xref>.
1377
1377
</dd>
1378
1378
</dl>
1379
1379
<emu-alg>
1380
1380
1. If Type(_dtf_) is not Object, throw a *TypeError* exception.
1381
-
1. If _dtf_ does not have an [[InitializedDateTimeFormat]] internal slot and ? OrdinaryHasInstance(%DateTimeFormat%, _dtf_) is *true*, then
1381
+
1. If _dtf_ does not have an [[InitializedDateTimeFormat]] internal slot and ? OrdinaryHasInstance(%Intl.DateTimeFormat%, _dtf_) is *true*, then
0 commit comments