GroupedDateTimeParserBuilder

interface GroupedDateTimeParserBuilder

Functions

anyOf
Link copied to clipboard
common

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

abstract fun anyOf(vararg builders: Array<Out GroupedDateTimeParserBuilder.() -> 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.

abstract fun anyOf(vararg childParsers: Array<Out GroupedDateTimeParser>)
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
group
Link copied to clipboard
common

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

abstract fun group(builder: DateTimeParserBuilder.() -> Unit)
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
literal
Link copied to clipboard
common

Parse a Char literal.

abstract fun literal(char: Char)

Parse a String literal.

abstract fun literal(string: String)
toString
Link copied to clipboard
common
open override fun toString(): String
unaryPlus
Link copied to clipboard
common

Parse a Char literal.

open operator fun Char.unaryPlus()

Parse a String literal.

open operator fun String.unaryPlus()