com.github.asvid.biedra.domain / kotlin.String / toOpenHours

toOpenHours

fun String.toOpenHours(): TimeRange (source)

Receiver String with range of hours in format: <hh.mm> - <hh.mm>

Return TimeRange created from String range