Implementation of the `java.time` API in scala. Especially useful for scala.js
Clone or download
Pull request Compare This branch is 3500 commits ahead, 2 commits behind soc:master.
Latest commit c21ca47 Dec 5, 2018

README.md

Scala Java-Time

Join the chat at https://gitter.im/scala-java-time/Lobby

Build Status 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) and Scala.js (JavaScript). Scala 2.11, Scala 2.12 and Scala 2.13-M4 are supported.

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

  • libraryDependencies += "io.github.cquiroz" %% "scala-java-time" % "2.0.0-M13" (for Scala)
  • libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0-M13" (for Scala.js, Scala.js plugin required)

Documentation

See the documentation