Companion

expect object Companion
actual object Companion
actual object Companion
actual object Companion

Functions

Link copied to clipboard
expect fun fromMillisecondOfDay(millisecondOfDay: Int): LocalTime

Constructs a LocalTime that represents the specified number of milliseconds since the start of a calendar day. The sub-millisecond parts of the LocalTime will be zero.

actual fun fromMillisecondOfDay(millisecondOfDay: Int): LocalTime
actual fun fromMillisecondOfDay(millisecondOfDay: Int): LocalTime
actual fun fromMillisecondOfDay(millisecondOfDay: Int): LocalTime
Link copied to clipboard
expect fun fromNanosecondOfDay(nanosecondOfDay: Long): LocalTime

Constructs a LocalTime that represents the specified number of nanoseconds since the start of a calendar day.

actual fun fromNanosecondOfDay(nanosecondOfDay: Long): LocalTime
actual fun fromNanosecondOfDay(nanosecondOfDay: Long): LocalTime
actual fun fromNanosecondOfDay(nanosecondOfDay: Long): LocalTime
Link copied to clipboard
expect fun fromSecondOfDay(secondOfDay: Int): LocalTime

Constructs a LocalTime that represents the specified number of seconds since the start of a calendar day. The fractional parts of the second will be zero.

actual fun fromSecondOfDay(secondOfDay: Int): LocalTime
actual fun fromSecondOfDay(secondOfDay: Int): LocalTime
actual fun fromSecondOfDay(secondOfDay: Int): LocalTime
Link copied to clipboard
expect fun parse(isoString: String): LocalTime

Parses a string that represents a time value in ISO-8601 and returns the parsed LocalTime value.

actual fun parse(isoString: String): LocalTime
actual fun parse(isoString: String): LocalTime
actual fun parse(isoString: String): LocalTime