Skip to content

Commit

Permalink
Editorial: Correctly use UTS tc39#35 terms
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Sep 9, 2021
1 parent f40f1d2 commit 9574504
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/locales-currencies-tz.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ <h1>DefaultTimeZone ( )</h1>
<h1>Measurement Unit Identifiers</h1>

<p>
The ECMAScript 2022 Internationalization API Specification identifies measurement units using a <em>core unit identifier</em> as defined by <a href="https://www.unicode.org/reports/tr35/tr35-general.html#Unit_Identifiers">Unicode Technical Standard #35, Part 2, Section 6.2</a>. Their canonical form is a string containing all lowercase letters with zero or more hyphens.
The ECMAScript 2022 Internationalization API Specification identifies measurement units using a <em>core unit identifier</em> (or equivalently <em>core unit ID</em>) as defined by <a href="https://www.unicode.org/reports/tr35/tr35-general.html#Unit_Identifiers">Unicode Technical Standard #35, Part 2, Section 6.2</a>. Their canonical form is a string containing all lowercase letters with zero or more hyphens.
</p>

<p>
Expand All @@ -217,7 +217,7 @@ <h1>Measurement Unit Identifiers</h1>
<h1>IsWellFormedUnitIdentifier ( _unitIdentifier_ )</h1>

<p>
The IsWellFormedUnitIdentifier abstract operation verifies that the _unitIdentifier_ argument (which must be a String value) represents a well-formed core unit identifier as defined in <a href="https://www.unicode.org/reports/tr35/tr35-general.html#Unit_Identifiers">UTS #35, Part 2, Section 6.2</a>. In addition to obeying the UTS #35 core unit identifier syntax, _unitIdentifier_ must be one of the identifiers sanctioned by UTS #35 or be a compound unit composed of two sanctioned simple units. The following steps are taken:
The IsWellFormedUnitIdentifier abstract operation verifies that the _unitIdentifier_ argument (which must be a String value) represents a well-formed UTS #35 core unit identifier that is either a supported simple unit or a complex unit formed by division of two supported single units. The following steps are taken:
</p>

<emu-alg>
Expand All @@ -239,7 +239,7 @@ <h1>IsWellFormedUnitIdentifier ( _unitIdentifier_ )</h1>
<h1>IsSanctionedSimpleUnitIdentifier ( _unitIdentifier_ )</h1>

<p>
The IsSanctionedSimpleUnitIdentifier abstract operation verifies that the given core unit identifier is among the simple units sanctioned in the current version of the ECMAScript Internationalization API Specification, a subset of the Common Locale Data Repository <a href="https://github.com/unicode-org/cldr/blob/maint/maint-38/common/validity/unit.xml">release 38 unit validity data</a>; the list may grow over time. As discussed in UTS #35, a simple unit is one that does not have a numerator and denominator. The following steps are taken:
The IsSanctionedSimpleUnitIdentifier abstract operation verifies that the _unitIdentifier_ argument (which must be a String value) is among the single unit identifiers sanctioned in the current version of the ECMAScript Internationalization API Specification, which are a subset of the Common Locale Data Repository <a href="https://github.com/unicode-org/cldr/blob/maint/maint-38/common/validity/unit.xml">release 38 unit validity data</a>; the list may grow over time. As discussed in UTS #35, a single unit identifier is a core unit identifier that is not composed of multiplication or division of other unit identifiers. The following steps are taken:
</p>

<emu-alg>
Expand All @@ -248,11 +248,11 @@ <h1>IsSanctionedSimpleUnitIdentifier ( _unitIdentifier_ )</h1>
</emu-alg>

<emu-table id="table-sanctioned-simple-unit-identifiers">
<emu-caption>Simple units sanctioned for use in ECMAScript</emu-caption>
<emu-caption>Single units sanctioned for use in ECMAScript</emu-caption>
<table class="real-table">
<thead>
<tr>
<th>Simple Unit</th>
<th>Single Unit Identifier</th>
</tr>
</thead>
<tr><td>acre</td></tr>
Expand Down

0 comments on commit 9574504

Please sign in to comment.