Skip to content

Commit b908c41

Browse files
committed
Delete CalendarDateEraYear note
This same note is already in the table.
1 parent 6cfea51 commit b908c41

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4399,9 +4399,6 @@ <h1><span class="secnum">4.1.6</span> CalendarDateEraYear ( <var>calendar</var>,
43994399
<p>The abstract operation CalendarDateEraYear takes arguments <var>calendar</var> (a <emu-xref href="#sec-ecma402-calendar-types" id="_ref_23"><a href="#sec-ecma402-calendar-types">calendar type</a></emu-xref> that is not <emu-val>"iso8601"</emu-val>) and <var>date</var> (a Temporal.PlainDateTime, Temporal.PlainDate, or Temporal.PlainYearMonth) and returns an <emu-xref href="#integer"><a href="https://tc39.es/ecma262/#integer">integer</a></emu-xref> or <emu-val>undefined</emu-val>. It performs <emu-xref href="#implementation-defined"><a href="https://tc39.es/ecma262/#implementation-defined">implementation-defined</a></emu-xref> processing to find the era for the date corresponding to <var>date</var> in the context of the calendar represented by <var>calendar</var> and returns an <emu-xref href="#integer"><a href="https://tc39.es/ecma262/#integer">integer</a></emu-xref> representing the ordinal position of the year of <var>date</var> in that era, or <emu-val>undefined</emu-val> for calendars that do not have eras. It performs the following steps when called:</p>
44004400
44014401
<emu-alg><ol><li>If <emu-xref aoid="CalendarSupportsEra" id="_ref_24"><a href="#sec-temporal-calendarsupportsera">CalendarSupportsEra</a></emu-xref>(<var>calendar</var>) is <emu-val>false</emu-val>, return <emu-val>undefined</emu-val>.</li><li>Let <var>eraYear</var> be the <emu-xref href="#integer"><a href="https://tc39.es/ecma262/#integer">integer</a></emu-xref> to indicate the era year corresponding to <var>date</var> in the context of the calendar represented by <var>calendar</var> according to <emu-xref href="#implementation-defined"><a href="https://tc39.es/ecma262/#implementation-defined">implementation-defined</a></emu-xref> processing.</li><li><emu-xref href="#assert"><a href="https://tc39.es/ecma262/#assert">Assert</a></emu-xref>: <var>eraYear</var> is an <emu-xref href="#integer"><a href="https://tc39.es/ecma262/#integer">integer</a></emu-xref>.</li><li>Return <var>eraYear</var>.</li></ol></emu-alg>
4402-
<emu-note><span class="note">Note</span><div class="note-contents">
4403-
Era years are 1-indexed for many calendars, but not all (e.g., the eras of the Burmese calendar each start with a year 0). Years can also advance opposite the flow of time (as for BCE years in the Gregorian calendar).
4404-
</div></emu-note>
44054402
</emu-clause>
44064403
44074404
<emu-clause id="sec-temporal-calendardatearithmeticyear" type="abstract operation" aoid="CalendarDateArithmeticYear">

spec.emu

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -568,9 +568,6 @@ contributors: Google, Ecma International
568568
1. Assert: _eraYear_ is an integer.
569569
1. Return _eraYear_.
570570
</emu-alg>
571-
<emu-note>
572-
Era years are 1-indexed for many calendars, but not all (e.g., the eras of the Burmese calendar each start with a year 0). Years can also advance opposite the flow of time (as for BCE years in the Gregorian calendar).
573-
</emu-note>
574571
</emu-clause>
575572

576573
<emu-clause id="sec-temporal-calendardatearithmeticyear" type="abstract operation">

0 commit comments

Comments
 (0)