AI-generated Key Takeaways
-
DateTimeEntity is an object that represents a date and time extracted from text.
-
It provides the parsed date and time as a
Dateobject. -
It specifies the granularity (precision) of the detected date and time.
-
The initializer for this class is unavailable, implying that it's likely created internally by the system.
DateTimeEntity
class DateTimeEntity : NSObjectA date and time entity extracted from text.
-
The parsed date and time.
Declaration
Swift
var dateTime: Date { get } -
The granularity of the date and time.
Declaration
Swift
var dateTimeGranularity: DateTimeGranularity { get } -
Unavailable.