* The parser understands many formats, but we need one format * @protected
(value: string)
| 835 | * @protected |
| 836 | */ |
| 837 | normalizeDisplayValue(value: string) { |
| 838 | if (value === "" || !this.getDisplayFormat().parse(value, true)) { |
| 839 | return value; |
| 840 | } |
| 841 | |
| 842 | return this.getDisplayFormat().format(this.getDisplayFormat().parse(value, true), true); // it is important to both parse and format the date as UTC |
| 843 | } |
| 844 | |
| 845 | get _lastDayOfTheYear() { |
| 846 | const currentYear = UI5Date.getInstance().getFullYear(); |
no test coverage detected