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
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.
Copy file name to clipboardExpand all lines: spec/timezone.html
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -514,6 +514,9 @@ <h1>
514
514
<p>
515
515
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.
516
516
</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.
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.
530
533
</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.
0 commit comments