Kactoos

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

ZonedDateTimeOf

class ZonedDateTimeOf : Scalar<ZonedDateTime>

Parser for ZonedDateTime instances.

Parses the date using the formatter to create ZonedDateTime instances.

Parameters

parsed - The parsed date.

Since 0.27

Constructors

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

Functions

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