//core/io.islandtime/ZonedDateTime/Companion/fromInstant
fromInstant¶
common
fun fromInstant(dateTime: DateTime, offset: UtcOffset, zone: TimeZone): ZonedDateTime
Creates a ZonedDateTime from the instant represented by a local date-time and offset. The resulting ZonedDateTime
may have a different date-time and offset depending on the time zone rules, but the instant will be the same.