Class SecondsConverter
java.lang.Object
com.github.joschi.jadconfig.jodatime.converters.SecondsConverter
- All Implemented Interfaces:
Converter<org.joda.time.Seconds>
Converter for type
Seconds- Author:
- jschalanda
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SecondsConverter
public SecondsConverter()
-
-
Method Details
-
convertFrom
Returns aSecondsinstance representing the specifiedStringvalue.- Specified by:
convertFromin interfaceConverter<org.joda.time.Seconds>- Parameters:
value- The configuration parameter'sStringvalue- Returns:
- A
Secondsinstance representing the configuration parameter's value
-
convertTo
Returns aStringinstance representing the configuration parameter's value.
-