Packing Date Text

Defined in package com.scandit.datacapture.label.capture

PackingDateText
class PackingDateText : TextField

Added in version 6.21.0

This class is used to define a packing date field in a LabelDefinition.

name
@NonNull String getName()

Added in version 6.21.0

Returns the name associated with this instance.

patterns
@NonNull List<@NonNull String> getPatterns()

Added in version 6.21.0

Returns the list of patterns associated with this instance.

isOptional
boolean isOptional()

Added in version 6.21.0

Returns whether this instance is optional, i.e. whether it can be missing when parsing a label.

dataTypePatterns
@NonNull List<@NonNull String> getDataTypePatterns()

Added in version 7.1.0

Returns the identifying text patterns (data type patterns) associated with this instance.

labelDateFormat
@NonNull LabelDateFormat getLabelDateFormat()
void setLabelDateFormat(@NonNull LabelDateFormat value)

Added in version 7.1.0

Used to get and set the LabelDateFormat used to parse dates.