Android 12 Developer Preview is here! Try it out, and give us your feedback!

TimeFormat

public abstract @interface TimeFormat
implements Annotation

com.google.android.material.timepicker.TimeFormat


Types of formats for the time picker

Summary

Constants

int CLOCK_12H

int CLOCK_24H

Inherited methods

Constants

CLOCK_12H

public static final int CLOCK_12H

Constant Value: 0 (0x00000000)

CLOCK_24H

public static final int CLOCK_24H

Constant Value: 1 (0x00000001)