File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -111,16 +111,15 @@ <h1>Date Equations</h1>
111
111
<emu-clause id =" sec-checkisodaysrange" type =" abstract operation" >
112
112
<h1 >
113
113
CheckISODaysRange (
114
- _isoDate_ : an ISO Date Record,
114
+ _isoDateTime_ : an ISO Date-Time Record,
115
115
): either a normal completion containing ~unused~ or a throw completion
116
116
</h1 >
117
117
<dl class =" header" >
118
118
<dt >description</dt >
119
- <dd >It checks that the given date is within the range of 10<sup >8</sup > days from the epoch.</dd >
119
+ <dd >It checks that the given date-time is within the range of 10<sup >8</sup > days from the epoch.</dd >
120
120
</dl >
121
121
<emu-alg >
122
- 1. Let _dateTime_ be CombineISODateAndTimeRecord(_isoDate_ , MidnightTimeRecord()).
123
- 1. If ISODateTimeWithinLimits(_dateTime_ ) is *false* , then
122
+ 1. If ISODateTimeWithinLimits(_isoDateTime_ ) is *false* , then
124
123
1. Throw a *RangeError* exception.
125
124
1. Return ~unused~ .
126
125
</emu-alg >
Original file line number Diff line number Diff line change 415
415
1. If _parsed_ .[[Time]] is ~start-of-day~ , let _time_ be MidnightTimeRecord(); else let _time_ be _parsed_ .[[Time]].
416
416
1. Let _isoDate_ be CreateISODateRecord(_parsed_ .[[Year]], _parsed_ .[[Month]], _parsed_ .[[Day]]).
417
417
1. Let _isoDateTime_ be CombineISODateAndTimeRecord(_isoDate_ , _time_ ).
418
- 1. Perform ? CheckISODaysRange(_isoDate_ ).
418
+ 1. Perform ? CheckISODaysRange(_isoDateTime_ ).
419
419
1. Let _epochNanoseconds_ be GetUTCEpochNanoseconds(_isoDateTime_ ) - _offsetNanoseconds_ .
420
420
1. If IsValidEpochNanoseconds(_epochNanoseconds_ ) is *false* , throw a *RangeError* exception.
421
421
1. Return ! CreateTemporalInstant(_epochNanoseconds_ ).
Original file line number Diff line number Diff line change 347
347
</dd >
348
348
</dl >
349
349
<emu-alg >
350
- 1. Perform ? CheckISODaysRange(_isoDateTime_ .[[ISODate]] ).
350
+ 1. Perform ? CheckISODaysRange(_isoDateTime_ ).
351
351
1. Let _parseResult_ be ! ParseTimeZoneIdentifier(_timeZone_ ).
352
352
1. If _parseResult_ .[[OffsetMinutes]] is not ~empty~ , then
353
353
1. Let _offsetNanoseconds_ be _parseResult_ .[[OffsetMinutes]] × 6 × 10<sup >10</sup >.
Original file line number Diff line number Diff line change 906
906
</dd >
907
907
</dl >
908
908
<emu-alg >
909
- 1. Perform ? CheckISODaysRange(_isoDateTime_ .[[ISODate]] ).
909
+ 1. Perform ? CheckISODaysRange(_isoDateTime_ ).
910
910
1. If _offsetBehaviour_ is ~wall~ , or _offsetBehaviour_ is ~option~ and _offsetOption_ is ~ignore~ , then
911
911
1. Return ? GetEpochNanosecondsFor(_timeZone_ , _isoDateTime_ , _disambiguation_ ).
912
912
1. If _offsetBehaviour_ is ~exact~ , or _offsetBehaviour_ is ~option~ and _offsetOption_ is ~use~ , then
You can’t perform that action at this time.
0 commit comments