Deprecated "getZonedDateTime" since Update to 4.3.x

See Release openHAB 4.3.0 · openhab/openhab-distro · GitHub

There might also be some more details to be found in this thread: The method getZonedDateTime() from the type DateTimeType is deprecated

I don’t see any problem with this, nothing has been deprecated here.