Skip to content

Commit

Permalink
Normative: Remove the ECMA-402 AvailableCalendars override
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Jun 4, 2022
1 parent 2bf932b commit 8a3c47b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
5 changes: 0 additions & 5 deletions spec/calendar.html
Expand Up @@ -53,11 +53,6 @@ <h1>
<dt>description</dt>
<dd>Each element in the returned List represents a calendar type supported by the implementation.</dd>
</dl>

<p>
An ECMAScript implementation that includes the ECMA-402 Internationalization API must implement the AvailableCalendars abstract operation as specified in the ECMA-402 specification.
If an ECMAScript implementation does not include the ECMA-402 API the following specification of the AvailableCalendars abstract operation is used.
</p>
<emu-alg>
1. Let _calendars_ be the List of String values representing calendar types supported by the implementation.
1. Assert: _calendars_ contains *"iso8601"*.
Expand Down
26 changes: 0 additions & 26 deletions spec/intl.html
Expand Up @@ -84,32 +84,6 @@ <h1><a href="https://tc39.es/ecma402/#sec-defaulttimezone">DefaultTimeZone</a> (
The DefaultTimeZone abstract operation returns a String value representing the valid (<emu-xref href="#sec-isvalidtimezonename"></emu-xref>) and canonicalized (<emu-xref href="#sec-canonicalizetimezonename"></emu-xref>) time zone name for the host environment's current time zone.
</p>
</emu-clause>

<ins class="block">
<emu-clause id="sup-calendar-types">
<h1>Calendar Types</h1>

<p>
The ECMAScript 2022 Internationalization API Specification identifies calendars using a <em>calendar type</em> as defined by <a href="https://unicode.org/reports/tr35/tr35-dates.html#Calendar_Elements">Unicode Technical Standard #35, Part 4, Section 2</a>. Their canonical form is a string containing all lower case letters with zero or more hyphens.
</p>

<emu-clause id="sup-availablecalendars" type="abstract operation">
<h1>
AvailableCalendars (
): a List of Strings
</h1>
<dl class="header">
<dt>description</dt>
<dd>The returned List is ordered as if an Array of the same values had been sorted using %Array.prototype.sort% using *undefined* as _comparefn_, and contains unique calendar types identifying the calendars for which the implementation provides the functionality of Intl.DateTimeFormat objects.
The list must include *"iso8601"*.</dd>
<dt>redefinition</dt>
<dd>true</dd>
</dl>

<p>This definition supersedes the definition provided in <emu-xref href="#sec-temporal-availablecalendars"></emu-xref>.</p>
</emu-clause>
</emu-clause>
</ins>
</emu-clause>

<emu-clause id="sec-abstract-operations">
Expand Down

0 comments on commit 8a3c47b

Please sign in to comment.