|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.text.shared.AbstractRenderer<java.util.Date>
com.google.gwt.text.client.DateTimeFormatRenderer
public class DateTimeFormatRenderer
Renders Date objects with a DateTimeFormat.
| Constructor Summary | |
|---|---|
DateTimeFormatRenderer()
Create an instance using DateTimeFormat.PredefinedFormat.DATE_SHORT. |
|
DateTimeFormatRenderer(DateTimeFormat format)
Create an instance with the given format and the default time zone. |
|
DateTimeFormatRenderer(DateTimeFormat format,
TimeZone timeZone)
Create an instance with the given format and time zone. |
|
| Method Summary | |
|---|---|
java.lang.String |
render(java.util.Date object)
Renders object as plain text. |
| Methods inherited from class com.google.gwt.text.shared.AbstractRenderer |
|---|
render |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateTimeFormatRenderer()
DateTimeFormat.PredefinedFormat.DATE_SHORT.
public DateTimeFormatRenderer(DateTimeFormat format)
public DateTimeFormatRenderer(DateTimeFormat format,
TimeZone timeZone)
| Method Detail |
|---|
public java.lang.String render(java.util.Date object)
Rendererobject as plain text. Should never throw any exceptions!
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||