Skip to content

Commit

Permalink
Editorial: Document the possibility of inspecting other fields to ver…
Browse files Browse the repository at this point in the history
…ify internal consistency in CalendarResolveFields

Fixes #2866
  • Loading branch information
gibson042 authored and ptomato committed Sep 19, 2024
1 parent 6d53044 commit ec99eb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,9 @@ <h1>
</ul>
</li>
</ul>
<emu-note>
In some cases, verifying the internal consistency of fields requires accessing the data from other fields, such checking _fields_.[[MonthCode]] *"M06"* against _fields_.[[Month]] 7 in the Hebrew calendar (which are consistent if and only if _fields_ identifies a year that includes leap month Adar I).
</emu-note>
<emu-note>
When _type_ is ~month-day~ and _fields_.[[Month]] is not ~unset~, it is recommended that all built-in calendars other than the ISO 8601 calendar require a disambiguating year (e.g., either _fields_.[[Year]] or _fields_.[[Era]] and _fields_.[[EraYear]]), regardless of whether or not _fields_.[[MonthCode]] is also ~unset~. The ISO 8601 calendar allows _fields_.[[Year]] to be ~unset~ in this case because it is a special default calendar that is permanently stable for automated processing.
</emu-note>
Expand Down

0 comments on commit ec99eb9

Please sign in to comment.