Odniesienie do platformy MLKitEntityExtraction
DateTimeEntity
class DateTimeEntity : NSObject
Data i godzina wyodrębniona z tekstu.
-
Przeanalizowana data i godzina.
Deklaracja
Swift
var dateTime: Date { get }
-
Szczegółowość daty i godziny.
-
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-22 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-22 UTC."],[[["DateTimeEntity is an object that represents a date and time extracted from text."],["It provides the parsed date and time as a `Date` object."],["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."]]],["The `DateTimeEntity` class extracts date and time information from text. It provides two key properties: `dateTime`, a `Date` object representing the parsed date and time, and `dateTimeGranularity`, which indicates the precision level of the extracted date and time using a `DateTimeGranularity` enum. The class's initializer (`init`) is unavailable for direct use.\n"]]