|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.calendar.impl.SimpleDateFormatter
public class SimpleDateFormatter
A simple implementation of DateFormatter
| Constructor Summary | |
|---|---|
SimpleDateFormatter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCaptionByDate(java.util.Date date,
java.util.Locale locale,
java.util.TimeZone timezone)
Returns the caption of the date. |
java.lang.String |
getCaptionByDateOfMonth(java.util.Date date,
java.util.Locale locale,
java.util.TimeZone timezone)
Returns the caption of the date of month. |
java.lang.String |
getCaptionByDayOfWeek(java.util.Date date,
java.util.Locale locale,
java.util.TimeZone timezone)
Returns the caption of the day of week. |
java.lang.String |
getCaptionByPopup(java.util.Date date,
java.util.Locale locale,
java.util.TimeZone timezone)
Returns the caption of the popup title. |
java.lang.String |
getCaptionByTimeOfDay(java.util.Date date,
java.util.Locale locale,
java.util.TimeZone timezone)
Returns the caption of the time of day. |
java.lang.String |
getCaptionByWeekOfYear(java.util.Date date,
java.util.Locale locale,
java.util.TimeZone timezone)
Returns the caption of the week number within the current year. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleDateFormatter()
| Method Detail |
|---|
public java.lang.String getCaptionByDate(java.util.Date date,
java.util.Locale locale,
java.util.TimeZone timezone)
DateFormatter
getCaptionByDate in interface DateFormatter
public java.lang.String getCaptionByDateOfMonth(java.util.Date date,
java.util.Locale locale,
java.util.TimeZone timezone)
DateFormatter
getCaptionByDateOfMonth in interface DateFormatter
public java.lang.String getCaptionByDayOfWeek(java.util.Date date,
java.util.Locale locale,
java.util.TimeZone timezone)
DateFormatter
getCaptionByDayOfWeek in interface DateFormatter
public java.lang.String getCaptionByTimeOfDay(java.util.Date date,
java.util.Locale locale,
java.util.TimeZone timezone)
DateFormatter
getCaptionByTimeOfDay in interface DateFormatter
public java.lang.String getCaptionByPopup(java.util.Date date,
java.util.Locale locale,
java.util.TimeZone timezone)
DateFormatter
getCaptionByPopup in interface DateFormatter
public java.lang.String getCaptionByWeekOfYear(java.util.Date date,
java.util.Locale locale,
java.util.TimeZone timezone)
DateFormatter
getCaptionByWeekOfYear in interface DateFormatter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||