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