set Hour
fun setHour(@IntRange(from = 0.toLong(), to = 23.toLong() ) hour: Int): MaterialTimePicker.Builder
Content copied to clipboard
Sets the hour with which to start the time picker.
Parameters
hour
The hour value is independent of the time format (.setTimeFormat), and should always be a number in the 0, 23 range.