fn sas_time_to_ns(val: f64) -> Option<i64>
Converts a SAS time (seconds since midnight, possibly fractional) to nanoseconds, rounding rather than truncating.