Function nstd_sys::time::nstd_time_sub

source ·
#[no_mangle]
pub extern "C" fn nstd_time_sub(
    time: NSTDTime,
    duration: NSTDDuration
) -> NSTDTime
Available on crate feature time only.
Expand description

Computes the subtraction between an NSTDTime object and an NSTDDuration.

Parameters:

  • NSTDTime time - The time object

  • NSTDDuration duration - The duration to subtract.

Returns

NSTDTime time - The result of the subtraction.