Label Date Format
Defined in library scandit_datacapture_label
- LabelDateFormat
class LabelDateFormatAdded in version 7.2.0
Defines the expected format for parsing dates from captured text fields. This class specifies how date components (day, month, year) are ordered and whether partial dates should be accepted during the parsing process.
Used in conjunction with date text fields like ExpiryDateText and PackingDateText to ensure accurate date recognition and parsing.
- LabelDateFormat(componentFormat, acceptPartialDates)
LabelDateFormat(LabelDateComponentFormat componentFormat, bool acceptPartialDates)
Added in version 7.2.0
Constructs an instance of this class with the provided parameters.
- componentFormat
LabelDateComponentFormat get componentFormat
Added in version 7.2.0
Holds the expected order for the date components. Defaults to LabelDateComponentFormat.ymd.