Skip to content

Commit 54e4abc

Browse files
ptomatoMs2ger
authored andcommitted
Editorial: Add notes about lifetime of surrounding agent
These notes were missing from GetIANATimeZonePreviousTransition and GetIANATimeZoneNextTransition. All operations dealing with the implementation's internal time zone database need to have this note.
1 parent 2a59eac commit 54e4abc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/timezone.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,9 @@ <h1>
514514
<p>
515515
The returned value represents the number of nanoseconds since the Unix epoch in UTC that corresponds to the first time zone transition after _epochNanoseconds_ in the IANA time zone identified by _timeZoneIdentifier_, or *null* if no such transition exists.
516516
</p>
517+
<p>
518+
Given the same values of _epochNanoseconds_ and _timeZoneIdentifier_, the result must be the same for the lifetime of the surrounding agent.
519+
</p>
517520
</emu-clause>
518521

519522
<emu-clause id="sec-temporal-getianatimezoneprevioustransition" type="implementation-defined abstract operation">
@@ -528,6 +531,9 @@ <h1>
528531
<p>
529532
The returned value represents the number of nanoseconds since the Unix epoch in UTC that corresponds to the last time zone transition before _epochNanoseconds_ in the IANA time zone identified by _timeZoneIdentifier_, or *null* if no such transition exists.
530533
</p>
534+
<p>
535+
Given the same values of _epochNanoseconds_ and _timeZoneIdentifier_, the result must be the same for the lifetime of the surrounding agent.
536+
</p>
531537
</emu-clause>
532538

533539
<emu-clause id="sec-temporal-parsetimezoneoffsetstring" aoid="ParseTimeZoneOffsetString">

0 commit comments

Comments
 (0)