Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4718,7 +4718,12 @@ <h1><span class="secnum">4.1.15</span> Calendar Date Records</h1>
<tr>
<td><var class="field">[[DaysInWeek]]</var></td>
<td>a positive <emu-xref href="#integer"><a href="https://tc39.es/ecma262/#integer">integer</a></emu-xref></td>
<td>The number of days in the date's week.</td>
<td>
<p>The number of days in the primary notion of week used by the calendar. For all calendars currently supported by this specification, this number is 7.</p>
<emu-note><span class="note">Note 6</span><div class="note-contents">
Some calendars have alternate cyclic notions that are similar to the 7-day week; many of them have multiple (like the Javanese calendar). This specification does not cover such calendars but can be extended to do so in the future.
</div></emu-note>
</td>
</tr>
<tr>
<td><var class="field">[[DaysInMonth]]</var></td>
Expand All @@ -4740,7 +4745,7 @@ <h1><span class="secnum">4.1.15</span> Calendar Date Records</h1>
<td>a Boolean</td>
<td>
<emu-val>true</emu-val> if the date falls within a leap year, and <emu-val>false</emu-val> otherwise.
<emu-note><span class="note">Note 6</span><div class="note-contents">
<emu-note><span class="note">Note 7</span><div class="note-contents">
A "leap year" is a year that contains more days than other years (for solar or lunar calendars) or more months than other years (for lunisolar calendars like Hebrew or Chinese).
Some calendars, especially lunisolar ones, have further variation in year length that is not represented in the output of this operation (e.g., the Hebrew calendar includes common years with 353, 354, or 355 days and leap years with 383, 384, or 385 days).
</div></emu-note>
Expand Down
7 changes: 6 additions & 1 deletion spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,12 @@ contributors: Google, Ecma International
<tr>
<td>[[DaysInWeek]]</td>
<td>a positive integer</td>
<td>The number of days in the date's week.</td>
<td>
<p>The number of days in the primary notion of week used by the calendar. For all calendars currently supported by this specification, this number is 7.</p>
<emu-note>
Some calendars have alternate cyclic notions that are similar to the 7-day week; many of them have multiple (like the Javanese calendar). This specification does not cover such calendars but can be extended to do so in the future.
</emu-note>
</td>
</tr>
<tr>
<td>[[DaysInMonth]]</td>
Expand Down