fn time_unit(t: &Type) -> Option<TimeUnit>
Returns the unit of a TIME or TIMESTAMP type, or None if t has no unit
TIME
TIMESTAMP
None
t