Label Date Result
Defined in framework ScanditLabelCapture
- LabelDateResult
open class LabelDateResult : NSObject, Sendable
Added in version 7.1.0
Represents the result of parsing a date from captured text using a LabelDateFormat. Contains the individual date components (day, month, year) in both numeric and string formats.
This class is returned when date text fields are successfully parsed according to the configured date format patterns.
- day
var day:
Int? { get }Added in version 7.1.0
The parsed day, starting on 1. Can be nil if the parsing fails.
- month
var month:
Int? { get }Added in version 7.1.0
The parsed month, starting on 1 for January. Can be nil if the parsing fails.
- year
var year:
Int? { get }Added in version 7.1.0
The parsed year, starting on 1. Can be nil if the parsing fails.