cquiroz / scala-java-time   2.5.0

BSD 3-clause "New" or "Revised" License Website GitHub

Implementation of the `java.time` API in scala. Especially useful for scala.js

Scala versions: 3.x 2.13 2.12 2.11 2.10
Scala.js versions: 1.x 0.6
Scala Native versions: 0.4

Scala Java-Time

build Maven Central Scala.js

This project provides an implementation of the java.time package, a date and time library that was added in Java 8. The implementation is based on the original BSD-licensed reference implementation (before it was contributed to OpenJDK).


The scala-java-time library is currently available for Scala (JVM, version 8 and later) and Scala.js (JavaScript). Scala 2.11, Scala 2.12, Scala 2.13 and Scala 3.0.0 are supported.

To get started with SBT, add one (or both) of these dependencies:

  • libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.5.0"


See the documentation