cquiroz / scala-java-time   2.6.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
Scala.js versions: 1.x
Scala Native versions: 0.5

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).

Usage

The scala-java-time library is currently available for Scala (JVM, version 8 and later), Scala.js (JavaScript) and Scala Native (LLVM). 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"

Documentation

See the documentation