Companion
Functions
Link copied to clipboard
Returns an Instant that is epochMilliseconds number of milliseconds from the epoch instant 1970-01-01T00:00:00Z
.
Link copied to clipboard
expect fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Int): Instant
Content copied to clipboard
expect fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Long = 0): Instant
Content copied to clipboard
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.
actual fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Int): Instant
Content copied to clipboard
actual fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Long): Instant
Content copied to clipboard
actual fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Int): Instant
Content copied to clipboard
actual fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Long): Instant
Content copied to clipboard
actual fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Int): Instant
Content copied to clipboard
actual fun fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Long): Instant
Content copied to clipboard
Link copied to clipboard
Parses a string that represents an instant in ISO-8601 format including date and time components and the mandatory time zone offset and returns the parsed Instant value.