Skip to content

Commit 80852fe

Browse files
sffcptomato
authored andcommitted
Normative: Re-order operations in GetDifferenceSettings
1 parent 5f93566 commit 80852fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/abstractops.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,15 +1865,15 @@ <h1>
18651865
<emu-alg>
18661866
1. NOTE: The following steps read options and perform independent validation in alphabetical order.
18671867
1. Let _largestUnit_ be ? GetTemporalUnitValuedOption(_options_, *"largestUnit"*, ~unset~).
1868+
1. Let _roundingIncrement_ be ? GetRoundingIncrementOption(_options_).
1869+
1. Let _roundingMode_ be ? GetRoundingModeOption(_options_, ~trunc~).
1870+
1. Let _smallestUnit_ be ? GetTemporalUnitValuedOption(_options_, *"smallestUnit"*, ~unset~).
18681871
1. Perform ? ValidateTemporalUnitValue(_largestUnit_, _unitGroup_).
18691872
1. If _largestUnit_ is ~unset~, then
18701873
1. Set _largestUnit_ to ~auto~.
18711874
1. If _disallowedUnits_ contains _largestUnit_, throw a *RangeError* exception.
1872-
1. Let _roundingIncrement_ be ? GetRoundingIncrementOption(_options_).
1873-
1. Let _roundingMode_ be ? GetRoundingModeOption(_options_, ~trunc~).
18741875
1. If _operation_ is ~since~, then
18751876
1. Set _roundingMode_ to NegateRoundingMode(_roundingMode_).
1876-
1. Let _smallestUnit_ be ? GetTemporalUnitValuedOption(_options_, *"smallestUnit"*, ~unset~).
18771877
1. Perform ? ValidateTemporalUnitValue(_smallestUnit_, _unitGroup_).
18781878
1. If _smallestUnit_ is ~unset~, then
18791879
1. Set _smallestUnit_ to _fallbackSmallestUnit_.

0 commit comments

Comments
 (0)