pub fn seconds(v: f64) -> Option<Duration>
A duration from a number of seconds; None when the value cannot be one (not positive, not finite, or too large for Duration — a plain conversion panics on 1e20).
None
Duration
1e20