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
Copy file name to clipboardExpand all lines: spec/timezone.html
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -88,12 +88,13 @@ <h1>
88
88
<dlclass="header">
89
89
</dl>
90
90
<p>
91
-
The returned value _t_ represents the number of nanoseconds since the epoch that corresponds to the first time zone transition strictly after _epochNanoseconds_ in the IANA time zone identified by _timeZoneIdentifier_.
91
+
The returned value _t_ represents the number of nanoseconds since the epoch that corresponds to the first time zone UTC offset transition strictly after _epochNanoseconds_ in the IANA time zone identified by _timeZoneIdentifier_.
92
92
The operation returns *null* if no such transition exists for which _t_ ≤ ℤ(nsMaxInstant).
93
93
</p>
94
94
<p>
95
95
A transition is a point in time where the UTC offset of a time zone changes, for example when Daylight Saving Time starts or stops.
96
96
The returned value _t_ represents the first nanosecond where the new UTC offset is used in this time zone, not the last nanosecond where the previous UTC offset is used.
97
+
In other words, GetOffsetNanosecondsFor(_timeZone_, _t_) ≠ GetOffsetNanosecondsFor(_timeZone_, _t_ - 1).
97
98
</p>
98
99
<p>Given the same values of _timeZoneIdentifier_ and _epochNanoseconds_, the result must be the same for the lifetime of the surrounding agent.</p>
99
100
<p>The minimum implementation of GetNamedTimeZoneNextTransition for ECMAScript implementations that do not include local political rules for any time zones performs the following steps when called:</p>
@@ -113,12 +114,13 @@ <h1>
113
114
<dlclass="header">
114
115
</dl>
115
116
<p>
116
-
The returned value _t_ represents the number of nanoseconds since the epoch that corresponds to the last time zone transition strictly before _epochNanoseconds_ in the IANA time zone identified by _timeZoneIdentifier_.
117
+
The returned value _t_ represents the number of nanoseconds since the epoch that corresponds to the last time zone UTC offset transition strictly before _epochNanoseconds_ in the IANA time zone identified by _timeZoneIdentifier_.
117
118
The operation returns *null* if no such transition exists for which _t_ ≥ ℤ(nsMinInstant).
118
119
</p>
119
120
<p>
120
121
A transition is a point in time where the UTC offset of a time zone changes, for example when Daylight Saving Time starts or stops.
121
122
The returned value _t_ represents the first nanosecond where the new UTC offset is used in this time zone, not the last nanosecond where the previous UTC offset is used.
123
+
In other words, GetOffsetNanosecondsFor(_timeZone_, _t_) ≠ GetOffsetNanosecondsFor(_timeZone_, _t_ - 1).
122
124
</p>
123
125
<p>Given the same values of _timeZoneIdentifier_ and _epochNanoseconds_, the result must be the same for the lifetime of the surrounding agent.</p>
124
126
<p>The minimum implementation of GetNamedTimeZonePreviousTransition for ECMAScript implementations that do not include local political rules for any time zones performs the following steps when called:</p>
0 commit comments