Skip to main content

ax_timestamp_stn_to_unix_nanos

Function ax_timestamp_stn_to_unix_nanos 

Source
pub fn ax_timestamp_stn_to_unix_nanos(
    seconds: i64,
    nanos: i64,
) -> Result<UnixNanos>
Expand description

Converts AX ts (seconds) + tn (nanoseconds) fields to [UnixNanos].

ยงErrors

Returns an error if seconds is negative (malformed data from AX).