Label Date Result
Defined in library scandit_datacapture_label
- LabelDateResult
class LabelDateResultAdded in version 7.2.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
int? get day
Added in version 7.2.0
When running on Android, the parsed day starts on 1 and can be null if the parsing fails. When running on iOS, the parsed day starts on 1 and if the parsing fails, -1 is returned.
- month
int? get month
Added in version 7.2.0
When running on Android, the parsed month starts on 1 for January. Can be null if the parsing fails. When running on iOS, the parsed month starts on 1 for January. If the parsing fails, -1 is returned.