# TimeFormat

[View Source](https://github.com/material-components/material-components-android/blob/1.14.0/lib/java/com/google/android/material/timepicker/TimeFormat.java)

*** ** * ** ***


```
@Retention(value = RetentionPolicy.SOURCE)
public annotation TimeFormat
```

<br />

*** ** * ** ***

Types of formats for the time picker

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/com/google/android/material/timepicker/TimeFormat#CLOCK_12H() = 0` |
| `static final int` | `https://developer.android.com/reference/com/google/android/material/timepicker/TimeFormat#CLOCK_24H() = 1` |

## Constants

### CLOCK_12H

```
public static final int CLOCK_12H = 0
```

### CLOCK_24H

```
public static final int CLOCK_24H = 1
```