Skip to content

//core/io.islandtime.parser/GroupedDateTimeParser/parse

parse

common

fun parse(text: CharSequence, settings: DateTimeParserSettings = DateTimeParserSettings.DEFAULT): List<DateTimeParseResult>

Parse text into a list of results, each containing the parsed fields associated with a particular group.

Return

a list of results, matching the number of groups defined in the parser

Parameters

common

text text to parse
settings customize parsing behavior

Throws

DateTimeParseException if parsing failed