Kactoos

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

OffsetDateTimeAsText

class OffsetDateTimeAsText : Text

Formatter for OffsetDateTime instances.

Since 0.3

Constructors

Name Summary
<init> OffsetDateTimeAsText(date: OffsetDateTime, formatter: DateTimeFormatter = Iso().invoke())OffsetDateTimeAsText(date: OffsetDateTime, format: String, locale: Locale = Locale.getDefault(Locale.Category.FORMAT))
Formats the date using the provided format string using the provided locale.OffsetDateTimeAsText(formatted: KScalar<String>)
Formatter for OffsetDateTime instances.

Functions

Name Summary
asString fun asString(): String
Convert it to the string.