Function ion_c_sys::ion_timestamp_for_second[][src]

pub unsafe extern "C" fn ion_timestamp_for_second(
    ptime: *mut ION_TIMESTAMP,
    year: c_int,
    month: c_int,
    day: c_int,
    hours: c_int,
    minutes: c_int,
    seconds: c_int
) -> iERR
Expand description

Initialize ION_TIMESTAMP object with value specified. It will have ION_TS_SEC precision

Higher precision field (fraction) will be set to 0. Local time zone will be cleared. ion_timestamp_has_local_offset will be false, and ion_timestamp_get_local_offset will be zero.