()
| 781 | } |
| 782 | |
| 783 | getFormat() { |
| 784 | let dateFormat; |
| 785 | |
| 786 | if (this._isPattern) { |
| 787 | dateFormat = DateFormat.getDateInstance({ |
| 788 | strictParsing: true, |
| 789 | pattern: this._formatPattern, |
| 790 | }); |
| 791 | } else { |
| 792 | dateFormat = DateFormat.getDateInstance({ |
| 793 | strictParsing: true, |
| 794 | style: this._formatPattern, |
| 795 | }); |
| 796 | } |
| 797 | |
| 798 | return dateFormat; |
| 799 | } |
| 800 | |
| 801 | getISOFormat() { |
| 802 | if (!this._isoFormatInstance) { |
no test coverage detected