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 StringMICROSECONDSstatic StringMILLISECONDSstatic StringNANOSECONDSstatic intNANOSECONDS_TO_MICROSECONDSstatic intNANOSECONDS_TO_MILLISECONDSstatic intNANOSECONDS_TO_SECONDSstatic StringSECONDS
-
Constructor Summary
Constructors Constructor Description UnitConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetFactorByMean(double mean)static StringgetUnitByFactor(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)
-
-