MLKitEntityExtraction Framework Reference

DateTimeGranularity

enum DateTimeGranularity : Int

@enum DateTimeGranularity The precision of a timestamp that was extracted from text.

For example, “tomorrow” has the granularity .day, while “12:51” has the granularity .minute.