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

Method displayValue

packages/main/src/TimePicker.ts:771–781  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

769 }
770
771 get displayValue() {
772 if (!this.value) {
773 return "";
774 }
775
776 if (!this.getValueFormat().parse(this.value, true)) {
777 return this.value;
778 }
779
780 return this.getDisplayFormat().format(this.getValueFormat().parse(this.value, true), true);
781 }
782
783 getFormat() {
784 let dateFormat;

Callers

nothing calls this directly

Calls 4

getValueFormatMethod · 0.95
getDisplayFormatMethod · 0.95
parseMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected