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