Package org.apache.ofbiz.common.uom
Class UomWorker
- java.lang.Object
-
- org.apache.ofbiz.common.uom.UomWorker
-
public class UomWorker extends java.lang.Object
UomWorker
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.ibm.icu.util.Calendar
addUomTime(com.ibm.icu.util.Calendar cal, java.lang.String uomId, int value)
static com.ibm.icu.util.Calendar
addUomTime(com.ibm.icu.util.Calendar cal, java.sql.Timestamp startTime, java.lang.String uomId, int value)
static com.ibm.icu.util.Calendar
addUomTime(java.sql.Timestamp startTime, java.lang.String uomId, int value)
static java.math.BigDecimal
convertUom(java.math.BigDecimal originalValue, java.lang.String uomId, java.lang.String uomIdTo, LocalDispatcher dispatcher)
static int[]
uomTimeToCalTime(java.lang.String uomId)
-
-
-
Method Detail
-
uomTimeToCalTime
public static int[] uomTimeToCalTime(java.lang.String uomId)
-
addUomTime
public static com.ibm.icu.util.Calendar addUomTime(com.ibm.icu.util.Calendar cal, java.sql.Timestamp startTime, java.lang.String uomId, int value)
-
addUomTime
public static com.ibm.icu.util.Calendar addUomTime(com.ibm.icu.util.Calendar cal, java.lang.String uomId, int value)
-
addUomTime
public static com.ibm.icu.util.Calendar addUomTime(java.sql.Timestamp startTime, java.lang.String uomId, int value)
-
convertUom
public static java.math.BigDecimal convertUom(java.math.BigDecimal originalValue, java.lang.String uomId, java.lang.String uomIdTo, LocalDispatcher dispatcher)
-
-