()
| 287 | } |
| 288 | |
| 289 | getValueFormat() { |
| 290 | if (!this._valueFormat) { |
| 291 | return this.getISOFormat(); |
| 292 | } |
| 293 | |
| 294 | return this._isValueFormatPattern |
| 295 | ? DateFormat.getDateInstance({ |
| 296 | strictParsing: true, |
| 297 | pattern: this._valueFormat, |
| 298 | calendarType: this._primaryCalendarType, |
| 299 | }) |
| 300 | : DateFormat.getDateInstance({ |
| 301 | strictParsing: true, |
| 302 | style: this._valueFormat, |
| 303 | calendarType: this._primaryCalendarType, |
| 304 | }); |
| 305 | } |
| 306 | |
| 307 | getISOFormat() { |
| 308 | if (!this._isoFormatInstance) { |
no test coverage detected