pub unsafe extern "C" fn ion_timestamp_get_local_offset(
    ptime: *mut ION_TIMESTAMP,
    p_offset_minutes: *mut c_int
) -> iERR
Expand description

Gets the effective local offset of a timestamp. The result is zero for timestamps with offsets “Z”, “+00:00”, or “-00:00”. In other words, if ion_timestamp_has_local_offset returns false, this returns zero.

@param ptime the timestamp to inspect. @param p_local_offset the return value, in minutes from GMT; zero when the local offset is unknown.

@return IERR_INVALID_ARG if any parameter is null; IERR_NULL_VALUE if the timestamp is null.timestamp.