• Stars
    star
    87
  • Rank 364,808 (Top 8 %)
  • Language
    Scala
  • License
    BSD 3-Clause "New...
  • Created about 8 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Scala.js implementation for java.time in JDK8

scalajs-java-time (deprecated)

CI Scala.js Scala.js

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:

Issues will not be worked on.

Pull requests may be reviewed and merged.

Usage

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 launch sbt. scalajs-java-time does not work on earlier JDKs.

Linking errors

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.

License

scalajs-java-time is distributed under the BSD 3-Clause license.

Contributing

Follow the contributing guide.

More Repositories

1

scala-js

Scala.js, the Scala to JavaScript compiler
Scala
4,484
star
2

scala-js-dom

Statically typed DOM API for Scala.js
Scala
302
star
3

scala-js-website

Source for https://www.scala-js.org/
JavaScript
257
star
4

scalajs-tutorial

Source code accompanying the Scala.js tutorial
Scala
66
star
5

scala-js-env-selenium

Scala.js environment
Scala
47
star
6

scalajs-cross-compile-example

A small example project on how to cross compile Scala.js and Scala JVM
Scala
41
star
7

vite-plugin-scalajs

Vite plugin for integration of Scala.js
TypeScript
34
star
8

scala-js-macrotask-executor

Scala
31
star
9

vite.g8

Template for Scala.js with Vite
Scala
18
star
10

jsdependencies

An sbt plugin to manage JS dependencies in Scala.js, in the good old script style
Scala
11
star
11

scala-js-java-logging

Scala.js implementation for java.logging
Scala
10
star
12

scala-js-stubs

Stubs to use Scala.js annotations in cross-platform codebases
Scala
9
star
13

scala-js-env-jsdom-nodejs

Node.js with jsdom environment for Scala.js
Scala
8
star
14

scala-js-java-securerandom

Implementation of java.security.SecureRandom for Scala.js in browsers and Node.js
Scala
6
star
15

scala-js-cli

Command Line Interface for the Scala.js compiler and linker
Scala
5
star
16

scala-js-test-scala-nightly

Builds Scala.js against the nightly builds of Scala
Shell
3
star
17

scala-js-weakreferences

Implementation of java.lang.ref.{WeakReference,ReferenceQueue} for Scala.js
Scala
3
star
18

scala-js-env-phantomjs

PhantomJS environment for Scala.js
Scala
2
star
19

scala-js-logging

Tiny logging API for use by the Scala.js linker and JS envs.
Scala
1
star