/// Normalises a `NativeTime` to a single floating point value in hours.
///
/// # Parameters
///
/// * `time` - the time to normalise
Normalises a `NativeTime` to a single floating point value in hours.
Normalises a ` NativeTime ` to a single floating point value in hours .
fn normalised_time_of_day(time: NaiveTime) -> f64 {
    time.hour() as f64
        + time.minute() as f64 / 60.0
        + time.second() as f64 / 3_600.0
        + time.nanosecond() as f64 / 3_600_000_000_000.0
}
fn normalised_time_of_day ( time : NaiveTime ) -> f64 { time . hour ( ) as f64 + time . minute ( ) as f64 / 60.0 + time . second ( ) as f64 / 3_600.0 + time . nanosecond ( ) as f64 / 3_600_000_000_000.0 }
Normalises a `NativeTime` to a single floating point value in hours.
Normalises a ` NativeTime ` to a single floating point value in hours .
time
NaiveTime