Name: scala-js-java-time
Owner: Scala.js
Description: Scala.js implementation for java.time in JDK8
Created: 2016-01-20 10:56:38.0
Updated: 2018-05-19 13:26:45.0
Pushed: 2018-05-19 13:26:44.0
Homepage: null
Size: 121
Language: Scala
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
scalajs-java-time
is a BSD-licensed reimplementation of the java.time
API
of JDK8 for Scala.js. It enables this API in Scala.js projects.
Simply add the following line to your sbt settings:
aryDependencies += "org.scala-js" %%% "scalajs-java-time" % "0.2.4"
If you have a crossProject
, the setting must be used only in the JS part:
val myCross = crossProject
.
sSettings(
libraryDependencies += "org.scala-js" %%% "scalajs-java-time" % "0.2.4"
Requirement: you must use a host JDK8 to build your project, i.e., to
launch sbt. scalajs-java-time
does not work on earlier JDKs.
This library is a work in progress. There are still many classes and methods that have not been implemented yet. If you use any of those, you will get linking errors.
Feel free to contribute to extend the set of supported classes and methods!
scalajs-java-time
is distributed under the
BSD 3-Clause license.
Follow the contributing guide.