LocalTime

expect fun LocalTime(    hour: Int,     minute: Int,     second: Int = 0,     nanosecond: Int = 0)

Constructs a LocalTime instance from the given time components.

The supported ranges of components:

  • hour0..23

  • minute0..59

  • second0..59

  • nanosecond0..999_999_999

Throws

if any parameter is out of range.

actual fun LocalTime(    hour: Int,     minute: Int,     second: Int,     nanosecond: Int)
actual fun LocalTime(    hour: Int,     minute: Int,     second: Int,     nanosecond: Int)
actual fun LocalTime(    hour: Int,     minute: Int,     second: Int,     nanosecond: Int)