Package org.apache.ofbiz.base.conversion
Class DateTimeConverters.NumberToDuration
java.lang.Object
org.apache.ofbiz.base.conversion.AbstractConverter<Number,TimeDuration>
org.apache.ofbiz.base.conversion.DateTimeConverters.NumberToDuration
- All Implemented Interfaces:
Converter<Number,
,TimeDuration> ConverterLoader
- Enclosing class:
- DateTimeConverters
public static class DateTimeConverters.NumberToDuration
extends AbstractConverter<Number,TimeDuration>
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.ofbiz.base.conversion.AbstractConverter
canConvert, convert, getSourceClass, getTargetClass, loadConverters
-
Constructor Details
-
NumberToDuration
public NumberToDuration()
-
-
Method Details
-
convert
Description copied from interface:Converter
Convertsobj
toT
.- Parameters:
obj
- The sourceObject
to convert- Returns:
- The converted
Object
- Throws:
ConversionException
-