Kactoos

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

<init>

LocalDateTimeAsText(date: LocalDateTime, formatter: DateTimeFormatter = Iso().invoke())

Parameters

date - The date to format.

formatter - The formatter to use.LocalDateTimeAsText(date: LocalDateTime, 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.LocalDateTimeAsText(formatted: KScalar<String>)

Formatter for LocalDateTime instances.

Since 0.3