You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec.emu
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1122,8 +1122,8 @@ contributors: Google, Ecma International
1122
1122
NonISODateSurpasses (
1123
1123
_calendar_: a calendar type that is not *"iso8601"*,
1124
1124
_sign_: -1 or 1,
1125
-
_baseDate_: an ISO Date Record,
1126
-
_isoDate2_: an ISO Date Record,
1125
+
_fromIsoDate_: an ISO Date Record,
1126
+
_toIsoDate_: an ISO Date Record,
1127
1127
_years_: an integer,
1128
1128
_months_: an integer,
1129
1129
_weeks_: an integer,
@@ -1133,13 +1133,13 @@ contributors: Google, Ecma International
1133
1133
<dl class="header">
1134
1134
<dt>description</dt>
1135
1135
<dd>
1136
-
The return value indicates whether the date _date1_, the result of adding the duration denoted by _years_, _months_, _weeks_, and _days_ to _baseDate_ in the calendar system denoted by _calendar_, surpasses _isoDate2_ in the direction denoted by _sign_.
1136
+
The return value indicates whether the date _date1_, the result of adding the duration denoted by _years_, _months_, _weeks_, and _days_ to _fromIsoDate_ in the calendar system denoted by _calendar_, surpasses _toIsoDate_ in the direction denoted by _sign_.
1137
1137
If _weeks_ and _days_ are both zero, then _date1_ need not exist (for example, it could be February 30).
1138
1138
</dd>
1139
1139
</dl>
1140
1140
<p>It performs the following steps when called:</p>
1141
1141
<emu-alg>
1142
-
1. Let _parts_ be CalendarISOToDate(_calendar_, _baseDate_).
1142
+
1. Let _parts_ be CalendarISOToDate(_calendar_, _fromIsoDate_).
1143
1143
1. Let _y0_ be _parts_.[[Year]] + _years_.
1144
1144
1. Let _m0_ be ! ConstrainMonthCodeToArithmeticalMonth(_calendar_, _y0_, _parts_.[[MonthCode]], ~constrain~).
1145
1145
1. Let _endOfMonth_ be BalanceNonISODate(_calendar_, _y0_, _m0_ + _months_ + 1, 0).
@@ -1157,7 +1157,7 @@ contributors: Google, Ecma International
1157
1157
1. Let _y1_ be _endOfMonth_.[[Year]].
1158
1158
1. Let _m1_ be _endOfMonth_.[[Month]].
1159
1159
1. Let _d1_ be _baseDay_.
1160
-
1. Let _calDate2_ be CalendarISOToDate(_calendar_, _isoDate2_).
1160
+
1. Let _calDate2_ be CalendarISOToDate(_calendar_, _toIsoDate_).
0 commit comments