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