Page Summary
-
DateTimeEntity.DateTimeGranularity is an annotation that represents the precision of a timestamp extracted from text.
-
Examples like "tomorrow" and "12:51" demonstrate different granularity levels, such as day and minute.
-
This annotation inherits standard methods from the java.lang.annotation.Annotation interface.
The precision of a timestamp that was extracted from text.
For example, "tomorrow" has the granularity
DateTimeEntity.GRANULARITY_DAY, while "12:51" will have the granularity
DateTimeEntity.GRANULARITY_MINUTE.