MCPcopy Create free account
hub / github.com/UI5/webcomponents / getFormat

Method getFormat

packages/main/src/DateComponentBase.ts:241–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239 }
240
241 getFormat() {
242 return this._isPattern
243 ? DateFormat.getDateInstance({
244 strictParsing: true,
245 pattern: this._formatPattern,
246 calendarType: this._primaryCalendarType,
247 })
248 : DateFormat.getDateInstance({
249 strictParsing: true,
250 style: this._formatPattern,
251 calendarType: this._primaryCalendarType,
252 });
253 }
254
255 get _displayFormat() {
256 if (this.displayFormat) {

Callers 2

Calls 1

getDateInstanceMethod · 0.80

Tested by

no test coverage detected