MLKitEntityExtraction Framework Reference

MLKDateTimeEntity


@interface MLKDateTimeEntity : NSObject

A date and time entity extracted from text.

  • The parsed date and time.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSDate *_Nonnull dateTime;
  • The granularity of the date and time.

    Declaration

    Objective-C

    @property (nonatomic, readonly) MLKDateTimeGranularity dateTimeGranularity;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;