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