argument-cast.js |
---
esid: sec-temporal.plaintime.compare
description: compare() casts its arguments
features: [Temporal]
--- |
1089 |
argument-number.js |
---
esid: sec-temporal.plaintime.compare
description: A number is invalid in place of an ISO string for Temporal.PlainTime
features: [Temporal]
--- |
1012 |
argument-string-calendar-annotation-invalid-key.js |
---
esid: sec-temporal.plaintime.compare
description: Annotation keys are lowercase-only
features: [Temporal]
--- |
1596 |
argument-string-calendar-annotation.js |
---
esid: sec-temporal.plaintime.compare
description: Various forms of calendar annotation; critical flag has no effect
features: [Temporal]
--- |
1660 |
argument-string-critical-unknown-annotation.js |
---
esid: sec-temporal.plaintime.compare
description: Unknown annotations with critical flag are rejected
features: [Temporal]
--- |
1224 |
argument-string-date-with-utc-offset.js |
---
esid: sec-temporal.plaintime.compare
description: UTC offset not valid with format that does not include a time
features: [Temporal]
--- |
1716 |
argument-string-minus-sign.js |
---
esid: sec-temporal.plaintime.compare
description: Non-ASCII minus sign is not acceptable
features: [Temporal]
--- |
954 |
argument-string-multiple-calendar.js |
---
esid: sec-temporal.plaintime.compare
description: >
More than one calendar annotation is not syntactical if any have the criical
flag
features: [Temporal]
--- |
1394 |
argument-string-multiple-time-zone.js |
---
esid: sec-temporal.plaintime.compare
description: More than one time zone annotation is not syntactical
features: [Temporal]
--- |
1167 |
argument-string-no-implicit-midnight.js |
---
esid: sec-temporal.plaintime.compare
description: RangeError thrown if a date-only string is passed in a PlainTime context
features: [Temporal, arrow-function]
--- |
904 |
argument-string-time-designator-required-for-disambiguation.js |
---
esid: sec-temporal.plaintime.compare
description: ISO 8601 time designator "T" required in cases of ambiguity
includes: [temporalHelpers.js]
features: [Temporal, arrow-function]
--- |
1769 |
argument-string-time-separators.js |
---
esid: sec-temporal.plaintime.compare
description: Time separator in string argument can vary
features: [Temporal]
--- |
1147 |
argument-string-time-zone-annotation.js |
---
esid: sec-temporal.plaintime.compare
description: Various forms of time zone annotation; critical flag has no effect
features: [Temporal]
--- |
2510 |
argument-string-unknown-annotation.js |
---
esid: sec-temporal.plaintime.compare
description: Various forms of unknown annotation
features: [Temporal]
--- |
1619 |
argument-string-with-time-designator.js |
---
esid: sec-temporal.plaintime.compare
description: ISO 8601 time designator "T" allowed at the start of PlainTime strings
features: [Temporal, arrow-function]
--- |
1033 |
argument-string-with-utc-designator.js |
---
esid: sec-temporal.plaintime.compare
description: RangeError thrown if a string with UTC designator is used as a PlainTime
features: [Temporal, arrow-function]
--- |
1053 |
argument-wrong-type.js |
---
esid: sec-temporal.plaintime.compare
description: >
Appropriate error thrown when argument cannot be converted to a valid string
or property bag for PlainTime
features: [BigInt, Symbol, Temporal]
--- |
1970 |
argument-zoneddatetime-negative-epochnanoseconds.js |
---
esid: sec-temporal.plaintime.compare
description: A pre-epoch value is handled correctly by the modulo operation in GetISOPartsFromEpoch
info: |
sec-temporal-getisopartsfromepoch step 1:
1. Let _remainderNs_ be the mathematical value whose sign is the sign of _epochNanoseconds_ and whose magnitude is abs(_epochNanoseconds_) modulo 10<sup>6</sup>.
sec-temporal-builtintimezonegetplaindatetimefor step 2:
2. Let _result_ be ! GetISOPartsFromEpoch(_instant_.[[Nanoseconds]]).
features: [Temporal]
--- |
1317 |
basic.js |
---
esid: sec-temporal.plaintime.compare
description: Basic tests for compare()
features: [Temporal]
--- |
879 |
browser.js |
|
0 |
builtin.js |
---
esid: sec-temporal.plaintime.compare
description: Tests that Temporal.PlainTime.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]
--- |
1570 |
exhaustive.js |
---
esid: sec-temporal.plaintime.compare
description: Tests for compare() with each possible outcome
features: [Temporal]
--- |
2800 |
leap-second.js |
---
esid: sec-temporal.plaintime.compare
description: Leap second is a valid ISO string for PlainTime
features: [Temporal]
--- |
1306 |
length.js |
---
esid: sec-temporal.plaintime.compare
description: Temporal.PlainTime.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]
--- |
1248 |
name.js |
---
esid: sec-temporal.plaintime.compare
description: Temporal.PlainTime.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]
--- |
1089 |
not-a-constructor.js |
---
esid: sec-temporal.plaintime.compare
description: Temporal.PlainTime.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]
--- |
956 |
plaintime-propertybag-no-time-units.js |
---
esid: sec-temporal.plaintime.compare
description: Missing time units in property bag default to 0
features: [Temporal]
--- |
778 |
prop-desc.js |
---
esid: sec-temporal.plaintime.compare
description: The "compare" property of Temporal.PlainTime
includes: [propertyHelper.js]
features: [Temporal]
--- |
713 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
use-internal-slots.js |
---
esid: sec-temporal-comparetemporaltime
description: compare() ignores the observable properties and uses internal slots
features: [Temporal]
--- |
1051 |
year-zero.js |
---
esid: sec-temporal.plaintime.compare
description: Negative zero, as an extended year, fails
features: [Temporal]
--- |
981 |