Package javax.measure.test.quantity
Class TimeQuantity
- All Implemented Interfaces:
 Comparable<Quantity<Time>>,Quantity<Time>
- Version:
 - 0.6
 - Author:
 - Werner Keil
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface Quantity
Quantity.Scale - 
Field Summary
Fields inherited from class TestQuantity
ONE, scalar, unit, value - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionadd(TimeQuantity d1) divide(double v) Quantity<?>booleaneq(TimeQuantity d1) booleange(TimeQuantity d1) booleangt(TimeQuantity d1) inverse()booleanle(TimeQuantity d1) booleanlt(TimeQuantity d1) multiply(double v) Quantity<?>booleanne(TimeQuantity d1) negate()showInUnits(DistanceUnit u, int precision) subtract(TimeQuantity d1) Methods inherited from class TestQuantity
add, compareTo, eq, ge, getScale, getType, getUnit, getValue, gt, isEquivalentTo, le, lt, ne, showInUnits, subtract, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Quantity
toSystemUnit 
- 
Constructor Details
- 
TimeQuantity
 - 
TimeQuantity
 - 
TimeQuantity
public TimeQuantity() 
 - 
 - 
Method Details
- 
add
 - 
subtract
 - 
eq
 - 
ne
 - 
gt
 - 
lt
 - 
ge
 - 
le
 - 
multiply
 - 
divide
 - 
convert
 - 
showInUnits
 - 
divide
 - 
subtract
 - 
add
 - 
divide
 - 
inverse
 - 
multiply
 - 
to
 - 
multiply
 - 
negate
 - 
asType
- Throws:
 ClassCastException
 
 -