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