# DateTimeEntity.DateTimeGranularity

public static abstract @interface **DateTimeEntity.DateTimeGranularity** implements [Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html) The precision of a timestamp that was extracted from text.

For example, "tomorrow" has the granularity `https://developers.google.com/android/reference/com/google/mlkit/nl/entityextraction/DateTimeEntity#GRANULARITY_DAY`, while "12:51" will have the granularity
`https://developers.google.com/android/reference/com/google/mlkit/nl/entityextraction/DateTimeEntity#GRANULARITY_MINUTE`.

### Inherited Method Summary

From interface java.lang.annotation.Annotation

|---|---|
| abstract [Class](https://developer.android.com/reference/java/lang/Class.html)\<? extends [Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)\> | annotationType() |
| abstract boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| abstract int | hashCode() |
| abstract [String](https://developer.android.com/reference/java/lang/String.html) | toString() |