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