Add support for time type
Created by: davecromberge
Aggregation functions working with a time duration no longer accept both an integer
and a time
representation of a time duration. This makes it easier for users of the function table to distinguish between arithmetic and time-based funs.