Skip to content

Commit

Permalink
Editorial: Add notes about lifetime of surrounding agent
Browse files Browse the repository at this point in the history
These notes were missing from GetIANATimeZonePreviousTransition and
GetIANATimeZoneNextTransition. All operations dealing with the
implementation's internal time zone database need to have this note.
  • Loading branch information
ptomato authored and Ms2ger committed Apr 28, 2022
1 parent 2a59eac commit 54e4abc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/timezone.html
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,9 @@ <h1>
<p>
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.
</p>
<p>
Given the same values of _epochNanoseconds_ and _timeZoneIdentifier_, the result must be the same for the lifetime of the surrounding agent.
</p>
</emu-clause>

<emu-clause id="sec-temporal-getianatimezoneprevioustransition" type="implementation-defined abstract operation">
Expand All @@ -528,6 +531,9 @@ <h1>
<p>
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.
</p>
<p>
Given the same values of _epochNanoseconds_ and _timeZoneIdentifier_, the result must be the same for the lifetime of the surrounding agent.
</p>
</emu-clause>

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

0 comments on commit 54e4abc

Please sign in to comment.