{"id":56913,"library":"scala-java-time-sjs1-2-13","title":"Scala Java Time (Scala.js 1, Scala 2.13)","description":"Provides a Scala.js implementation of the java.time API for cross-platform use.","status":"active","version":"2.6.0","language":"java","source_language":null,"source_url":"https://github.com/cquiroz/scala-java-time","tags":["scala","scala-js","java-time","date","time"],"install":[{"cmd":"<dependency>\n  <groupId>io.github.cquiroz</groupId>\n  <artifactId>scala-java-time_sjs1_2.13</artifactId>\n  <version>2.6.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'io.github.cquiroz:scala-java-time_sjs1_2.13:2.6.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"LocalDate","correct":"java.time.LocalDate"}],"quickstart":{"code":"import java.time.LocalDate;\n\npublic class Example {\n    public static void main(String[] args) {\n        LocalDate date = LocalDate.now();\n        System.out.println(\"Current date: \" + date);\n    }\n}","lang":"java","description":"Shows basic usage of java.time.LocalDate, which is implemented by this library on Scala.js."},"warnings":[{"fix":"Use the standard java.time package on JVM; this library is only needed for Scala.js cross-compilation.","message":"This library is for Scala.js only; not intended for JVM use.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'1':5 '2.13':7 'api':15 'cross':18 'cross-platform':17 'date':28 'implement':11 'java':2,26 'java-tim':25 'java.time':14 'js':24 'platform':19 'provid':8 'scala':1,6,21,23 'scala-j':22 'scala.js':4,10 'time':3,27,29 'use':20","created_at":"2026-06-15T10:55:40.133571+00:00","updated_at":"2026-06-15T10:55:40.133571+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/cquiroz/scala-java-time","github":"https://github.com/cquiroz/scala-java-time","docs":"https://appdoc.app/artifact/io.github.cquiroz/scala-java-time_sjs1_2.13/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}