@@ -1837,15 +1837,15 @@ <h1>
18371837 <emu-alg >
18381838 1. NOTE: The following steps read options and perform independent validation in alphabetical order.
18391839 1. Let _largestUnit_ be ? GetTemporalUnitValuedOption(_options_ , *"largestUnit"* , ~unset~ ).
1840+ 1. Let _roundingIncrement_ be ? GetRoundingIncrementOption(_options_ ).
1841+ 1. Let _roundingMode_ be ? GetRoundingModeOption(_options_ , ~trunc~ ).
1842+ 1. Let _smallestUnit_ be ? GetTemporalUnitValuedOption(_options_ , *"smallestUnit"* , ~unset~ ).
18401843 1. Perform ? ValidateTemporalUnitValue(_largestUnit_ , _unitGroup_ , « ~auto~ »).
18411844 1. If _largestUnit_ is ~unset~ , then
18421845 1. Set _largestUnit_ to ~auto~ .
18431846 1. If _disallowedUnits_ contains _largestUnit_ , throw a *RangeError* exception.
1844- 1. Let _roundingIncrement_ be ? GetRoundingIncrementOption(_options_ ).
1845- 1. Let _roundingMode_ be ? GetRoundingModeOption(_options_ , ~trunc~ ).
18461847 1. If _operation_ is ~since~ , then
18471848 1. Set _roundingMode_ to NegateRoundingMode(_roundingMode_ ).
1848- 1. Let _smallestUnit_ be ? GetTemporalUnitValuedOption(_options_ , *"smallestUnit"* , ~unset~ ).
18491849 1. Perform ? ValidateTemporalUnitValue(_smallestUnit_ , _unitGroup_ ).
18501850 1. If _smallestUnit_ is ~unset~ , then
18511851 1. Set _smallestUnit_ to _fallbackSmallestUnit_ .
0 commit comments