parseToLocalTime

fun String.parseToLocalTime(): LocalTime

Parses this ISO-8601 time string (e.g. "13:45:30") into a LocalTime.

Extension function on String.

Return

the parsed LocalTime

Throws

if the text is not a valid ISO-8601 time