Open
Description
This would be ideal for usability of the Duration
type, and promote more compatibility with other crates. It's been mentioned a few times over the years, and was a goal back in 2016.
As back then, this would be a major breaking change and would need to be prepared for 0.5. core::time::Duration
also doesn't have some of the utility methods like oldtime::Duration::days
, which we might want to replace in some fashion.
The main issue is time::Duration
's lack of support for negative durations. This will force us to change a few APIs that return possibly-negative values. It'd be good to review which APIs will change before working on the implementation.
Metadata
Metadata
Assignees
Labels
No labels