-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editorial: Split total() code path out of RoundRelativeDuration
In #2758 we kept the code paths for Duration.p.round() and Duration.p.total() the same. However, it is actually simpler to separate them in most places, except for NudgeToCalendarUnit. - Splits TotalRelativeDuration out of RoundRelativeDuration - Splits TotalTimeDuration out of RoundTimeDuration - Splits DifferenceZonedDateTimeWithTotal out of DifferenceZonedDateTimeWithRounding - Splits DifferencePlainDateTimeWithTotal out of DifferencePlainDateTimeWithRounding - Removes [[Total]] field from Nudge Result Record - Changes NudgeToCalendarUnit to return a record of { [[NudgeResult]], [[Total]] } Closes: #2947
- Loading branch information
Showing
8 changed files
with
288 additions
and
146 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
Oops, something went wrong.