argument-object.js |
---
esid: sec-temporal.plainyearmonth.from
description: An object argument
includes: [temporalHelpers.js]
features: [Temporal]
--- |
1055 |
browser.js |
|
0 |
calendar-not-supporting-eras.js |
---
esid: sec-temporal.plainyearmonth.from
description: era and eraYear are ignored (for calendars not using eras)
includes: [temporalHelpers.js]
features: [Temporal]
--- |
1579 |
canonicalize-calendar.js |
---
esid: sec-temporal.plainyearmonth.from
description: Calendar ID is canonicalized
features: [Temporal]
--- |
687 |
canonicalize-era-codes.js |
---
esid: sec-temporal.plainyearmonth.from
description: Calendar era code is canonicalized
includes: [temporalHelpers.js]
features: [Temporal]
--- |
1006 |
infinity-throws-rangeerror.js |
---
description: Throws if eraYear in the property bag is Infinity or -Infinity
esid: sec-temporal.plainyearmonth.from
includes: [compareArray.js, temporalHelpers.js]
features: [Temporal]
--- |
1183 |
one-of-era-erayear-undefined.js |
---
esid: sec-temporal.plainyearmonth.from
description: Throw a TypeError if only one of era/eraYear fields is present
features: [Temporal]
--- |
770 |
reference-day-chinese.js |
---
esid: sec-temporal.calendar.prototype.yearmonthfromfields
description: Reference ISO day is chosen to be the first of the calendar month
info: |
6.d. Perform ! CreateDataPropertyOrThrow(_fields_, *"day"*, *1*<sub>𝔽</sub>).
e. Let _result_ be ? CalendarDateToISO(_calendar_.[[Identifier]], _fields_, _options_).
includes: [temporalHelpers.js]
features: [Temporal]
--- |
4413 |
reference-day-gregory.js |
---
esid: sec-temporal.calendar.prototype.yearmonthfromfields
description: Reference ISO day is chosen to be the first of the calendar month
info: |
6.d. Perform ! CreateDataPropertyOrThrow(_fields_, *"day"*, *1*<sub>𝔽</sub>).
e. Let _result_ be ? CalendarDateToISO(_calendar_.[[Identifier]], _fields_, _options_).
includes: [temporalHelpers.js]
features: [Temporal]
--- |
1627 |
reference-day-hebrew.js |
---
esid: sec-temporal.calendar.prototype.yearmonthfromfields
description: Reference ISO day is chosen to be the first of the calendar month
info: |
6.d. Perform ! CreateDataPropertyOrThrow(_fields_, *"day"*, *1*<sub>𝔽</sub>).
e. Let _result_ be ? CalendarDateToISO(_calendar_.[[Identifier]], _fields_, _options_).
includes: [temporalHelpers.js]
features: [Temporal]
--- |
3045 |
remapping-era.js |
---
esid: sec-temporal.plainyearmonth.from
description: Test remapping behaviour of regnal eras
info: |
CalendarYearMonthFromFields:
1. Perform ? CalendarResolveFields(_calendar_, _fields_, ~year-month~).
2. Let _firstDayIndex_ be the 1-based index of the first day of the month
described by _fields_ (i.e., 1 unless the month's first day is skipped by
this calendar.)
3. Set _fields_.[[Day]] to _firstDayIndex_.
4. Let result be ? CalendarDateToISO(_calendar_, _fields_, _overflow_).
CalendarResolveFields:
When the fields of _fields_ are inconsistent with respect to a non-unset
_fields_.[[Era]], it is recommended that _fields_.[[Era]] and
_fields_.[[EraYear]] be updated to resolve the inconsistency by lenient
interpretation of out-of-bounds values (rather than throwing a *RangeError*),
which is particularly useful for consistent interpretation of dates in
calendars with regnal eras.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
4671 |
shell.js |
---
description: |
This defines helper objects and functions for testing Temporal.
defines: [TemporalHelpers]
features: [Symbol.species, Symbol.iterator, Temporal]
--- |
47572 |