scalajs-java-time is a BSD-licensed partial reimplementation of the
java.time API of JDK8 for Scala.js.
This project is incomplete and has stalled
This project is very incomplete and efforts to expand it have stalled. Consider using one of the following alternatives instead:
- scala-java-time (recommended): like this project, but better
- scalajs-jsjoda: implementation of
Issues will not be worked on.
Pull requests may be reviewed and merged.
Add the following line to your sbt settings:
libraryDependencies += "org.scala-js" %%% "scalajs-java-time" % "1.0.0"
If you have a
crossProject, the setting must be used only in the JS part:
lazy val myCross = crossProject ... .jsSettings( libraryDependencies += "org.scala-js" %%% "scalajs-java-time" % "1.0.0" )
Requirement: you must use a host JDK8 to build your project, i.e., to
scalajs-java-time does not work on earlier JDKs.
This library is very incomplete. There are many classes and methods that have not been implemented yet. If you use any of those, you will get linking errors.
Consider using on the alternatives mentioned above.
scalajs-java-time is distributed under the
BSD 3-Clause license.
Follow the contributing guide.