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
Copy file name to clipboardExpand all lines: index.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4492,7 +4492,7 @@ <h1><span class="secnum">4.1.8</span> Calendar Date Records</h1>
4492
4492
Calendar Date Records are produced by the abstract operation <emu-xref aoid="CalendarISOToDate"><a href="https://tc39.es/proposal-temporal/#sec-temporal-calendarisotodate">CalendarISOToDate</a></emu-xref>.
4493
4493
</p>
4494
4494
<p>Calendar Date Records have the fields listed in <emu-xref href="#table-temporal-calendar-date-record-fields" id="_ref_9"><a href="#table-temporal-calendar-date-record-fields">Table 5</a></emu-xref>.</p>
4495
-
<p>This definition supersedes the one in <emu-xref href="#sec-temporal-calendar-date-records"><a href="https://tc39.es/proposal-temporal/#sec-temporal-calendar-date-records">Calendar Date Records</a></emu-xref>.</p>
4495
+
<p>This definition supersedes the one in <emu-xref href="#sec-temporal-calendar-date-records"><a href="https://tc39.es/proposal-temporal/#sec-temporal-calendar-date-records">Temporal, 12.2.1</a></emu-xref>.</p>
4496
4496
<emu-table id="table-temporal-calendar-date-record-fields" caption="Calendar Date Record Fields"><figure><figcaption>Table 5: <emu-xref href="#sup-temporal-calendar-date-records" id="_ref_20"><a href="#sup-temporal-calendar-date-records">Calendar Date Record</a></emu-xref> Fields</figcaption>
<p>The <emu-xref href="#implementation-defined"><a href="https://tc39.es/ecma262/#implementation-defined">implementation-defined</a></emu-xref> abstract operation CalendarExtraFields takes arguments <var>calendar</var> (a <emu-xref href="#sec-ecma402-calendar-types" id="_ref_32"><a href="#sec-ecma402-calendar-types">calendar type</a></emu-xref>) and <var>fields</var> (a <emu-xref href="#sec-list-and-record-specification-type"><a href="https://tc39.es/ecma262/#sec-list-and-record-specification-type">List</a></emu-xref> of values from the Enumeration Key column of <emu-xref href="#table-temporal-calendar-fields-record-fields"><a href="https://tc39.es/proposal-temporal/#table-temporal-calendar-fields-record-fields">Table 19</a></emu-xref>) and returns a <emu-xref href="#sec-list-and-record-specification-type"><a href="https://tc39.es/ecma262/#sec-list-and-record-specification-type">List</a></emu-xref> of values from the Enumeration Key column of <emu-xref href="#table-temporal-calendar-fields-record-fields"><a href="https://tc39.es/proposal-temporal/#table-temporal-calendar-fields-record-fields">Table 19</a></emu-xref>. It characterizes calendar-specific fields that are relevant for the provided <var>fields</var> in the built-in calendar identified by <var>calendar</var>.</p>
4662
-
<p>This definition supersedes the definition provided in <emu-xref aoid="TemporalCalendarExtraFields"><a href="https://tc39.es/proposal-temporal/#sec-temporal-calendarextrafields">TemporalCalendarExtraFields</a></emu-xref>.</p>
4662
+
<p>This definition supersedes the definition provided in <emu-xref href="#sec-temporal-calendarextrafields"><a href="https://tc39.es/proposal-temporal/#sec-temporal-calendarextrafields">Temporal, 12.2.22</a></emu-xref>.</p>
4663
4663
<emu-alg><ol><li>If <var>fields</var> contains an element equal to <emu-const>year</emu-const> and <emu-xref aoid="CalendarSupportsEra" id="_ref_33"><a href="#sec-temporal-calendarsupportsera">CalendarSupportsEra</a></emu-xref>(<var>calendar</var>) is <emu-val>true</emu-val>, then<ol><li>Append <emu-const>era</emu-const> and <emu-const>era-year</emu-const> to <var>fields</var>.</li></ol></li><li>Return <var>fields</var>.</li></ol></emu-alg>
It determines which calendar date fields changing any of the fields named in <var>keys</var> can potentially conflict with or invalidate, for the given <var>calendar</var>.
4670
4670
A field always invalidates at least itself.
4671
4671
</p>
4672
-
<p>This definition supersedes the definition provided in <emu-xref aoid="TemporalCalendarFieldKeysToIgnore"><a href="https://tc39.es/proposal-temporal/#sec-temporal-calendarfieldkeystoignore">TemporalCalendarFieldKeysToIgnore</a></emu-xref>.</p>
4672
+
<p>This definition supersedes the definition provided in <emu-xref href="#sec-temporal-calendarfieldkeystoignore"><a href="https://tc39.es/proposal-temporal/#sec-temporal-calendarfieldkeystoignore">Temporal, 12.2.23</a></emu-xref>.</p>
4673
4673
<emu-alg><ol><li>Let <var>ignoredKeys</var> be an empty <emu-xref href="#sec-list-and-record-specification-type"><a href="https://tc39.es/ecma262/#sec-list-and-record-specification-type">List</a></emu-xref>.</li><li>For each element <var>key</var> of <var>keys</var>, do<ol><li>If <var>key</var> is <emu-const>month</emu-const>, append <emu-const>month-code</emu-const> to <var>ignoredKeys</var>.</li><li>Else if <var>key</var> is <emu-const>month-code</emu-const>, append <emu-const>month</emu-const> to <var>ignoredKeys</var>.</li><li>If <var>key</var> is one of <emu-const>era</emu-const>, <emu-const>era-year</emu-const>, or <emu-const>year</emu-const> and <emu-xref aoid="CalendarSupportsEra" id="_ref_35"><a href="#sec-temporal-calendarsupportsera">CalendarSupportsEra</a></emu-xref>(<var>calendar</var>) is <emu-val>true</emu-val>, then<ol><li>Append <emu-const>era</emu-const>, <emu-const>era-year</emu-const>, and <emu-const>year</emu-const> to <var>ignoredKeys</var>.</li></ol></li><li>Else,<ol><li>Append <var>key</var> to <var>ignoredKeys</var>.</li></ol></li></ol></li><li>NOTE: While <var>ignoredKeys</var> can have duplicate elements, this is not intended to be meaningful. This specification only checks whether particular keys are or are not members of the list.</li><li>Return <var>ignoredKeys</var>.</li></ol></emu-alg>
0 commit comments