Kactoos

kactoos-jvm / nnl.rocks.kactoos.time / OffsetDateTimeAsText / <init>

<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.

Parameters

date - The date to format.

format - The format string to use.

locale - The locale to use.OffsetDateTimeAsText(formatted: KScalar<String>)

Formatter for OffsetDateTime instances.

Since 0.3