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

scalajs-java-time-sjs1-2-13

JSON →
library1.0.0javamavenunverified

Provides Scala.js bindings for the java.time API, enabling cross-platform date and time handling.

<dependency> <groupId>org.scala-js</groupId> <artifactId>scalajs-java-time_sjs1_2.13</artifactId> <version>1.0.0</version> </dependency>
INSTALL
IMPORT
SIG · SCALAJS-JAVA-TIME-
S
scalajs-java-time-sjs1-2-13
utilityjavav1.0.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

Gets the current date using java.time.LocalDate.

import java.time.LocalDate; object Main { def main(args: Array[String]): Unit = { val today = LocalDate.now() println(s"Today is: $today") } }
Debug
Known issues
breakingThis library is for Scala.js only; it will not work on the JVM.
fix
Use the standard java.time library for JVM projects.
affects: >=1.0.0
Upgrade
Version history
1.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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