|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.CommonUnit
public class CommonUnit
CommonUnit is a class for commonly used Units
Field Summary | |
---|---|
static Unit |
degree
CommonUnit for plane angle, not temperature |
static Unit |
dimensionless
CommonUnit for all BaseUnits with exponent = zero |
static Unit |
meter
CommonUnit for length |
static Unit |
meterPerSecond
CommonUnit for speed |
static Unit |
promiscuous
promiscuous is compatible with any Unit; useful for constants; not the same as null Unit, which is only compatible with other null Units; not the same as dimensionless, which is not compatible with other Units for addition and subtraction |
static Unit |
radian
CommonUnit for plane angle |
static Unit |
second
CommonUnit for time |
static Unit |
secondsSinceTheEpoch
CommonUnit for seconds since the Epoch (i.e. 1970-01-01 00:00:00Z) |
Constructor Summary | |
---|---|
CommonUnit()
|
Method Summary | |
---|---|
static void |
main(String[] args)
Test this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Unit degree
public static Unit radian
public static Unit second
public static Unit meter
public static Unit meterPerSecond
public static Unit secondsSinceTheEpoch
public static Unit dimensionless
public static Unit promiscuous
Constructor Detail |
---|
public CommonUnit()
Method Detail |
---|
public static void main(String[] args) throws UnitException
args
- Arguments (ignored).
UnitException
- A problem occurred.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |