Function gnunet_sys::GNUNET_TIME_year_to_time[][src]

pub unsafe extern "C" fn GNUNET_TIME_year_to_time(
    year: c_uint
) -> GNUNET_TIME_Absolute

Convert a year to an expiration time of January 1st of that year.

@param year a year (after 1970, please ;-)). @return absolute time for January 1st of that year.