()
| 826 | } |
| 827 | |
| 828 | getValueFormat() { |
| 829 | if (!this._valueFormat) { |
| 830 | return this.getISOFormat(); |
| 831 | } |
| 832 | |
| 833 | return this._isValueFormatPattern |
| 834 | ? DateFormat.getTimeInstance({ |
| 835 | strictParsing: true, |
| 836 | pattern: this._valueFormat, |
| 837 | }) |
| 838 | : DateFormat.getTimeInstance({ |
| 839 | strictParsing: true, |
| 840 | style: this._valueFormat, |
| 841 | }); |
| 842 | } |
| 843 | |
| 844 | /** |
| 845 | * Formats a Java Script date object into a string representing a locale date and time |
no test coverage detected