public class SimpleDateFormatter extends Object implements DateFormatter, Serializable
DateFormatter| Constructor and Description |
|---|
SimpleDateFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCaptionByDate(Date date,
Locale locale,
TimeZone timezone)
Returns the caption of the date.
|
String |
getCaptionByDateOfMonth(Date date,
Locale locale,
TimeZone timezone)
Returns the caption of the date of month.
|
String |
getCaptionByDayOfWeek(Date date,
Locale locale,
TimeZone timezone)
Returns the caption of the day of week.
|
String |
getCaptionByPopup(Date date,
Locale locale,
TimeZone timezone)
Returns the caption of the popup title.
|
String |
getCaptionByTimeOfDay(Date date,
Locale locale,
TimeZone timezone)
Returns the caption of the time of day.
|
String |
getCaptionByWeekOfYear(Date date,
Locale locale,
TimeZone timezone)
Returns the caption of the week number within the current year.
|
public String getCaptionByDate(Date date, Locale locale, TimeZone timezone)
DateFormattergetCaptionByDate in interface DateFormatterpublic String getCaptionByDateOfMonth(Date date, Locale locale, TimeZone timezone)
DateFormattergetCaptionByDateOfMonth in interface DateFormatterpublic String getCaptionByDayOfWeek(Date date, Locale locale, TimeZone timezone)
DateFormattergetCaptionByDayOfWeek in interface DateFormatterpublic String getCaptionByTimeOfDay(Date date, Locale locale, TimeZone timezone)
DateFormattergetCaptionByTimeOfDay in interface DateFormatterpublic String getCaptionByPopup(Date date, Locale locale, TimeZone timezone)
DateFormattergetCaptionByPopup in interface DateFormatterpublic String getCaptionByWeekOfYear(Date date, Locale locale, TimeZone timezone)
DateFormattergetCaptionByWeekOfYear in interface DateFormatterCopyright © 2015. All Rights Reserved.