core / io.islandtime.parser / GroupedDateTimeParser / parse

parse

(iosArm64, iosX64, jvm, macosX64) 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.

Parameters

text - text to parse

settings - customize parsing behavior

Exceptions

DateTimeParseException - if parsing failed

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