toPeriod

fun String.toPeriod(): Period
fun String.toPeriod(parser: DateTimeParser, settings: DateTimeParserSettings): Period