setTimeFormat

@CanIgnoreReturnValue
open fun setTimeFormat(format: Int): MaterialTimePicker.Builder

Sets the time format for the time picker.

Parameters

format

Either CLOCK_12H 12 hour format with an AM/PM toggle or CLOCK_24 24 hour format without toggle.