Label Date Format

Defined under the namespace Scandit.Datacapture.Label

LabelDateFormat
class LabelDateFormat

Added in version 7.2.0

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

constructor(componentFormat, acceptPartialDates)
constructor(componentFormat: LabelDateComponentFormat,
        acceptPartialDates: boolean)

Added in version 7.2.0

Constructs an instance of this class with the provided parameters.

componentFormat
get componentFormat(): LabelDateComponentFormat

Added in version 7.2.0

Holds the expected order for the date components. Defaults to LabelDateComponentFormat.YMD.

acceptPartialDates
get acceptPartialDates(): boolean

Added in version 7.2.0

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