argument-instant.js |
---
esid: sec-temporal.instant.from
description: A Instant object is copied, not returned directly
features: [Temporal]
--- |
693 |
argument-object-tostring.js |
---
esid: sec-temporal.instant.from
description: Object is converted to a string, then to Temporal.Instant
features: [Temporal]
--- |
710 |
argument-string-calendar-annotation-invalid-key.js |
---
esid: sec-temporal.instant.from
description: Annotation keys are lowercase-only
features: [Temporal]
--- |
790 |
argument-string-calendar-annotation.js |
---
esid: sec-temporal.instant.from
description: Various forms of calendar annotation; critical flag has no effect
features: [Temporal]
--- |
1085 |
argument-string-critical-unknown-annotation.js |
---
esid: sec-temporal.instant.from
description: Unknown annotations with critical flag are rejected
features: [Temporal]
--- |
824 |
argument-string-date-with-utc-offset.js |
---
esid: sec-temporal.instant.from
description: UTC offset not valid with format that does not include a time
features: [Temporal]
--- |
1245 |
argument-string-invalid.js |
---
esid: sec-temporal.instant.from
description: >
RangeError thrown if an invalid ISO string (or syntactically valid ISO string
that is not supported) is used as an Instant
features: [Temporal, arrow-function]
--- |
1876 |
argument-string-limits.js |
---
esid: sec-temporal.instant.from
description: ISO strings at the edges of the representable range
features: [Temporal]
--- |
1162 |
argument-string-minus-sign.js |
---
esid: sec-temporal.instant.from
description: Non-ASCII minus sign is not acceptable
features: [Temporal]
--- |
617 |
argument-string-multiple-calendar.js |
---
esid: sec-temporal.instant.from
description: >
More than one calendar annotation is not syntactical if any have the criical
flag
features: [Temporal]
--- |
851 |
argument-string-multiple-time-zone.js |
---
esid: sec-temporal.instant.from
description: More than one time zone annotation is not syntactical
features: [Temporal]
--- |
770 |
argument-string-time-separators.js |
---
esid: sec-temporal.instant.from
description: Time separator in string argument can vary
features: [Temporal]
--- |
725 |
argument-string-time-zone-annotation.js |
---
esid: sec-temporal.instant.from
description: Various forms of time zone annotation; critical flag has no effect
features: [Temporal]
--- |
1104 |
argument-string-unknown-annotation.js |
---
esid: sec-temporal.instant.from
description: Various forms of unknown annotation
features: [Temporal]
--- |
931 |
argument-string.js |
---
esid: sec-temporal.instant.from
description: Various string arguments.
features: [Temporal]
--- |
4457 |
argument-wrong-type.js |
---
esid: sec-temporal.instant.from
description: >
Appropriate error thrown when argument cannot be converted to a valid string
for Instant
features: [BigInt, Symbol, Temporal]
--- |
1425 |
argument-zoneddatetime.js |
---
esid: sec-temporal.instant.from
description: Fast path for converting Temporal.ZonedDateTime to Temporal.Instant
info: |
sec-temporal.instant.from step 2:
2. Return ? ToTemporalInstant(_item_).
sec-temporal-totemporalinstant step 1.b:
b. If _item_ has an [[InitializedTemporalZonedDateTime]] internal slot, then
i. Return ! CreateTemporalInstant(_item_.[[Nanoseconds]]).
includes: [compareArray.js, temporalHelpers.js]
features: [Temporal]
--- |
943 |
basic.js |
---
esid: sec-temporal.instant.from
description: Basic functionality of Temporal.Instant.from
features: [Temporal]
--- |
1773 |
browser.js |
|
0 |
builtin.js |
---
esid: sec-temporal.instant.from
description: Tests that Temporal.Instant.from meets the requirements for built-in objects
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]
--- |
1465 |
instant-string-multiple-offsets.js |
---
esid: sec-temporal.instant.from
description: Instant strings with UTC offset fractional part are not confused with time fractional part
features: [Temporal]
--- |
620 |
instant-string-sub-minute-offset.js |
---
esid: sec-temporal.instant.from
description: Temporal.Instant string with sub-minute offset
features: [Temporal]
--- |
2825 |
instant-string.js |
---
esid: sec-temporal.instant.from
description: Conversion of ISO date-time strings to Temporal.Instant instances
features: [Temporal]
--- |
2089 |
leap-second.js |
---
esid: sec-temporal.instant.from
description: Leap second is a valid ISO string for Instant
features: [Temporal]
--- |
580 |
length.js |
---
esid: sec-temporal.instant.from
description: Temporal.Instant.from.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]
--- |
1158 |
name.js |
---
esid: sec-temporal.instant.from
description: Temporal.Instant.from.name is "from"
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]
--- |
993 |
not-a-constructor.js |
---
esid: sec-temporal.instant.from
description: Temporal.Instant.from 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]
--- |
856 |
prop-desc.js |
---
esid: sec-temporal.instant.from
description: The "from" property of Temporal.Instant
includes: [propertyHelper.js]
features: [Temporal]
--- |
613 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
subclassing-ignored.js |
---
esid: sec-temporal.instant.from
description: The receiver is never called when calling from()
includes: [temporalHelpers.js]
features: [Temporal]
--- |
635 |
timezone-custom.js |
---
esid: sec-temporal.instant.from
description: Time zone annotation is ignored in input ISO string
features: [Temporal]
--- |
534 |
year-zero.js |
---
esid: sec-temporal.instant.from
description: Negative zero, as an extended year, is rejected
features: [Temporal, arrow-function]
--- |
671 |