Label Date Format

Defined in library scandit_datacapture_label

LabelDateFormat
class LabelDateFormat

Added in version 7.2.0

This class holds the expected format for a particular date label.

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.

acceptPartialDates
bool get acceptPartialDates

Added in version 7.2.0

Whether or not to accept partial dates corresponding to the specified component format. Defaults to true.