branding.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: Throw a TypeError if the receiver is invalid
features: [Symbol, Temporal]
--- |
1385 |
browser.js |
|
0 |
builtin.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: >
Tests that Temporal.ZonedDateTime.prototype.withTimeZone
meets the requirements for built-in objects defined by the
introduction of chapter 17 of the ECMAScript Language Specification.
info: |
Built-in functions that are not constructors do not have a "prototype" property unless
otherwise specified in the description of a particular function.
Unless specified otherwise, a built-in object that is callable as a function is a built-in
function object with the characteristics described in 10.3. Unless specified otherwise, the
[[Extensible]] internal slot of a built-in object initially has the value true.
Unless otherwise specified every built-in function and every built-in constructor has the
Function prototype object [...] as the value of its [[Prototype]] internal slot.
features: [Temporal]
--- |
1782 |
length.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: Temporal.ZonedDateTime.prototype.withTimeZone.length is 1
info: |
Every built-in function object, including constructors, has a "length" property whose value is
an integer. Unless otherwise specified, this value is equal to the largest number of named
arguments shown in the subclause headings for the function description. Optional parameters
(which are indicated with brackets: [ ]) or rest parameters (which are shown using the form
«...name») are not included in the default argument count.
Unless otherwise specified, the "length" property of a built-in function object has the
attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
features: [Temporal]
--- |
1305 |
name.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: Temporal.ZonedDateTime.prototype.withTimeZone.name is "withTimeZone".
info: |
Every built-in function object, including constructors, that is not identified as an anonymous
function has a "name" property whose value is a String. Unless otherwise specified, this value
is the name that is given to the function in this specification.
Unless otherwise specified, the "name" property of a built-in function object, if it exists,
has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
features: [Temporal]
--- |
1157 |
not-a-constructor.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: >
Temporal.ZonedDateTime.prototype.withTimeZone does not implement [[Construct]], is not new-able
info: |
Built-in function objects that are not identified as constructors do not implement the
[[Construct]] internal method unless otherwise specified in the description of a particular
function.
includes: [isConstructor.js]
features: [Reflect.construct, Temporal]
--- |
1055 |
preserves-instant.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: Keeps instant the same.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
954 |
prop-desc.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: The "withTimeZone" property of Temporal.ZonedDateTime.prototype
includes: [propertyHelper.js]
features: [Temporal]
--- |
808 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
subclassing-ignored.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: Objects of a subclass are never created as return values.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
1262 |
timezone-case-insensitive.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: Time zone names are case insensitive
features: [Temporal]
--- |
683 |
timezone-string-datetime.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: Conversion of ISO date-time strings to time zone IDs
features: [Temporal]
--- |
2516 |
timezone-string-leap-second.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: Leap second is a valid ISO string for TimeZone
features: [Temporal]
--- |
892 |
timezone-string-multiple-offsets.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: Time zone parsing from ISO strings uses the bracketed offset, not the ISO string offset
features: [Temporal]
--- |
779 |
timezone-string-sub-minute-offset.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: >
Time zone parsing from ISO strings does not accept sub-minute UTC offset as
time zone identifier
features: [Temporal]
--- |
818 |
timezone-string-year-zero.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: Negative zero, as an extended year, is rejected
features: [Temporal, arrow-function]
--- |
801 |
timezone-string.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: Time zone IDs are valid input for a time zone
features: [Temporal]
--- |
726 |
timezone-wrong-type.js |
---
esid: sec-temporal.zoneddatetime.prototype.withtimezone
description: >
Appropriate error thrown when argument cannot be converted to a valid string
for time zone
features: [BigInt, Symbol, Temporal]
--- |
1411 |