VgsMinMaxDateValidator

constructor(minDate: Long, maxDate: Long, dateFormat: VgsExpiryDateFormat, errorMsg: String = ERROR_MESSAGE)

Parameters

minDate

earliest accepted date as a Unix timestamp in milliseconds.

maxDate

latest accepted date as a Unix timestamp in milliseconds.

dateFormat

the format used to parse the field's text.

errorMsg

message returned when the date is outside the range or unparsable.