-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve and extend DateTime/DateTimeOffset generation (#252)
* Improve correctness of Gen.dateTime docs * Add Gen.dateTimeOffset * Add Gen.dateTimeRanged and Gen.dateTimeOffsetRanged * Implement dateTime and dateTimeOffset in terms of their ranged variants * Cleanup * Fix overflow bug in arithmetic * Use linear range for offset * Remove non-ranged dateTime/dateTimeOffset * Update src/Hedgehog/Gen.fs Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com> Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
- Loading branch information
1 parent
4e4f5c9
commit a687653
Showing
2 changed files
with
31 additions
and
13 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