Label Date Format

Defined in framework ScanditLabelCapture

SDCLabelDateFormat
@interface SDCLabelDateFormat : NSObject

Added in version 7.1.0

This class holds the expected format for a particular date label.

- initWithComponentFormat:acceptPartialDates:
- (instancetype)initWithComponentFormat:(SDCLabelDateComponentFormat)format
                     acceptPartialDates:(BOOL)acceptPartialDates

Added in version 7.1.0

Constructs an instance of this class with the provided parameters.

componentFormat
@property (nonatomic, readonly) SDCLabelDateComponentFormat componentFormat

Added in version 7.1.0

Holds the expected order for the date components. Defaults to SDCLabelDateComponentFormatYMD.

acceptPartialDates
@property (nonatomic, readonly) BOOL acceptPartialDates

Added in version 7.1.0

Whether or not to accept partial dates corresponding to the specified component format. Defaults to YES.