* Formats a Java Script date object into a string representing a locale date and time * according to the `formatPattern` property of the TimePicker instance * @param date A Java Script date object to be formatted as string * @public * @returns formatted value
(date: Date)
| 849 | * @returns formatted value |
| 850 | */ |
| 851 | formatValue(date: Date): string { |
| 852 | return this.getValueFormat().format(date); |
| 853 | } |
| 854 | |
| 855 | /** |
| 856 | * Checks if a value is valid against the current `formatPattern` value. |
no test coverage detected