argument-object-tostring.js |
---
esid: sec-temporal.instant.compare
description: Object is converted to a string, then to Temporal.Instant
features: [Temporal]
--- |
1079 |
argument-string-calendar-annotation-invalid-key.js |
---
esid: sec-temporal.instant.compare
description: Annotation keys are lowercase-only
features: [Temporal]
--- |
1024 |
argument-string-calendar-annotation.js |
---
esid: sec-temporal.instant.compare
description: Various forms of calendar annotation; critical flag has no effect
features: [Temporal]
--- |
1078 |
argument-string-critical-unknown-annotation.js |
---
esid: sec-temporal.instant.compare
description: Unknown annotations with critical flag are rejected
features: [Temporal]
--- |
1058 |
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]
--- |
1473 |
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]
--- |
2114 |
argument-string-limits.js |
---
esid: sec-temporal.instant.compare
description: ISO strings at the edges of the representable range
features: [Temporal]
--- |
1463 |
argument-string-minus-sign.js |
---
esid: sec-temporal.instant.compare
description: Non-ASCII minus sign is not acceptable
features: [Temporal]
--- |
825 |
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]
--- |
1097 |
argument-string-multiple-time-zone.js |
---
esid: sec-temporal.instant.compare
description: More than one time zone annotation is not syntactical
features: [Temporal]
--- |
1001 |
argument-string-time-separators.js |
---
esid: sec-temporal.instant.compare
description: Time separator in string argument can vary
features: [Temporal]
--- |
889 |
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]
--- |
1097 |
argument-string-unknown-annotation.js |
---
esid: sec-temporal.instant.compare
description: Various forms of unknown annotation
features: [Temporal]
--- |
924 |
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]
--- |
659 |
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]
--- |
1980 |
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]
--- |
1226 |
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]
--- |
1483 |
exhaustive.js |
---
esid: sec-temporal.instant.compare
description: Tests for compare() with each possible outcome
features: [Temporal]
--- |
787 |
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]
--- |
778 |
instant-string-sub-minute-offset.js |
---
esid: sec-temporal.instant.compare
description: Temporal.Instant string with sub-minute offset
features: [Temporal]
--- |
778 |
instant-string.js |
---
esid: sec-temporal.instant.compare
description: Conversion of ISO date-time strings to Temporal.Instant instances
features: [Temporal]
--- |
3348 |
leap-second.js |
---
esid: sec-temporal.instant.compare
description: Leap second is a valid ISO string for Instant
features: [Temporal]
--- |
777 |
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]
--- |
1167 |
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]
--- |
1008 |
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]
--- |
871 |
prop-desc.js |
---
esid: sec-temporal.instant.compare
description: The "compare" property of Temporal.Instant
includes: [propertyHelper.js]
features: [Temporal]
--- |
628 |
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]
--- |
862 |