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

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

Higher precision fields (month, day, min, sec, 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.