automation.jsscripting/README: hypelink (#12638)
This commit is contained in:
parent
e44eb7d679
commit
6451afae5c
|
@ -413,7 +413,7 @@ logger.debug("Hello {}!", "world");
|
||||||
### Time
|
### Time
|
||||||
|
|
||||||
openHAB internally makes extensive use of the `java.time` package.
|
openHAB internally makes extensive use of the `java.time` package.
|
||||||
openHAB-JS exports the excellent [JS-Joda](#https://js-joda.github.io/js-joda/) library via the `time` namespace, which is a native Javascript port of the same API standard used in Java for `java.time`.
|
openHAB-JS exports the excellent [JS-Joda](https://js-joda.github.io/js-joda/) library via the `time` namespace, which is a native Javascript port of the same API standard used in Java for `java.time`.
|
||||||
Anywhere that a native Java `ZonedDateTime` or `Duration` is required, the runtime will automatically convert a JS-Joda `ZonedDateTime` or `Duration` to its Java counterpart.
|
Anywhere that a native Java `ZonedDateTime` or `Duration` is required, the runtime will automatically convert a JS-Joda `ZonedDateTime` or `Duration` to its Java counterpart.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
Loading…
Reference in New Issue