Text.NoNulls
Constructor and Description |
---|
LocalDateAsText(LocalDate date)
Formats date using ISO date time format.
|
LocalDateAsText(LocalDate date,
DateTimeFormatter formatter)
Formats the date using the provided formatter.
|
LocalDateAsText(LocalDate date,
String format)
Formats date using provided date time format string using default locale.
|
LocalDateAsText(LocalDate date,
String format,
Locale locale)
Formats the date using the provided format string using the provided
locale.
|
public LocalDateAsText(LocalDate date)
date
- The date to format.public LocalDateAsText(LocalDate date, String format)
date
- The date to format.format
- The format to use.public LocalDateAsText(LocalDate date, String format, Locale locale)
date
- The date to format.format
- The format string to use.locale
- The locale to use.public LocalDateAsText(LocalDate date, DateTimeFormatter formatter)
date
- The date to format.formatter
- The formatter to use.Copyright © 2017–2018 Cactoos. All rights reserved.