Class DateTimeFormatRenderer

java.lang.Object
com.google.gwt.text.shared.AbstractRenderer<Date>
com.google.gwt.text.client.DateTimeFormatRenderer
All Implemented Interfaces:
Renderer<Date>

public class DateTimeFormatRenderer extends AbstractRenderer<Date>
Renders Date objects with a DateTimeFormat.
  • Constructor Details

    • DateTimeFormatRenderer

      public DateTimeFormatRenderer()
    • DateTimeFormatRenderer

      public DateTimeFormatRenderer(DateTimeFormat format)
      Create an instance with the given format and the default time zone.
    • DateTimeFormatRenderer

      public DateTimeFormatRenderer(DateTimeFormat format, TimeZone timeZone)
      Create an instance with the given format and time zone.
  • Method Details

    • render

      public String render(Date object)
      Description copied from interface: Renderer
      Renders object as plain text. Should never throw any exceptions!