Skip to content

Index

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

Extensions for java.time.LocalDateTime

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

Comments