FreeBSD/contrib/ntp/libntp/ntp_calendar.c
/*
 *---------------------------------------------------------------------
 * convert a year number to rata die of year start
 *---------------------------------------------------------------------
 */
convert a year number to rata die of year start
convert a year number to rata die of year start
int32_t
ntpcal_year_to_ystart(
	int32_t year
	)
{
	return ntpcal_days_in_years(year - 1) + 1;
}
int32_t ntpcal_year_to_ystart ( int32_t year ) { return ntpcal_days_in_years ( year - 1 ) + 1 ; }
convert a year number to rata die of year start
convert a year number to rata die of year start