Class TypeConverters.DurationConverter

    • Constructor Detail

      • DurationConverter

        public DurationConverter()
    • Method Detail

      • convert

        public Duration convert​(String s)
        Description copied from interface: TypeConverter
        Converts a String to a given type.
        Specified by:
        convert in interface TypeConverter<Duration>
        Parameters:
        s - the String to convert. Cannot be null.
        Returns:
        the converted object.