hours

fun hours(text: String = ""): TimepickerElement

Returns type HOUR with the text.

Return

The new TimepickerElement instance with Type.Hours style for time string.

Parameters

text

The text show besides the hour number.