//! Time-conversion helpers shared across the workspace.
use ;
/// Convert an `f64` of seconds-since-the-Unix-epoch into a [`SystemTime`].
///
/// Returns an error instead of panicking on non-finite, negative, or
/// out-of-range input. This matters because the value often arrives straight
/// off the wire or from a Python caller, and [`Duration::from_secs_f64`] panics
/// on exactly those cases.