public class UnitsTools extends Object
Modifier and Type | Field and Description |
---|---|
static @A int |
A |
static @C int |
C |
static @cd int |
cd |
static @degrees double |
deg |
static @g int |
g |
static @h int |
h |
static @K int |
K |
static @kg int |
kg |
static @km int |
km |
static @km2 int |
km2 |
static @kmPERh int |
kmPERh |
static @m int |
m |
static @m2 int |
m2 |
static @min int |
min |
static @mm int |
mm |
static @mm2 int |
mm2 |
static @mol int |
mol |
static @mPERs int |
mPERs |
static @mPERs2 int |
mPERs2 |
static @radians double |
rad |
static @s int |
s |
Constructor and Description |
---|
UnitsTools() |
Modifier and Type | Method and Description |
---|---|
static @K int |
fromCelsiusToKelvin(@C int c) |
static @kg int |
fromGramToKiloGram(@g int g) |
static @min int |
fromHourToMinute(@h int h) |
static @C int |
fromKelvinToCelsius(@K int k) |
static @g int |
fromKiloGramToGram(@kg int kg) |
static @mPERs double |
fromKiloMeterPerHourToMeterPerSecond(@kmPERh double kmph) |
static @m int |
fromKiloMeterToMeter(@km int km) |
static @kmPERh double |
fromMeterPerSecondToKiloMeterPerHour(@mPERs double mps) |
static @km int |
fromMeterToKiloMeter(@m int m) |
static @mm int |
fromMeterToMilliMeter(@m int m) |
static @m int |
fromMilliMeterToMeter(@mm int mm) |
static @h int |
fromMinuteToHour(@min int min) |
static @s int |
fromMinuteToSecond(@min int min) |
static @min int |
fromSecondToMinute(@s int s) |
static @degrees double |
toDegrees(@radians double angrad) |
static @radians double |
toRadians(@degrees double angdeg) |
public static final @mPERs2 int mPERs2
public static final @radians double rad
public static final @degrees double deg
public static final @mm2 int mm2
public static final @m2 int m2
public static final @km2 int km2
public static final @A int A
public static final @cd int cd
public static final @mm int mm
public static final @m int m
public static final @km int km
public static final @g int g
public static final @kg int kg
public static final @mPERs int mPERs
public static final @kmPERh int kmPERh
public static final @mol int mol
public static final @K int K
public static final @C int C
public static final @s int s
public static final @min int min
public static final @h int h