Class DurationToStringConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<java.time.Duration,​java.lang.String>

    public class DurationToStringConverter
    extends java.lang.Object
    implements org.springframework.core.convert.converter.Converter<java.time.Duration,​java.lang.String>
    Convert a Duration to a String.
    Author:
    Middleware Services
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String convert​(java.time.Duration d)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DurationToStringConverter

        public DurationToStringConverter()
    • Method Detail

      • convert

        public java.lang.String convert​(java.time.Duration d)
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<java.time.Duration,​java.lang.String>