Package com.google.gwt.text.client
Class DateTimeFormatRenderer
Renders
Date
objects with a DateTimeFormat
.-
Constructor Summary
ConstructorDescriptionCreate an instance usingDateTimeFormat.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
Methods inherited from class com.google.gwt.text.shared.AbstractRenderer
render
-
Constructor Details
-
DateTimeFormatRenderer
public DateTimeFormatRenderer()Create an instance usingDateTimeFormat.PredefinedFormat.DATE_SHORT
.
-
-
Method Details
-
render
Description copied from interface:Renderer
Rendersobject
as plain text. Should never throw any exceptions!
-