Kotlin

open class Kotlin : DateTimeParserOptions<DateTimeFormat<out Any>>

Kotlin(x) variant of DateTimeParserOptions using DateTimeFormat.

If supplied to ParserOptions.dateTime, parsing will run in Kotlin time mode (similar to setting DataFrame.parser.dateTimeLibrary to ParseDateTimeLibrary.KOTLIN).

Additionally, if dateTimeFormats is not null, a.k.a. any format or pattern is provided, parsing will use the provided formats ONLY. Default formats and those in the global parser options will be ignored.

For more information: See Parsing Date-time Strings on the documentation website.

Inheritors

Types

Link copied to clipboard

Properties

Link copied to clipboard
open override val dateTimeFormats: Set<Pair<KType, DateTimeFormat<out Any>>>?

Functions

Link copied to clipboard
open override fun copy(): DateTimeParserOptions.Kotlin
fun copy(dateTimeFormats: Iterable<Pair<KType, DateTimeFormat<out Any>>>? = this.dateTimeFormats): DateTimeParserOptions.Kotlin
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
inline fun <reified T : Any> withFormat(format: DateTimeFormat<out T>?): DateTimeParserOptions.Kotlin
fun withFormat(format: DateTimeFormat<out Any>?, formatType: KType): DateTimeParserOptions.Kotlin
Link copied to clipboard
@FormatStringsInDatetimeFormats
inline fun <reified T : Any> withPattern(pattern: String?): DateTimeParserOptions.Kotlin
@FormatStringsInDatetimeFormats
fun withPattern(pattern: String?, formatType: KType): DateTimeParserOptions.Kotlin