kactoos-jvm / nnl.rocks.kactoos.time / LocalDateAsText
class LocalDateAsText : Text
Formatter for LocalDate instances.
date - The date to format.
formatter - The formatter to use.
Since 0.3
| Name | Summary |
|---|---|
| <init> | LocalDateAsText(date: LocalDate, formatter: DateTimeFormatter = Iso().invoke())LocalDateAsText(date: LocalDate, format: String, locale: Locale = Locale.getDefault(Locale.Category.FORMAT))Formats the date using the provided format string using the provided locale. LocalDateAsText(formatted: KScalar<String>)Formatter for LocalDate instances. |
| Name | Summary |
|---|---|
| asString | fun asString(): StringConvert it to the string. |