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

Method getValueFormat

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

Source from the content-addressed store, hash-verified

826 }
827
828 getValueFormat() {
829 if (!this._valueFormat) {
830 return this.getISOFormat();
831 }
832
833 return this._isValueFormatPattern
834 ? DateFormat.getTimeInstance({
835 strictParsing: true,
836 pattern: this._valueFormat,
837 })
838 : DateFormat.getTimeInstance({
839 strictParsing: true,
840 style: this._valueFormat,
841 });
842 }
843
844 /**
845 * Formats a Java Script date object into a string representing a locale date and time

Callers 15

formValidityMessageMethod · 0.95
dateValueMethod · 0.95
_lastAvailableTimeMethod · 0.95
openInputsPopoverMethod · 0.95
displayValueMethod · 0.95
formatValueMethod · 0.95
isValidValueMethod · 0.95
normalizeValueMethod · 0.95
_modifyValueByMethod · 0.95

Calls 1

getISOFormatMethod · 0.95

Tested by

no test coverage detected