Kactoos

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

OffsetDateTimeOf

class OffsetDateTimeOf : Scalar<OffsetDateTime>

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

Parameters

parsed - The parsed date.

Since 0.27

Constructors

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

Functions

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