Class ParameterConverters.DateConverter

    • Field Detail


        public static final DateFormat DEFAULT_FORMAT
    • Constructor Detail

      • DateConverter

        public DateConverter()
      • DateConverter

        public DateConverter​(DateFormat dateFormat)
    • Method Detail

      • convertValue

        public Date convertValue​(String value,
                                 Type type)
        Description copied from interface: ParameterConverters.ParameterConverter
        Convert the value from one type to another, for example from a boolean to a String.
        value - the value to be converted
        type - the type descriptor that supplies extra information about the requested result type
        the converted value