Stay organized with collections
Save and categorize content based on your preferences.
public
abstract
@interface
TimeFormat
implements
Annotation
com.google.android.material.timepicker.TimeFormat
|
Types of formats for the time picker
Summary
Inherited methods |
From interface
java.lang.annotation.Annotation
abstract
Class<? extends Annotation>
|
annotationType()
|
abstract
boolean
|
equals(Object arg0)
|
abstract
int
|
hashCode()
|
abstract
String
|
toString()
|
|
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)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# TimeFormat\n\nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nTimeFormat\n==========\n\n\n`\npublic\n\n\nabstract\n@interface\nTimeFormat\n`\n\n\n`\n\n\nimplements\n\nAnnotation\n\n\n`\n\n|---------------------------------------------------|\n| com.google.android.material.timepicker.TimeFormat |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nTypes of formats for the time picker\n\nSummary\n-------\n\n| ### Constants ||\n|-------|-------------------------------------------------------------------------------------|\n| `int` | [CLOCK_12H](/reference/com/google/android/material/timepicker/TimeFormat#CLOCK_12H) |\n| `int` | [CLOCK_24H](/reference/com/google/android/material/timepicker/TimeFormat#CLOCK_24H) |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From interface ` java.lang.annotation.Annotation ` |-----------------------------------------|-------------------------| | ` abstract Class\u003c? extends Annotation\u003e` | ` annotationType() ` | | ` abstract boolean` | ` equals(Object arg0) ` | | ` abstract int` | ` hashCode() ` | | ` abstract String` | ` toString() ` | ||\n\nConstants\n---------\n\n### CLOCK_12H\n\n```\npublic static final int CLOCK_12H\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)\n\n\n### CLOCK_24H\n\n```\npublic static final int CLOCK_24H\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)"]]