Skip to content

Commit

Permalink
Link to Java 21 documentation (#409)
Browse files Browse the repository at this point in the history
This prevents issues because older documentation may not apply to Java
21.

See also openhab/openhab-addons#17939

Signed-off-by: Jacob Laursen <[email protected]>
  • Loading branch information
jlaur authored Dec 21, 2024
1 parent ca90fa6 commit b9da72a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -954,11 +954,11 @@ var formatter = time.DateTimeFormatter.ofPattern('dd.MM.yyyy HH:mm').withLocale(
#### `time.javaInstantToJsInstant()`
Converts a [`java.time.Instant`](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Instant.html) to a JS-Joda [`Instant`](https://js-joda.github.io/js-joda/manual/Instant.html).
Converts a [`java.time.Instant`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/time/Instant.html) to a JS-Joda [`Instant`](https://js-joda.github.io/js-joda/manual/Instant.html).
#### `time.javaZDTToJsZDT()`
Converts a [`java.time.ZonedDateTime`](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/ZonedDateTime.html) to a JS-Joda [`ZonedDateTime`](https://js-joda.github.io/js-joda/manual/ZonedDateTime.html).
Converts a [`java.time.ZonedDateTime`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/time/ZonedDateTime.html) to a JS-Joda [`ZonedDateTime`](https://js-joda.github.io/js-joda/manual/ZonedDateTime.html).
#### `time.toZDT()`
Expand Down

0 comments on commit b9da72a

Please sign in to comment.