parse

fun parse(input: String, locale: Locale): Duration<IsoUnit>

Parse the provided string to a Duration object, using the strings provided by the given Locale.