Class DurationConverter

  • All Implemented Interfaces:
    Serializable, org.apache.wicket.util.convert.IConverter<Duration>, org.apache.wicket.util.io.IClusterable

    public class DurationConverter
    extends Object
    implements org.apache.wicket.util.convert.IConverter<Duration>
    See Also:
    Serialized Form
    • Constructor Detail

      • DurationConverter

        public DurationConverter()
    • Method Detail

      • convertToObject

        public Duration convertToObject​(String value,
                                        Locale locale)
                                 throws org.apache.wicket.util.convert.ConversionException
        Specified by:
        convertToObject in interface org.apache.wicket.util.convert.IConverter<Duration>
        Throws:
        org.apache.wicket.util.convert.ConversionException
      • convertToString

        public String convertToString​(Duration value,
                                      Locale locale)
        Specified by:
        convertToString in interface org.apache.wicket.util.convert.IConverter<Duration>