* Checks if a value is valid against the current date format of the DatePicker. * @public * @param value A value to be tested against the current date format * @deprecated Use isValidValue or isValidDisplayValue instead
(value: string)
| 708 | * @deprecated Use isValidValue or isValidDisplayValue instead |
| 709 | */ |
| 710 | isValid(value: string): boolean { |
| 711 | if (value === "" || value === undefined) { |
| 712 | return true; |
| 713 | } |
| 714 | |
| 715 | return !!this.getFormat().parse(value); |
| 716 | } |
| 717 | |
| 718 | /** |
| 719 | * Checks if a value is valid against the current date format of the DatePicker. |
no test coverage detected