GroupedDateTimeParserBuilder

interface GroupedDateTimeParserBuilder

Functions

anyOf
Link copied to clipboard
common
abstract fun anyOf(vararg childParsers: GroupedDateTimeParser)

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.

abstract fun anyOf(vararg builders: GroupedDateTimeParserBuilder.() -> Unit)

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

group
Link copied to clipboard
common
abstract fun group(builder: DateTimeParserBuilder.() -> Unit)

Create a distinct parse result and associate any parsed data with it.

literal
Link copied to clipboard
common
abstract fun literal(char: Char)

Parse a Char literal.

abstract fun literal(string: String)

Parse a String literal.

unaryPlus
Link copied to clipboard
common
open operator fun Char.unaryPlus()

Parse a Char literal.

open operator fun String.unaryPlus()

Parse a String literal.