Skip to content

Commit 75ea812

Browse files
gibson042ptomato
authored andcommitted
Editorial: Represent AvailableCalendars constraints as assertions
1 parent 3af75ec commit 75ea812

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/calendar.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ <h1>
6161
<p>
6262
Calendar types are constrained to those in the <a href="https://cldr.unicode.org/">Unicode Common Locale Data Repository (CLDR)</a>. All implementations are required to support *"iso8601"*.
6363
</p>
64+
<emu-alg>
65+
1. Let _calendars_ be the List of String values representing calendar types supported by the implementation.
66+
1. Assert: _calendars_ contains *"iso8601"*.
67+
1. Assert: _calendars_ does not contain any element that does not identify a calendar type in the <a href="https://cldr.unicode.org/">Unicode Common Locale Data Repository (CLDR)</a>.
68+
1. Return _calendars_.
69+
</emu-alg>
6470
</emu-clause>
6571
</emu-clause>
6672

0 commit comments

Comments
 (0)