kactoos-jvm / nnl.rocks.kactoos.time / LocalDateTimeAsText / <init>
LocalDateTimeAsText(date:
LocalDateTime
, formatter:
DateTimeFormatter
= Iso().invoke())
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.
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