parse

expect fun parse(isoString: String): LocalTime

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

Examples of time in ISO-8601 format:

  • 18:43

  • 18:43:00

  • 18:43:00.500

  • 18:43:00.123456789

Throws

if the text cannot be parsed or the boundaries of LocalTime are exceeded.

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