core / io.islandtime.parser / GroupedDateTimeParserBuilder / anyOf

anyOf

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) abstract fun anyOf(vararg builders: GroupedDateTimeParserBuilder.() -> Unit): Unit

Try each of the parsers defined by builders until one succeeds. If none succeed, parsing is considered to have failed.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) abstract fun anyOf(vararg childParsers: GroupedDateTimeParser): Unit

Try each of the parsers defined by childParsers until one succeeds and include all of its groups in the parsing results. If none of the parsers succeed, parsing is considered to have failed at the starting index.