Linus Groh
61bdbe712e
LibJS: Remove duplicate steps for offset-only time zones
...
This is an editorial change in the Temporal spec.
See: 7813599
2022-06-24 22:12:03 +01:00
Linus Groh
34f02bed17
LibJS: Remove check for Instant range before subtracting UTC offset
...
This is a normative change in the Temporal spec.
See: 5e2fecb
2022-06-24 22:12:03 +01:00
Linus Groh
9c31fee4b5
LibJS: Remove unnecessary modulo operation in GetISOPartsFromEpoch
...
This is an editorial change in the Temporal spec.
See: fc3f80d
2022-06-24 22:12:03 +01:00
Linus Groh
0ff6260afb
LibJS: Use ToTemporalDuration in AddDu/ToOrSubtractDu/FromPlainYearMonth
...
This is an editorial change in the Temporal spec.
See: a454134
2022-06-24 22:12:03 +01:00
Linus Groh
5b1e2cc65c
LibJS: Update AdjustRoundedDurationDays function signature comment
...
I missed this in a25c5d8
. Thanks to Idan for noticing :^)
2022-06-18 13:58:08 +01:00
Linus Groh
7a8e6cf6c6
LibJS: Move MergeLists into non-Temporal ECMA-262 amendments
...
This is an editorial change in the Temporal spec.
See: 4ce3db1
2022-06-18 13:54:46 +01:00
Linus Groh
0c3d2b656e
LibJS: Rename CalendarMergeFieldNames to MergeLists
...
This is an editorial change in the Temporal spec.
See: bebf467
2022-06-18 13:54:46 +01:00
Linus Groh
e685896403
LibJS: Check value is an Object before checking for internal slots
...
This is an editorial change in the Temporal spec.
See: d96e662
2022-06-18 13:54:46 +01:00
Linus Groh
a25c5d8fe8
LibJS: Make relativeTo required for AdjustRoundedDurationDays
...
This is an editorial change in the Temporal spec.
See: 48e0a15
2022-06-18 13:54:46 +01:00
Linus Groh
2c647da0b5
LibJS: Mark AddInstant in AddZonedDateTime as fallible
...
This is an editorial change in the Temporal spec.
See: 8bc0f98
2022-06-15 17:49:20 +01:00
Linus Groh
b2965cf204
LibJS: Fix Instant rounding modes
...
This is a normative change in the Temporal spec.
See: 0993b75
2022-06-15 17:49:20 +01:00
Linus Groh
1755d051fd
LibJS: Mark two calls as infallible in DifferenceTemporalPlainTime
...
This is an editorial change in the Temporal spec.
See: 0e4966a
2022-06-15 17:49:20 +01:00
Linus Groh
36ef604905
LibJS: Assume options is an object in the DifferenceZonedDateTime AO
...
This is an editorial change in the Temporal spec.
See: a6662f1
2022-06-15 17:49:20 +01:00
Linus Groh
52a4ee563d
LibJS: Assume options is an object in the MergeLargestUnitOption AO
...
This is an editorial change in the Temporal spec.
See: 20a04ac
2022-06-15 17:49:20 +01:00
Linus Groh
569c2dc1d0
LibJS: Adjust order of operations in ISO{Date,MonthDay}FromFields
...
This is a normative change in the Temporal spec.
See: 7dd90dc
2022-06-15 17:49:20 +01:00
Linus Groh
3bc54ac75a
LibJS: Mark a call of CreateDurationRecord as fallible
...
This is an editorial change in the Temporal spec.
See: 462f027
2022-06-15 17:49:20 +01:00
Linus Groh
81b9a2e4a1
LibJS: Mark a call of CreateDateDurationRecord as fallible
...
This is an editorial change in the Temporal spec.
See: 5411f62
2022-06-15 17:49:20 +01:00
Linus Groh
8be4cc9653
LibJS: Make options mandatory in Difference{Zoned,ISO}DateTime
...
This is an editorial change in the Temporal spec.
See: d4c4a16
2022-06-15 17:49:20 +01:00
Linus Groh
eaf6f20ed1
LibJS: Move assertion step around in Calendar.prototype.mergeFields
...
This is an editorial change in the Temporal spec.
See: f790821
2022-06-15 17:49:20 +01:00
Linus Groh
c0986be2c1
LibJS: Use consistent alias names for object-copy steps
...
This is an editorial change in the Temporal spec.
See: 6669bad
2022-06-15 17:49:20 +01:00
Linus Groh
e68173b656
LibJS: Update AvailableCalendars AO to reflect spec changes
...
These are editorial and normative changes in the Temporal spec.
See:
- 2c977fc
- 3af75ec
- 75ea812
- e7be49b
- 883e00a
- 5b9d76a
2022-06-15 17:49:20 +01:00
Linus Groh
3025f77991
LibJS: Add an explicit operation for merging calendar field names
...
This is an editorial change in the Temporal spec.
See: 2bd7977
2022-06-15 17:49:20 +01:00
Linus Groh
ee80164ac1
LibJS: Remove unnecessary variable initialization in DifferenceISODate
...
This is an editorial change in the Temporal spec.
See: ca1abdc
2022-06-15 17:49:20 +01:00
Linus Groh
fafc9b07c4
LibJS: Mark AO calls creating a copy of built-in objects as infallible
...
This is an editorial change in the Temporal spec.
See: 536f067
2022-06-15 17:49:20 +01:00
Linus Groh
be2c86002a
LibJS: Handle absent options in DifferenceZonedDateTime
...
This is an editorial change in the Temporal spec.
See: edc223c
2022-06-15 17:49:20 +01:00
Linus Groh
5eb48f6f3a
LibJS: Remove constant arguments from CalculateOffsetShift
...
This is an editorial change in the Temporal spec.
See: 0bc5f9d
2022-06-15 17:49:20 +01:00
Linus Groh
2ce3d4389a
LibJS: Use existing variable instead of re-reading internal slot
...
This is an editorial change in the Temporal spec.
See: 8d62569
2022-06-15 17:49:20 +01:00
Linus Groh
a7dfe9096c
LibJS: Switch branches in RegulateISODate
...
This is an editorial change in the Temporal spec.
See: 2e4a06f
2022-06-15 17:49:20 +01:00
Linus Groh
07041498f8
LibJS: Inline ConstrainISOYearMonth into RegulateISOYearMonth
...
This is an editorial change in the Temporal spec.
See: c97932b
2022-06-15 17:49:20 +01:00
Linus Groh
aaa9524a52
LibJS: Add parentheses around modulo operation
...
This is an editorial change in the Temporal spec.
See: 90e4b34
2022-06-15 17:49:20 +01:00
Linus Groh
287dd03e2e
LibJS: Use nsMinInstant / nsMaxInstant constants in ParseTemporalInstant
...
This is an editorial change in the Temporal spec.
See: a045682
2022-06-15 17:49:20 +01:00
Linus Groh
690585323d
LibJS: Prefer Else + Assertion over If for constrained values
...
This is an editorial change in the Temporal spec.
See: 2088eaa
2022-06-15 17:49:20 +01:00
Linus Groh
9b3602d000
LibJS: Update missing/superfluous commas in various spec comments
...
These are editorial changes in the Temporal spec.
See:
- 9586746
- 3c76ecc
- 96eab07
2022-06-15 17:49:20 +01:00
Linus Groh
30328d74d0
LibJS: Use MaximumTemporalDurationRoundingIncrement in two more places
...
This is an editorial change in the Temporal spec.
See: de582e2
2022-06-15 17:49:20 +01:00
Linus Groh
6c82c9df79
LibJS: Fix GetIterator capitalization in Calendar.prototype.fields
...
This is an editorial change in the Temporal spec.
See: 8538970
2022-06-15 17:49:20 +01:00
Linus Groh
9d2377ff60
LibJS: Only call CanonicalizeTimeZoneName on valid time zone IDs
...
This is an editorial change in the Temporal spec.
See: 30122e6
2022-06-15 17:49:20 +01:00
Linus Groh
cf61d01140
LibJS: Add a named alias for parseResult.[[Name]] in ToTemporalTimeZone
...
This is an editorial change in the Temporal spec.
See: 8ddcb07
2022-06-15 17:49:20 +01:00
Linus Groh
71a519831d
LibJS: Update to the latest ECMA-402 GetOption and move it into ECMA-262
...
This is an editorial change in the Temporal spec.
See: 4e79b69
2022-06-15 17:49:20 +01:00
Linus Groh
46d2ac6da4
LibJS: Align Temporal GetOption AO with ECMA-402
...
This is an editorial change in the Temporal spec.
See: 7b6a264
2022-06-15 17:49:20 +01:00
Linus Groh
c8d84f33b0
LibJS: Remove unused GetStringOrNumberOption operation
...
This is an editorial change in the Temporal spec.
See: d8b3423
2022-06-15 17:49:20 +01:00
Linus Groh
d1b71cba25
LibJS: Explicitly handle "auto" vs. number fractionalSecondDigits
...
This is an editorial change in the Temporal spec.
See:
- 4dd6713
- 4c2476b
- f1a839b
- c775ebe
- 0409774
(Changes across multiple commits, that ended up being reverted.)
2022-06-15 17:49:20 +01:00
Linus Groh
cbc4cf057d
LibJS: Improve an alias name in ToSecondsStringPrecision
...
This is an editorial change in the Temporal spec.
See: b75bd9e
2022-06-15 17:49:20 +01:00
Linus Groh
4494be8cf2
LibJS: Inline call to AddISODate in ZonedDateTime.prototype.hoursInDay
...
This is an editorial change in the Temporal spec.
See: f034239
2022-06-15 17:49:20 +01:00
Linus Groh
810e9e32c9
LibJS: Remove RegulateISODate after BalanceISODate in AddISODate
...
This is an editorial change in the Temporal spec.
See: 32b22b1
2022-06-15 17:49:20 +01:00
Linus Groh
e96df3b7a7
LibJS: Leverage PrepareTemporalFields in ToTemporalTimeRecord
...
This is an editorial change in the Temporal spec.
See: b5ba981
2022-06-15 17:49:20 +01:00
Linus Groh
6cc69bbd8e
LibJS: Rename ToPartialDuration to ToTemporalPartialDurationRecord
...
This is an editorial change in the Temporal spec.
See: 0509d41
2022-06-15 17:49:20 +01:00
Linus Groh
6982e53113
LibJS: Leverage ToPartialDuration in ToTemporalDurationRecord
...
This is an editorial change in the Temporal spec.
See: c3efde0
2022-06-15 17:49:20 +01:00
Linus Groh
9bcd88828f
LibJS: Fold ToPartialTime into ToTemporalTimeRecord
...
This is an editorial change in the Temporal spec.
See: 58e476d
2022-06-15 17:49:20 +01:00
Linus Groh
3e6561c75f
LibJS: Fold PreparePartialTemporalFields into PrepareTemporalFields
...
This is an editorial change in the Temporal spec.
See: 6ed1835
2022-06-15 17:49:20 +01:00
Linus Groh
631f270ac1
LibJS: Add missing conversion to integer values in Calendar AOs
...
This is an editorial change in the Temporal spec.
See: bfeb523
2022-06-15 17:49:20 +01:00