()
| 482 | } |
| 483 | |
| 484 | getValueFormat() { |
| 485 | if (!this._valueFormat) { |
| 486 | return this.getISOFormat(); |
| 487 | } |
| 488 | |
| 489 | return this._isValueFormatPattern |
| 490 | ? DateFormat.getDateTimeInstance({ |
| 491 | strictParsing: true, |
| 492 | pattern: this._valueFormat, |
| 493 | calendarType: this._primaryCalendarType, |
| 494 | }) |
| 495 | : DateFormat.getDateTimeInstance({ |
| 496 | strictParsing: true, |
| 497 | style: this._valueFormat, |
| 498 | calendarType: this._primaryCalendarType, |
| 499 | }); |
| 500 | } |
| 501 | |
| 502 | getISOFormat() { |
| 503 | if (!this._isoFormatInstance) { |
no test coverage detected