-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce abstract operation TotalDurationNanoseconds
This operation gives the total number of nanoseconds in an exact duration as a bigint, not losing precision. This will be reused in Duration.compare(). This operation takes an "offset shift" parameter, used if there are days that need to be balanced down to hours. If it's 0 (as is the case everywhere in this commit) then days are always 24 hours. We will start using nonzero values for this in Duration.compare(). See: #856
- Loading branch information
Showing
2 changed files
with
31 additions
and
6 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