Date Time Parser Builder
interface DateTimeParserBuilder
Content copied to clipboard
Functions
anyOf
Link copied to clipboard
caseInsensitive
Link copied to clipboard
caseSensitive
Link copied to clipboard
childParser
Link copied to clipboard
decimalNumber
Link copied to clipboard
abstract fun decimalNumber(wholeLength: IntRange = 1..19, fractionLength: IntRange = 0..9, fractionScale: Int = 9, builder: DecimalNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
localizedText
Link copied to clipboard
optional
Link copied to clipboard
sign
Link copied to clipboard
string
Link copied to clipboard
abstract fun string(length: IntRange = IntRange.EMPTY, builder: StringParserBuilder.() -> Unit)
Content copied to clipboard
wholeNumber
Link copied to clipboard
abstract fun wholeNumber(length: Int, builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
abstract fun wholeNumber(length: IntRange = 1..19, builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
Extensions
amPm
Link copied to clipboard
dayOfMonth
Link copied to clipboard
inline fun DateTimeParserBuilder.dayOfMonth(length: IntRange = 1..19, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
inline fun DateTimeParserBuilder.dayOfMonth(length: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
dayOfWeekNumber
Link copied to clipboard
inline fun DateTimeParserBuilder.dayOfWeekNumber(length: Int = 1, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
dayOfYear
Link copied to clipboard
inline fun DateTimeParserBuilder.dayOfYear(length: IntRange = 1..19, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
inline fun DateTimeParserBuilder.dayOfYear(length: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
durationOfFractionalSeconds
Link copied to clipboard
inline fun DateTimeParserBuilder.durationOfFractionalSeconds(wholeLength: IntRange = 1..19, fractionLength: IntRange = 0..9, fractionScale: Int = 9, crossinline builder: DecimalNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
durationOfHours
Link copied to clipboard
inline fun DateTimeParserBuilder.durationOfHours(length: IntRange = 1..19, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
durationOfMinutes
Link copied to clipboard
inline fun DateTimeParserBuilder.durationOfMinutes(length: IntRange = 1..19, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
durationOfSeconds
Link copied to clipboard
inline fun DateTimeParserBuilder.durationOfSeconds(length: IntRange = 1..19, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
era
Link copied to clipboard
fractionalSecondOfMinute
Link copied to clipboard
inline fun DateTimeParserBuilder.fractionalSecondOfMinute(wholeLength: IntRange = 1..2, fractionLength: IntRange = 0..9, fractionScale: Int = 9, crossinline builder: DecimalNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
inline fun DateTimeParserBuilder.fractionalSecondOfMinute(wholeLength: Int, fractionLength: IntRange = 0..9, fractionScale: Int = 9, crossinline builder: DecimalNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
hourOfDay
Link copied to clipboard
inline fun DateTimeParserBuilder.hourOfDay(length: IntRange = 1..2, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
inline fun DateTimeParserBuilder.hourOfDay(length: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
localizedDayOfWeek
Link copied to clipboard
localizedMonth
Link copied to clipboard
minuteOfHour
Link copied to clipboard
inline fun DateTimeParserBuilder.minuteOfHour(length: IntRange = 1..2, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
inline fun DateTimeParserBuilder.minuteOfHour(length: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
monthNumber
Link copied to clipboard
inline fun DateTimeParserBuilder.monthNumber(length: IntRange = 1..19, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
inline fun DateTimeParserBuilder.monthNumber(length: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
periodOfDays
Link copied to clipboard
inline fun DateTimeParserBuilder.periodOfDays(length: IntRange = 1..10, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
periodOfMonths
Link copied to clipboard
inline fun DateTimeParserBuilder.periodOfMonths(length: IntRange = 1..10, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
periodOfWeeks
Link copied to clipboard
inline fun DateTimeParserBuilder.periodOfWeeks(length: IntRange = 1..10, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
periodOfYears
Link copied to clipboard
inline fun DateTimeParserBuilder.periodOfYears(length: IntRange = 1..10, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
periodSign
Link copied to clipboard
Parses a number's sign and populates DateTimeField.PERIOD_SIGN with
-1L, if negative or 1L, if positive.secondOfMinute
Link copied to clipboard
inline fun DateTimeParserBuilder.secondOfMinute(length: IntRange = 1..2, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
inline fun DateTimeParserBuilder.secondOfMinute(length: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
timeZoneId
Link copied to clipboard
unboundedDesignator
Link copied to clipboard
utcDesignator
Link copied to clipboard
utcOffsetHours
Link copied to clipboard
inline fun DateTimeParserBuilder.utcOffsetHours(length: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
utcOffsetMinutes
Link copied to clipboard
inline fun DateTimeParserBuilder.utcOffsetMinutes(length: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
utcOffsetSeconds
Link copied to clipboard
inline fun DateTimeParserBuilder.utcOffsetSeconds(length: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
utcOffsetSign
Link copied to clipboard
Parses a number's sign and populates DateTimeField.UTC_OFFSET_SIGN with
-1L, if negative or 1L, if positive.year
Link copied to clipboard
inline fun DateTimeParserBuilder.year(length: IntRange = 1..19, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
inline fun DateTimeParserBuilder.year(length: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
yearOfEra
Link copied to clipboard
inline fun DateTimeParserBuilder.yearOfEra(length: IntRange = 1..19, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard
inline fun DateTimeParserBuilder.yearOfEra(length: Int, crossinline builder: WholeNumberParserBuilder.() -> Unit = {})
Content copied to clipboard