nstd_time_sub

Function nstd_time_sub 

Source
#[unsafe(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.