Package org.zkoss.calendar.api
Interface ZonedDateTimeFormatter
-
- All Superinterfaces:
DateFormatter
- All Known Implementing Classes:
SimpleDateFormatter
public interface ZonedDateTimeFormatter extends DateFormatter
A date (ZonedDateTime) formatter is used to generate a customized date format in the calendar. Allow to return HTML characters.- Since:
- 3.0.0
- Author:
- leon
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description StringgetCaptionByDate(ZonedDateTime date, Locale locale)Returns the caption of the date.default StringgetCaptionByDate(Date date, Locale locale, TimeZone timezone)Deprecated.As of release 3.0.0StringgetCaptionByDateOfMonth(ZonedDateTime date, Locale locale)Returns the caption of the date of month.default StringgetCaptionByDateOfMonth(Date date, Locale locale, TimeZone timezone)Deprecated.As of release 3.0.0StringgetCaptionByDayOfWeek(ZonedDateTime date, Locale locale)Returns the caption of the day of week.default StringgetCaptionByDayOfWeek(Date date, Locale locale, TimeZone timezone)Deprecated.As of release 3.0.0StringgetCaptionByPopup(ZonedDateTime date, Locale locale)Returns the caption of the popup title.default StringgetCaptionByPopup(Date date, Locale locale, TimeZone timezone)Deprecated.As of release 3.0.0StringgetCaptionByTimeOfDay(ZonedDateTime date, Locale locale)Returns the caption of the time of day.default StringgetCaptionByTimeOfDay(Date date, Locale locale, TimeZone timezone)Deprecated.As of release 3.0.0StringgetCaptionByWeekOfYear(ZonedDateTime date, Locale locale)Returns the caption of the week number within the current year.default StringgetCaptionByWeekOfYear(Date date, Locale locale, TimeZone timezone)Deprecated.As of release 3.0.0
-
-
-
Method Detail
-
getCaptionByDayOfWeek
@Deprecated default String getCaptionByDayOfWeek(Date date, Locale locale, TimeZone timezone)
Deprecated.As of release 3.0.0Returns the caption of the day of week.- Specified by:
getCaptionByDayOfWeekin interfaceDateFormatter
-
getCaptionByDayOfWeek
String getCaptionByDayOfWeek(ZonedDateTime date, Locale locale)
Returns the caption of the day of week.
-
getCaptionByTimeOfDay
@Deprecated default String getCaptionByTimeOfDay(Date date, Locale locale, TimeZone timezone)
Deprecated.As of release 3.0.0Returns the caption of the time of day.- Specified by:
getCaptionByTimeOfDayin interfaceDateFormatter
-
getCaptionByTimeOfDay
String getCaptionByTimeOfDay(ZonedDateTime date, Locale locale)
Returns the caption of the time of day.
-
getCaptionByDate
@Deprecated default String getCaptionByDate(Date date, Locale locale, TimeZone timezone)
Deprecated.As of release 3.0.0Returns the caption of the date.- Specified by:
getCaptionByDatein interfaceDateFormatter
-
getCaptionByDate
String getCaptionByDate(ZonedDateTime date, Locale locale)
Returns the caption of the date.
-
getCaptionByDateOfMonth
@Deprecated default String getCaptionByDateOfMonth(Date date, Locale locale, TimeZone timezone)
Deprecated.As of release 3.0.0Returns the caption of the date of month.- Specified by:
getCaptionByDateOfMonthin interfaceDateFormatter
-
getCaptionByDateOfMonth
String getCaptionByDateOfMonth(ZonedDateTime date, Locale locale)
Returns the caption of the date of month.
-
getCaptionByPopup
@Deprecated default String getCaptionByPopup(Date date, Locale locale, TimeZone timezone)
Deprecated.As of release 3.0.0Returns the caption of the popup title.- Specified by:
getCaptionByPopupin interfaceDateFormatter
-
getCaptionByPopup
String getCaptionByPopup(ZonedDateTime date, Locale locale)
Returns the caption of the popup title.
-
getCaptionByWeekOfYear
@Deprecated default String getCaptionByWeekOfYear(Date date, Locale locale, TimeZone timezone)
Deprecated.As of release 3.0.0Returns the caption of the week number within the current year.- Specified by:
getCaptionByWeekOfYearin interfaceDateFormatter
-
getCaptionByWeekOfYear
String getCaptionByWeekOfYear(ZonedDateTime date, Locale locale)
Returns the caption of the week number within the current year.
-
-