/* Increments a date with one second. 
This function will add one second to specified date. If second is 59, it will increment minute. */
void calendar_add_second_to_date(struct calendar_date *date)
/* Increments a date with one second. 
This function will add one second to specified date. If second is 59, it will increment minute. */
void calendar_add_second_to_date(struct calendar_date *date)
{
	Assert(calendar_is_date_valid(date));
	if (++date->second == 60) {
		date->second = 0;
		calendar_add_minute_to_date(date);
	}
}