Skip to content

Commit 0ead23c

Browse files
anbaptomato
authored andcommitted
Editorial: Assert AddTime is called with a valid time
1 parent 8bdaf1f commit 0ead23c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/plaintime.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,7 @@ <h1>CompareTemporalTime ( _h1_, _min1_, _s1_, _ms1_, _mus1_, _ns1_, _h2_, _min2_
834834
<h1>AddTime ( _hour_, _minute_, _second_, _millisecond_, _microsecond_, _nanosecond_, _hours_, _minutes_, _seconds_, _milliseconds_, _microseconds_, _nanoseconds_ )</h1>
835835
<emu-alg>
836836
1. Assert: _hour_, _minute_, _second_, _millisecond_, _microsecond_, _nanosecond_, _hours_, _minutes_, _seconds_, _milliseconds_, _microseconds_, and _nanoseconds_ are integers.
837+
1. Assert: IsValidTime(_hour_, _minute_, _second_, _millisecond_, _microsecond_, _nanosecond_) is *true*.
837838
1. Let _hour_ be _hour_ + _hours_.
838839
1. Let _minute_ be _minute_ + _minutes_.
839840
1. Let _second_ be _second_ + _seconds_.

0 commit comments

Comments
 (0)