Name Description Size
argument-number.js --- esid: sec-temporal.plaindatetime.from description: A number cannot be used in place of a Temporal.PlainDateTime features: [Temporal] --- 715
argument-object-month.js --- esid: sec-temporal.plaindatetime.from description: A plain object argument needs to specify a month features: [Temporal] --- 1101
argument-object.js --- esid: sec-temporal.plaindatetime.from description: Plain objects are acceptable features: [Temporal] includes: [temporalHelpers.js] --- 1435
argument-plaindate.js --- esid: sec-temporal.plaindatetime.from description: Fast path for converting Temporal.PlainDate to Temporal.PlainDateTime by reading internal slots info: | sec-temporal.plaindatetime.from step 3: 3. Return ? ToTemporalDateTime(_item_, _options_). sec-temporal-totemporaldatetime step 2.b: b. If _item_ has an [[InitializedTemporalDate]] internal slot, then i. Return ? CreateTemporalDateTime(_item_.[[ISOYear]], _item_.[[ISOMonth]], _item_.[[ISODay]], 0, 0, 0, 0, 0, 0, _item_.[[Calendar]]). includes: [compareArray.js, temporalHelpers.js] features: [Temporal] --- 1221
argument-plaindatetime.js --- esid: sec-temporal.plaindatetime.from description: A PlainDateTime object is copied, not returned directly includes: [temporalHelpers.js] features: [Temporal] --- 964
argument-propertybag-calendar-case-insensitive.js --- esid: sec-temporal.plaindatetime.from description: The calendar name is case-insensitive includes: [temporalHelpers.js] features: [Temporal] --- 878
argument-propertybag-calendar-iso-string.js --- esid: sec-temporal.plaindatetime.from description: An ISO 8601 string can be converted to a calendar ID in Calendar includes: [temporalHelpers.js] features: [Temporal] --- 1072
argument-propertybag-calendar-leap-second.js --- esid: sec-temporal.plaindatetime.from description: Leap second is a valid ISO string for a calendar in a property bag includes: [temporalHelpers.js] features: [Temporal] --- 803
argument-propertybag-calendar-number.js --- esid: sec-temporal.plaindatetime.from description: A number as calendar in a property bag is not accepted features: [Temporal] --- 756
argument-propertybag-calendar-string.js --- esid: sec-temporal.plaindatetime.from description: A calendar ID is valid input for Calendar includes: [temporalHelpers.js] features: [Temporal] --- 832
argument-propertybag-calendar-wrong-type.js --- esid: sec-temporal.plaindatetime.from description: > Appropriate error thrown when a calendar property from a property bag cannot be converted to a calendar ID features: [BigInt, Symbol, Temporal] --- 1409
argument-propertybag-calendar-year-zero.js --- esid: sec-temporal.plaindatetime.from description: Negative zero, as an extended year, is rejected features: [Temporal, arrow-function] --- 864
argument-string-calendar-annotation-invalid-key.js --- esid: sec-temporal.plaindatetime.from description: Annotation keys are lowercase-only features: [Temporal] --- 874
argument-string-calendar-annotation.js --- esid: sec-temporal.plaindatetime.from description: Various forms of calendar annotation; critical flag has no effect features: [Temporal] includes: [temporalHelpers.js] --- 1100
argument-string-comma-decimal-separator.js --- esid: sec-temporal.plaindatetime.from description: Comma may be used as a decimal separator features: [Temporal] includes: [temporalHelpers.js] --- 651
argument-string-critical-unknown-annotation.js --- esid: sec-temporal.plaindatetime.from description: Unknown annotations with critical flag are rejected features: [Temporal] --- 906
argument-string-date-with-utc-offset.js --- esid: sec-temporal.plaindatetime.from description: UTC offset not valid with format that does not include a time features: [Temporal] includes: [temporalHelpers.js] --- 1325
argument-string-invalid.js --- esid: sec-temporal.plaindatetime.from description: Reject string argument if it cannot be parsed features: [Temporal] --- 1596
argument-string-limits.js --- esid: sec-temporal.plaindatetime.from description: ISO strings at the edges of the representable range features: [Temporal] --- 978
argument-string-minus-sign.js --- esid: sec-temporal.plaindatetime.from description: Non-ASCII minus sign is not acceptable features: [Temporal] --- 704
argument-string-multiple-calendar.js --- esid: sec-temporal.plaindatetime.from description: > More than one calendar annotation is not syntactical if any have the criical flag features: [Temporal] --- 1128
argument-string-multiple-time-zone.js --- esid: sec-temporal.plaindatetime.from description: More than one time zone annotation is not syntactical features: [Temporal] --- 852
argument-string-offset.js --- esid: sec-temporal.plaindatetime.from description: Extended format may be used features: [Temporal] includes: [temporalHelpers.js] --- 1165
argument-string-optional-data.js --- esid: sec-temporal.plaindatetime.from description: Some parts of a string argument may be omitted features: [Temporal] includes: [temporalHelpers.js] --- 1007
argument-string-out-of-range.js --- esid: sec-temporal.plaindatetime.from description: Invalid ISO string not acceptable even with overflow = constrain features: [Temporal] --- 1178
argument-string-subsecond.js --- esid: sec-temporal.plaindatetime.from description: Up to nine digits of sub-second precision are acceptable features: [Temporal] includes: [temporalHelpers.js] --- 2496
argument-string-time-separators.js --- esid: sec-temporal.plaindatetime.from description: Time separator in string argument can vary features: [Temporal] includes: [temporalHelpers.js] --- 879
argument-string-time-zone-annotation.js --- esid: sec-temporal.plaindatetime.from description: Various forms of time zone annotation; critical flag has no effect features: [Temporal] includes: [temporalHelpers.js] --- 1289
argument-string-timezone.js --- esid: sec-temporal.plaindatetime.from description: Timezone, if specified, is ignored features: [Temporal] includes: [temporalHelpers.js] --- 662
argument-string-unknown-annotation.js --- esid: sec-temporal.plaindatetime.from description: Various forms of unknown annotation features: [Temporal] includes: [temporalHelpers.js] --- 1083
argument-string-with-utc-designator.js --- esid: sec-temporal.plaindatetime.from description: RangeError thrown if a string with UTC designator is used as a PlainDateTime features: [Temporal, arrow-function] --- 778
argument-string.js --- esid: sec-temporal.plaindatetime.from description: String arguments are acceptable features: [Temporal] includes: [temporalHelpers.js] --- 1182
argument-wrong-type.js --- esid: sec-temporal.plaindatetime.from description: > Appropriate error thrown when argument cannot be converted to a valid string or property bag for PlainDateTime features: [BigInt, Symbol, Temporal] --- 1394
argument-zoneddatetime-balance-negative-time-units.js --- esid: sec-temporal.plaindatetime.from description: Negative time fields are balanced upwards if the argument is given as ZonedDateTime info: | sec-temporal-balancetime steps 3–14: 3. Set _microsecond_ to _microsecond_ + floor(_nanosecond_ / 1000). 4. Set _nanosecond_ to _nanosecond_ modulo 1000. 5. Set _millisecond_ to _millisecond_ + floor(_microsecond_ / 1000). 6. Set _microsecond_ to _microsecond_ modulo 1000. 7. Set _second_ to _second_ + floor(_millisecond_ / 1000). 8. Set _millisecond_ to _millisecond_ modulo 1000. 9. Set _minute_ to _minute_ + floor(_second_ / 60). 10. Set _second_ to _second_ modulo 60. 11. Set _hour_ to _hour_ + floor(_minute_ / 60). 12. Set _minute_ to _minute_ modulo 60. 13. Let _days_ be floor(_hour_ / 24). 14. Set _hour_ to _hour_ modulo 24. sec-temporal-balanceisodatetime step 1: 1. Let _balancedTime_ be ? BalanceTime(_hour_, _minute_, _second_, _millisecond_, _microsecond_, _nanosecond_). sec-temporal-builtintimezonegetplaindatetimefor step 3: 3. Set _result_ to ? BalanceISODateTime(_result_.[[Year]], _result_.[[Month]], _result_.[[Day]], _result_.[[Hour]], _result_.[[Minute]], _result_.[[Second]], _result_.[[Millisecond]], _result_.[[Microsecond]], _result_.[[Nanosecond]] + _offsetNanoseconds_). sec-temporal-totemporaldatetime step 3.b: b. If _item_ has an [[InitializedTemporalZonedDateTime]] internal slot, then ... ii. 1. Return ? BuiltinTimeZoneGetPlainDateTimeFor(_item_.[[TimeZone]], _instant_, _item_.[[Calendar]]). sec-temporal.plaindatetime.from step 3: 3. Return ? ToTemporalDateTime(_temporalTime_). includes: [temporalHelpers.js] features: [Temporal] --- 2475
argument-zoneddatetime-negative-epochnanoseconds.js --- esid: sec-temporal.plaindatetime.from 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] includes: [temporalHelpers.js] --- 1250
browser.js 0
builtin.js --- esid: sec-temporal.plaindatetime.from description: Tests that Temporal.PlainDateTime.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] --- 1576
calendar-temporal-object.js --- esid: sec-temporal.plaindatetime.from description: Fast path for converting other Temporal objects to Temporal.Calendar by reading internal slots info: | sec-temporal.plaindatetime.from step 3: 3. Return ? ToTemporalDateTime(_item_, _options_). sec-temporal-totemporaldatetime step 2.c: c. Let _calendar_ be ? GetTemporalCalendarWithISODefault(_item_). sec-temporal-gettemporalcalendarwithisodefault step 2: 2. Return ? ToTemporalCalendarWithISODefault(_calendar_). sec-temporal-totemporalcalendarwithisodefault step 2: 3. Return ? ToTemporalCalendar(_temporalCalendarLike_). sec-temporal-totemporalcalendar step 1.a: a. If _temporalCalendarLike_ has an [[InitializedTemporalDate]], [[InitializedTemporalDateTime]], [[InitializedTemporalMonthDay]], [[InitializedTemporalYearMonth]], or [[InitializedTemporalZonedDateTime]] internal slot, then i. Return _temporalCalendarLike_.[[Calendar]]. includes: [compareArray.js, temporalHelpers.js] features: [Temporal] --- 1622
infinity-throws-rangeerror.js --- description: Throws if any value in the property bag is Infinity or -Infinity esid: sec-temporal.plaindatetime.from includes: [compareArray.js, temporalHelpers.js] features: [Temporal] --- 1389
leap-second.js --- esid: sec-temporal.plaindatetime.from description: Leap second is a valid ISO string for PlainDateTime includes: [temporalHelpers.js] features: [Temporal] --- 1424
length.js --- esid: sec-temporal.plaindatetime.from description: Temporal.PlainDateTime.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] --- 1251
limits.js --- esid: sec-temporal.plaindatetime.from description: Checking limits of representable PlainDateTime features: [Temporal] includes: [temporalHelpers.js] --- 2182
monthcode-invalid.js --- esid: sec-temporal.plaindatetime.from description: Validation of monthCode features: [Temporal] --- 1400
name.js --- esid: sec-temporal.plaindatetime.from description: Temporal.PlainDateTime.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] --- 1086
not-a-constructor.js --- esid: sec-temporal.plaindatetime.from description: Temporal.PlainDateTime.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] --- 961
observable-get-overflow-argument-primitive.js --- esid: sec-temporal.plaindatetime.from description: overflow property is extracted with string argument. includes: [compareArray.js, temporalHelpers.js] features: [Temporal] --- 1373
observable-get-overflow-argument-string-invalid.js --- esid: sec-temporal.plaindatetime.from description: overflow property is not extracted with ISO-invalid string argument. includes: [compareArray.js, temporalHelpers.js] features: [Temporal] --- 803
options-object.js --- esid: sec-temporal.plaindatetime.prototype.from description: Empty object may be used as options includes: [temporalHelpers.js] features: [Temporal] --- 877
options-undefined.js --- esid: sec-temporal.plaindatetime.from description: Verify that undefined options are handled correctly. features: [Temporal] --- 774
options-wrong-type.js --- esid: sec-temporal.plaindatetime.from description: TypeError thrown when options argument is a primitive features: [BigInt, Symbol, Temporal] --- 1426
order-of-operations.js --- esid: sec-temporal.plaindatetime.from description: Properties on an object passed to from() are accessed in the correct order includes: [compareArray.js, temporalHelpers.js] features: [Temporal] --- 3091
overflow-default-constrain.js --- esid: sec-temporal.plaindatetime.from description: By default, overflow = constrain features: [Temporal] includes: [temporalHelpers.js] --- 1268
overflow-invalid-string.js --- esid: sec-temporal.plaindatetime.from description: RangeError thrown when overflow option not one of the allowed string values info: | sec-getoption step 10: 10. If _values_ is not *undefined* and _values_ does not contain an element equal to _value_, throw a *RangeError* exception. sec-temporal-totemporaloverflow step 1: 1. Return ? GetOption(_normalizedOptions_, *"overflow"*, « String », « *"constrain"*, *"reject"* », *"constrain"*). sec-temporal-interprettemporaldatetimefields steps 2–3: 2. Let _temporalDate_ be ? DateFromFields(_calendar_, _fields_, _options_). 3. Let _overflow_ be ? ToTemporalOverflow(_options_). sec-temporal-totemporaldatetime steps 2–3: 2. If Type(_item_) is Object, then ... g. Let _result_ be ? InterpretTemporalDateTimeFields(_calendar_, _fields_, _options_). 3. Else, a. Perform ? ToTemporalOverflow(_options_). sec-temporal.plaindatetime.from steps 2–3: 2. If Type(_item_) is Object and _item_ has an [[InitializedTemporalDateTime]] internal slot, then a. Perform ? ToTemporalOverflow(_options_). b. Return ... 3. Return ? ToTemporalDateTime(_item_, _options_). features: [Temporal] --- 2143
overflow-reject.js --- esid: sec-temporal.plaindatetime.from description: Possibly throw if overflow is reject features: [Temporal] includes: [temporalHelpers.js] --- 851
overflow-undefined.js --- esid: sec-temporal.plaindatetime.from description: Fallback value for overflow option info: | sec-getoption step 3: 3. If _value_ is *undefined*, return _fallback_. sec-temporal-totemporaloverflow step 1: 1. Return ? GetOption(_normalizedOptions_, *"overflow"*, « String », « *"constrain"*, *"reject"* », *"constrain"*). sec-temporal-interprettemporaldatetimefields steps 2–3: 2. Let _temporalDate_ be ? DateFromFields(_calendar_, _fields_, _options_). 3. Let _overflow_ be ? ToTemporalOverflow(_options_). sec-temporal-totemporaldatetime steps 2–3: 2. If Type(_item_) is Object, then ... g. Let _result_ be ? InterpretTemporalDateTimeFields(_calendar_, _fields_, _options_). 3. Else, a. Perform ? ToTemporalOverflow(_options_). sec-temporal.plaindatetime.from steps 2–3: 2. If Type(_item_) is Object and _item_ has an [[InitializedTemporalDateTime]] internal slot, then a. Perform ? ToTemporalOverflow(_options_). b. Return ... 3. Return ? ToTemporalDateTime(_item_, _options_). includes: [temporalHelpers.js] features: [Temporal] --- 2429
overflow-wrong-type.js --- esid: sec-temporal.plaindatetime.from description: Type conversions for overflow option info: | sec-getoption step 9.a: a. Set _value_ to ? ToString(_value_). sec-temporal-totemporaloverflow step 1: 1. Return ? GetOption(_normalizedOptions_, *"overflow"*, « String », « *"constrain"*, *"reject"* », *"constrain"*). sec-temporal-interprettemporaldatetimefields steps 2–3: 2. Let _temporalDate_ be ? DateFromFields(_calendar_, _fields_, _options_). 3. Let _overflow_ be ? ToTemporalOverflow(_options_). sec-temporal-totemporaldatetime steps 2–3: 2. If Type(_item_) is Object, then ... g. Let _result_ be ? InterpretTemporalDateTimeFields(_calendar_, _fields_, _options_). 3. Else, a. Perform ? ToTemporalOverflow(_options_). sec-temporal.plaindatetime.from steps 2–3: 2. If Type(_item_) is Object and _item_ has an [[InitializedTemporalDateTime]] internal slot, then a. Perform ? ToTemporalOverflow(_options_). b. Return ... 3. Return ? ToTemporalDateTime(_item_, _options_). includes: [compareArray.js, temporalHelpers.js] features: [Temporal] --- 3397
parser.js --- description: Temporal.PlainDateTime.from accepts a custom timezone that starts with "c". esid: sec-temporal.plaindatetime.from includes: [temporalHelpers.js] features: [Temporal] --- 682
prop-desc.js --- esid: sec-temporal.plaindatetime.from description: The "from" property of Temporal.PlainDateTime includes: [propertyHelper.js] features: [Temporal] --- 718
shell.js --- description: | Test if a given function is a constructor function. defines: [isConstructor] features: [Reflect.construct] --- 596
subclassing-ignored.js --- esid: sec-temporal.plaindatetime.from description: The receiver is never called when calling from() includes: [temporalHelpers.js] features: [Temporal] --- 716
year-zero.js --- esid: sec-temporal.plaindatetime.from description: Negative zero, as an extended year, is rejected features: [Temporal, arrow-function] --- 782