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

Method _maxDate

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

Source from the content-addressed store, hash-verified

147 }
148
149 get _maxDate() {
150 const key = `${this.maxDate}__${this._primaryCalendarType}`;
151 if (!this._cachedMaxDate || this._cachedMaxDate.key !== key) {
152 const parsed = this.maxDate ? this._getMinMaxCalendarDateFromString(this.maxDate) : undefined;
153 this._cachedMaxDate = { key, value: parsed || getMaxCalendarDate(this._primaryCalendarType) };
154 }
155 return this._cachedMaxDate.value;
156 }
157
158 get _formatPattern() {
159 return this.formatPattern || this.valueFormat; // get from config

Callers

nothing calls this directly

Calls 2

getMaxCalendarDateFunction · 0.85

Tested by

no test coverage detected