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

Method isValidMax

packages/main/src/DateRangePicker.ts:411–415  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

409 }
410
411 isValidMax(value: string): boolean {
412 const parts = this._splitValueByDelimiter(value).filter(str => str.trim() !== "");
413
414 return parts.length <= 2 && parts.every(dateString => super.isValidMax(dateString));
415 }
416
417 /**
418 * Extract both dates as timestamps, flip if necessary, and build (which will use the desired format so we enforce the format too)

Callers 1

formValidityMethod · 0.95

Calls 1

Tested by

no test coverage detected