fromEpochSeconds

actual fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Long): Instant(source)
actual fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Int): Instant(source)
expect fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Long = 0): Instant(source)
expect fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Int): Instant(source)

Returns an Instant that is the epochSeconds number of seconds from the epoch instant 1970-01-01T00:00:00Z and the nanosecondAdjustment number of nanoseconds from the whole second.

The return value is clamped to the platform-specific boundaries for Instant if the result exceeds them.

actual fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Long): Instant(source)
actual fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Int): Instant(source)
actual fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Long): Instant(source)
actual fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Int): Instant(source)