setHour

@CanIgnoreReturnValue
open fun setHour(@IntRange(from = 0, to = 23) hour: Int): MaterialTimePicker.Builder

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.