Kactoos

kactoos-jvm / nnl.rocks.kactoos.time / LocalDateTimeOf

LocalDateTimeOf

class LocalDateTimeOf : Scalar<LocalDateTime>

Parser for LocalDateTime instances. Parses the date using the formatter to create LocalDateTime instances.

Parameters

parsed - The parsed date.

Since 0.27

Constructors

Name Summary
<init> LocalDateTimeOf(date: CharSequence)
LocalDateTimeOf(date: CharSequence, formatter: DateTimeFormatter)LocalDateTimeOf(date: CharSequence, format: String)
Parses date using the provided format to create LocalDateTime instances.LocalDateTimeOf(parsed: KScalar<LocalDateTime>)
Parser for LocalDateTime instances. Parses the date using the formatter to create LocalDateTime instances.

Functions

Name Summary
invoke fun invoke(): LocalDateTime
Get value of this Scalar