Packing Date Text Builder
Defined in library scandit_datacapture_label
- PackingDateTextBuilder
class PackingDateTextBuilder : TextFieldBuilder<PackingDateTextBuilder, PackingDateText>
Added in version 7.2.0
This class is used to define a packing date field for a LabelDefinition in a fluent way.
- setDataTypePatterns(dataTypePattern, dataTypePatterns)
PackingDateTextBuilder setDataTypePatterns( {String? dataTypePattern, Iterable<String>? dataTypePatterns})
Added in version 7.2.0
Sets the identifying text patterns (data type patterns) from a list of strings or a single string.
- setDataTypePattern(dataTypePattern)
PackingDateTextBuilder setDataTypePattern(
RegExp
dataTypePattern)Added in version 7.2.0
Sets the identifying text patterns (data type patterns) from a single regular expression.
- resetDataTypePatterns()
PackingDateTextBuilder resetDataTypePatterns()
Added in version 7.2.0
Resets the identifying text patterns (data type patterns) to an empty list. For cases where the expiry date has no associated identifying text.
- setLabelDateFormat(labelDateFormat)
PackingDateTextBuilder setLabelDateFormat( LabelDateFormat labelDateFormat)
Added in version 7.2.0
Sets a LabelDateFormat to use when recognising this date.
- build(name)
PackingDateText build(String name)
Added in version 7.2.0
Builds the PackingDateText using the properties provided previously with other methods.