Package de.dagere.peass.ci.helper
Class UnitConverter
- java.lang.Object
-
- de.dagere.peass.ci.helper.UnitConverter
-
public class UnitConverter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
MICROSECONDS
static String
MILLISECONDS
static String
NANOSECONDS
static int
NANOSECONDS_TO_MICROSECONDS
static int
NANOSECONDS_TO_MILLISECONDS
static int
NANOSECONDS_TO_SECONDS
static String
SECONDS
-
Constructor Summary
Constructors Constructor Description UnitConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getFactorByMean(double mean)
static String
getUnitByFactor(int factor)
-
-
-
Field Detail
-
NANOSECONDS_TO_MICROSECONDS
public static final int NANOSECONDS_TO_MICROSECONDS
- See Also:
- Constant Field Values
-
NANOSECONDS_TO_MILLISECONDS
public static final int NANOSECONDS_TO_MILLISECONDS
- See Also:
- Constant Field Values
-
NANOSECONDS_TO_SECONDS
public static final int NANOSECONDS_TO_SECONDS
- See Also:
- Constant Field Values
-
NANOSECONDS
public static final String NANOSECONDS
- See Also:
- Constant Field Values
-
MICROSECONDS
public static final String MICROSECONDS
- See Also:
- Constant Field Values
-
MILLISECONDS
public static final String MILLISECONDS
- See Also:
- Constant Field Values
-
SECONDS
public static final String SECONDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFactorByMean
public static int getFactorByMean(double mean)
-
getUnitByFactor
public static String getUnitByFactor(int factor)
-
-