Class DateConverter

  • All Implemented Interfaces:
    org.jboss.errai.databinding.client.api.Converter<Date,​String>

    public class DateConverter
    extends Object
    implements org.jboss.errai.databinding.client.api.Converter<Date,​String>
    • Field Detail

      • DEFAULT_DATE_FORMAT_MASK

        public static String DEFAULT_DATE_FORMAT_MASK
    • Constructor Detail

      • DateConverter

        public DateConverter()
    • Method Detail

      • getDateStr

        public static String getDateStr​(Date date)
      • createDate

        public static Date createDate​(String dateString)
      • toModelValue

        public Date toModelValue​(String widgetValue)
        Specified by:
        toModelValue in interface org.jboss.errai.databinding.client.api.Converter<Date,​String>
      • toWidgetValue

        public String toWidgetValue​(Date modelValue)
        Specified by:
        toWidgetValue in interface org.jboss.errai.databinding.client.api.Converter<Date,​String>
      • getModelType

        public Class<Date> getModelType()
        Specified by:
        getModelType in interface org.jboss.errai.databinding.client.api.Converter<Date,​String>
      • getComponentType

        public Class<String> getComponentType()
        Specified by:
        getComponentType in interface org.jboss.errai.databinding.client.api.Converter<Date,​String>