-
Notifications
You must be signed in to change notification settings - Fork 741
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Duration#normalize, shiftTo and shiftToAll (#1498)
* Fix normalizeValues not converting fractional units into lower order units * Clarify Duration#normalize with fractional parts * Add tests for new Duration#normalize behavior * Add tests for shiftTo and shiftToAll only producing fractions in the lowest unit * Finish Duration#normalize fourth example
- Loading branch information
1 parent
8eff275
commit e3c4004
Showing
2 changed files
with
80 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters