-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split non-ZonedDateTime code path out of NanosecondsToDays
Similar to the previous commit, this makes NanosecondsToDays easier to understand and reason about. After splitting BalanceTimeDuration and BalanceTimeDurationRelative, there was only one remaining call site of NanosecondsToDays with a possible non-ZonedDateTime relativeTo, in RoundDuration. Instead, inline the 24-hour day case into the call site. UPSTREAM_COMMIT=dffb9298e0c95c8212a624058652ee7f8dba2cdd
- Loading branch information
Showing
1 changed file
with
17 additions
and
19 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