public interface DateFormatter
| Modifier and Type | Method and Description |
|---|---|
DateFormatter |
datePattern(DatePattern datePattern)
The pattern to use for the *date* part (without
time).
|
DateFormatter |
datePattern(String customPattern)
The custom pattern to use for the *date* part (without
time).
|
String |
format()
Format!
|
DateFormatter |
locale(Locale locale)
The locale to use.
|
DateFormatter |
parts(DateParts dateParts)
Which part(s) of ther date to format and
output?
|
DateFormatter |
separator(String separator)
The separator string to use between the date
part and the time part.
|
DateFormatter |
timePattern(DatePattern timePattern)
The pattern to use for the *time* part (without
the date).
|
DateFormatter |
timePattern(String customPattern)
The custom pattern to use for the *time* part (without
the date).
|
DateFormatter |
timeZone(TimeZone timeZone)
The timeZone to use.
|
DateFormatter locale(Locale locale)
LocaleResolver.DateFormatter timeZone(TimeZone timeZone)
DateFormatter parts(DateParts dateParts)
DateFormatter datePattern(DatePattern datePattern)
DateFormatter datePattern(String customPattern)
DateFormatter timePattern(DatePattern timePattern)
DateFormatter timePattern(String customPattern)
DateFormatter separator(String separator)
String format()
Copyright © 2019. All rights reserved.