-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes in API, improved test suite and doc
`from_system` has been renamed to `now`, which is more consistent with `std::time::Instant` and `std::time::SystemTime`. It also avoids confusion with the newly-introduced `from_system_time`, wich takes a `SystemTime` as argument. A couple of methods have been added: `as/from_system_time` and `from_unix_timestamp`. The test suite should now be fairly comprehensive.
- Loading branch information
Showing
2 changed files
with
399 additions
and
207 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.