/* Returns the total number of whole minutes in the specified timespan  */
int32_t timespanToMinutes(timespan_t *timespan)
/* Returns the total number of whole minutes in the specified timespan  */
int32_t timespanToMinutes(timespan_t *timespan)
{
  return (timespanToHours(timespan) * 60) + timespan->minutes;
}