Registry / utility / kotlinx-datetime-jvm

kotlinx-datetime-jvm

JSON →
library0.7.1javamavenunverified

Multiplatform date and time library for Kotlin, providing types like Instant and LocalDateTime.

<dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-datetime-jvm</artifactId> <version>0.7.1</version> </dependency>
INSTALL
IMPORT
SIG · KOTLINX-DATETIME-J
K
kotlinx-datetime-jvm
utilityjavav0.7.1
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.

Instant
kotlinx.datetime.Instant

Get the current instant

import kotlinx.datetime.Instant import kotlinx.datetime.Clock val now: Instant = Clock.System.now() println(now)
Debug
Known issues
breakingTimeZone API changed in 0.6.0; TimeZone.of() replaced TimeZone.ID.
fix
Use TimeZone.of("America/New_York") instead of TimeZone.ID.
affects: >=0.6.0
Upgrade
Version history
0.7.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
kotlinx-datetime-jvm — mvn dependency:get kotlinx-datetime-jvm · libregistry