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