@@ -1866,15 +1866,15 @@ <h1>
1866
1866
<emu-alg >
1867
1867
1. NOTE: The following steps read options and perform independent validation in alphabetical order.
1868
1868
1. Let _largestUnit_ be ? GetTemporalUnitValuedOption(_options_ , *"largestUnit"* , ~unset~ ).
1869
+ 1. Let _roundingIncrement_ be ? GetRoundingIncrementOption(_options_ ).
1870
+ 1. Let _roundingMode_ be ? GetRoundingModeOption(_options_ , ~trunc~ ).
1871
+ 1. Let _smallestUnit_ be ? GetTemporalUnitValuedOption(_options_ , *"smallestUnit"* , ~unset~ ).
1869
1872
1. Perform ? ValidateTemporalUnitValue(_largestUnit_ , _unitGroup_ , « ~auto~ »).
1870
1873
1. If _largestUnit_ is ~unset~ , then
1871
1874
1. Set _largestUnit_ to ~auto~ .
1872
1875
1. If _disallowedUnits_ contains _largestUnit_ , throw a *RangeError* exception.
1873
- 1. Let _roundingIncrement_ be ? GetRoundingIncrementOption(_options_ ).
1874
- 1. Let _roundingMode_ be ? GetRoundingModeOption(_options_ , ~trunc~ ).
1875
1876
1. If _operation_ is ~since~ , then
1876
1877
1. Set _roundingMode_ to NegateRoundingMode(_roundingMode_ ).
1877
- 1. Let _smallestUnit_ be ? GetTemporalUnitValuedOption(_options_ , *"smallestUnit"* , ~unset~ ).
1878
1878
1. Perform ? ValidateTemporalUnitValue(_smallestUnit_ , _unitGroup_ ).
1879
1879
1. If _smallestUnit_ is ~unset~ , then
1880
1880
1. Set _smallestUnit_ to _fallbackSmallestUnit_ .
0 commit comments