Registry / utility / scala-java-time-sjs1-2-13

scala-java-time-sjs1-2-13

JSON →
library2.6.0javamavenunverified

Provides a Scala.js implementation of the java.time API for cross-platform use.

<dependency> <groupId>io.github.cquiroz</groupId> <artifactId>scala-java-time_sjs1_2.13</artifactId> <version>2.6.0</version> </dependency>
INSTALL
IMPORT
SIG · SCALA-JAVA-TIME-SJ
S
scala-java-time-sjs1-2-13
utilityjavav2.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LocalDate
java.time.LocalDate

Shows basic usage of java.time.LocalDate, which is implemented by this library on Scala.js.

import java.time.LocalDate; public class Example { public static void main(String[] args) { LocalDate date = LocalDate.now(); System.out.println("Current date: " + date); } }
Debug
Known issues
gotchaThis library is for Scala.js only; not intended for JVM use.
fix
Use the standard java.time package on JVM; this library is only needed for Scala.js cross-compilation.
affects: all
Upgrade
Version history
2.6.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
scala-java-time-sjs1-2-13 — mvn dependency:get scala-java-time-sjs1-2-13 · libregistry