()
| 244 | } |
| 245 | |
| 246 | get _formatPattern() { |
| 247 | const formatPattern = this.formatPattern || this.valueFormat || "medium"; |
| 248 | const hasHours = !!(formatPattern || "").match(/H/i); |
| 249 | const fallback = !formatPattern || !hasHours; |
| 250 | |
| 251 | const localeData = getCachedLocaleDataInstance(getLocale()); |
| 252 | return fallback ? localeData.getCombinedDateTimePattern("medium", "medium", this._primaryCalendarType) : (formatPattern || ""); |
| 253 | } |
| 254 | |
| 255 | get _calendarTimestamp() { |
| 256 | return this._previewValues.calendarTimestamp ? this._previewValues.calendarTimestamp : super._calendarTimestamp; |
nothing calls this directly
no test coverage detected