Label Date Format
Defined in package com.scandit.datacapture.label.data
- LabelDateFormat
class LabelDateFormatAdded in version 7.1.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()
LabelDateFormat(LabelDateComponentFormat componentFormat,
booleanacceptPartialDates)Added in version 7.1.0
Constructs an instance of this class with the provided parameters.
- componentFormat
LabelDateComponentFormat getComponentFormat()
Added in version 7.1.0
Holds the expected order for the date components. Defaults to LabelDateComponentFormat.YMD.
- acceptPartialDates
booleangetAcceptPartialDates()Added in version 7.1.0
Whether or not to accept partial dates corresponding to the specified component format. Defaults to true.