Label Date Result
Defined under the namespace 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
get day(): number | null
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
get month(): number | null
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.