Skip to content


hexagon_core / com.hexagonkt.helpers / java.time.LocalDateTime

Extensions for java.time.LocalDateTime

Name Summary
toDate Convert a local date time to a LocalDateTime.toDate():Date
toNumber Convert a date time to a number with the following format: LocalDateTime.toNumber():Long
withZone Return the date time in a given time zone for a local date LocalDateTime.withZone(zoneId: ZoneId = Jvm.timeZone.toZoneId()): ZonedDateTime