Class DurationConverter

java.lang.Object
com.evolveum.midpoint.gui.impl.converter.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:
  • Constructor Details

    • DurationConverter

      public DurationConverter()
  • Method Details

    • 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>