Function add_n_months_nanos

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

Add n months to a given UNIX nanoseconds timestamp.

§Errors

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