-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support zero scalar for-duration calculations
The first active period in the chosen direction is found and the time at the beginning of that period returned. If the specified origin is in the middle of an active period, that time is returned. The same logic is applied looking forward or backward with the only difference being the direction. Fixes #59.
- Loading branch information
1 parent
155acf4
commit 5cd0554
Showing
2 changed files
with
105 additions
and
8 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