Add functions Duration::try_from_secs_{f32, f64}
#82179
Merged
Duration::try_from_secs_{f32, f64}
#82179