argument-object-tostring.js |
---
esid: sec-temporal.instant.compare
description: Object is converted to a string, then to Temporal.Instant
features: [Temporal]
--- |
1154 |
argument-string-calendar-annotation-invalid-key.js |
---
esid: sec-temporal.instant.compare
description: Annotation keys are lowercase-only
features: [Temporal]
--- |
1099 |
argument-string-calendar-annotation.js |
---
esid: sec-temporal.instant.compare
description: Various forms of calendar annotation; critical flag has no effect
features: [Temporal]
--- |
1153 |
argument-string-critical-unknown-annotation.js |
---
esid: sec-temporal.instant.compare
description: Unknown annotations with critical flag are rejected
features: [Temporal]
--- |
1133 |
argument-string-date-with-utc-offset.js |
---
esid: sec-temporal.instant.compare
description: UTC offset not valid with format that does not include a time
features: [Temporal]
--- |
1548 |
argument-string-invalid.js |
---
esid: sec-temporal.instant.compare
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]
--- |
2189 |
argument-string-limits.js |
---
esid: sec-temporal.instant.compare
description: ISO strings at the edges of the representable range
features: [Temporal]
--- |
1538 |
argument-string-minus-sign.js |
---
esid: sec-temporal.instant.compare
description: Non-ASCII minus sign is not acceptable
features: [Temporal]
--- |
900 |
argument-string-multiple-calendar.js |
---
esid: sec-temporal.instant.compare
description: >
More than one calendar annotation is not syntactical if any have the criical
flag
features: [Temporal]
--- |
1172 |
argument-string-multiple-time-zone.js |
---
esid: sec-temporal.instant.compare
description: More than one time zone annotation is not syntactical
features: [Temporal]
--- |
1076 |
argument-string-time-separators.js |
---
esid: sec-temporal.instant.compare
description: Time separator in string argument can vary
features: [Temporal]
--- |
964 |
argument-string-time-zone-annotation.js |
---
esid: sec-temporal.instant.compare
description: Various forms of time zone annotation; critical flag has no effect
features: [Temporal]
--- |
1172 |
argument-string-unknown-annotation.js |
---
esid: sec-temporal.instant.compare
description: Various forms of unknown annotation
features: [Temporal]
--- |
999 |
argument-string-with-offset-not-valid-epoch-nanoseconds.js |
---
esid: sec-temporal.instant.compare
description: >
Throws when argument at maximum representable date/time value with a negative offset.
features: [Temporal]
--- |
734 |
argument-wrong-type.js |
---
esid: sec-temporal.instant.compare
description: >
Appropriate error thrown when argument cannot be converted to a valid string
for Instant
features: [BigInt, Symbol, Temporal]
--- |
2055 |
argument-zoneddatetime.js |
---
esid: sec-temporal.instant.compare
description: Fast path for converting Temporal.ZonedDateTime to Temporal.Instant
info: |
sec-temporal.instant.compare steps 1–2:
1. Set _one_ to ? ToTemporalInstant(_one_).
2. Set _two_ to ? ToTemporalInstant(_two_).
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]
--- |
1301 |
browser.js |
|
0 |
builtin.js |
---
esid: sec-temporal.instant.compare
description: Tests that Temporal.Instant.compare 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]
--- |
1558 |
cross-epoch.js |
---
esid: sec-temporal.instant.compare
description: Temporal.Instant.compare works cross-epoch.
features: [Temporal]
--- |
1128 |
exhaustive.js |
---
esid: sec-temporal.instant.compare
description: Tests for compare() with each possible outcome
features: [Temporal]
--- |
862 |
instant-string-multiple-offsets.js |
---
esid: sec-temporal.instant.compare
description: Instant strings with UTC offset fractional part are not confused with time fractional part
features: [Temporal]
--- |
853 |
instant-string-sub-minute-offset.js |
---
esid: sec-temporal.instant.compare
description: Temporal.Instant string with sub-minute offset
features: [Temporal]
--- |
853 |
instant-string.js |
---
esid: sec-temporal.instant.compare
description: Conversion of ISO date-time strings to Temporal.Instant instances
features: [Temporal]
--- |
3423 |
leap-second.js |
---
esid: sec-temporal.instant.compare
description: Leap second is a valid ISO string for Instant
features: [Temporal]
--- |
852 |
length.js |
---
esid: sec-temporal.instant.compare
description: Temporal.Instant.compare.length is 2
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]
--- |
1242 |
name.js |
---
esid: sec-temporal.instant.compare
description: Temporal.Instant.compare.name is "compare"
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]
--- |
1083 |
not-a-constructor.js |
---
esid: sec-temporal.instant.compare
description: Temporal.Instant.compare 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]
--- |
946 |
prop-desc.js |
---
esid: sec-temporal.instant.compare
description: The "compare" property of Temporal.Instant
includes: [propertyHelper.js]
features: [Temporal]
--- |
703 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
year-zero.js |
---
esid: sec-temporal.instant.compare
description: Negative zero, as an extended year, fails
features: [Temporal]
--- |
937 |