Function subtract_n_months_nanos

Source
pub fn subtract_n_months_nanos(
    unix_nanos: UnixNanos,
    n: u32,
) -> Result<UnixNanos>
Expand description

Subtract n months from a given UNIX nanoseconds timestamp.

§Errors

Returns an error if the resulting timestamp is out of range or invalid.