public class SimpleDateFormatter extends java.lang.Object implements ZonedDateTimeFormatter, java.io.Serializable
ZonedDateTimeFormatter
Constructor and Description |
---|
SimpleDateFormatter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCaptionByDate(java.time.ZonedDateTime date,
java.util.Locale locale)
Returns the caption of the date.
|
java.lang.String |
getCaptionByDateOfMonth(java.time.ZonedDateTime date,
java.util.Locale locale)
Returns the caption of the date of month.
|
java.lang.String |
getCaptionByDayOfWeek(java.time.ZonedDateTime date,
java.util.Locale locale)
Returns the caption of the day of week.
|
java.lang.String |
getCaptionByPopup(java.time.ZonedDateTime date,
java.util.Locale locale)
Returns the caption of the popup title.
|
java.lang.String |
getCaptionByTimeOfDay(java.time.ZonedDateTime date,
java.util.Locale locale)
Returns the caption of the time of day.
|
java.lang.String |
getCaptionByWeekOfYear(java.time.ZonedDateTime date,
java.util.Locale locale)
Returns the caption of the week number within the current year.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCaptionByDate, getCaptionByDateOfMonth, getCaptionByDayOfWeek, getCaptionByPopup, getCaptionByTimeOfDay, getCaptionByWeekOfYear
public java.lang.String getCaptionByDate(java.time.ZonedDateTime date, java.util.Locale locale)
ZonedDateTimeFormatter
getCaptionByDate
in interface ZonedDateTimeFormatter
public java.lang.String getCaptionByDateOfMonth(java.time.ZonedDateTime date, java.util.Locale locale)
ZonedDateTimeFormatter
getCaptionByDateOfMonth
in interface ZonedDateTimeFormatter
public java.lang.String getCaptionByDayOfWeek(java.time.ZonedDateTime date, java.util.Locale locale)
ZonedDateTimeFormatter
getCaptionByDayOfWeek
in interface ZonedDateTimeFormatter
public java.lang.String getCaptionByTimeOfDay(java.time.ZonedDateTime date, java.util.Locale locale)
ZonedDateTimeFormatter
getCaptionByTimeOfDay
in interface ZonedDateTimeFormatter
public java.lang.String getCaptionByPopup(java.time.ZonedDateTime date, java.util.Locale locale)
ZonedDateTimeFormatter
getCaptionByPopup
in interface ZonedDateTimeFormatter
public java.lang.String getCaptionByWeekOfYear(java.time.ZonedDateTime date, java.util.Locale locale)
ZonedDateTimeFormatter
getCaptionByWeekOfYear
in interface ZonedDateTimeFormatter
Copyright © 2021. All Rights Reserved.