MLKitEntityExtraction Çerçevesi Referansı
DateTimeEntity
class DateTimeEntity : NSObject
Metinden çıkarılan tarih ve saat öğesi.
-
Ayrıştırılan tarih ve saat.
Bildirim
Swift
var dateTime: Date { get }
-
Tarih ve saatin ayrıntı düzeyi.
-
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-22 UTC.
[null,null,["Son güncelleme tarihi: 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"]]