You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,3 +7,17 @@ Parse Scala string literals into `java.time` instances at compile time.
7
7
>duration"PT20.345S"
8
8
valres0: java.time.Duration=PT20.345S
9
9
```
10
+
11
+
See the [test suite for comprehensive examples](https://github.com/bpholt/java-time-literals/blob/main/core/shared/src/test/scala/dev/holt/javatime/JavaTimeSuite.scala)
12
+
of all supported literal types.
13
+
14
+
## Scala.js and Scala Native
15
+
16
+
Since Scala.js and Scala Native don't have a built-in timezone database, if you need to use
17
+
timezones other than UTC on those platforms, make sure to include
0 commit comments