/* This function tells how many days in a month of a year.  */
static u8 days_in_month(u8 month, u8 year)
/* This function tells how many days in a month of a year.  */
static u8 days_in_month(u8 month, u8 year)
{
	u8 ret = dim[month];
	if (ret == 0)
		ret = is_leap_year (year) ? 29 : 28;
	return ret;
}