Skip to main content

time_unit

Function time_unit 

Source
fn time_unit(t: &Type) -> Option<TimeUnit>
Expand description

Returns the unit of a TIME or TIMESTAMP type, or None if t has no unit