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
-
Method Summary
Modifier and TypeMethodDescriptionadd
(TimeQuantity d1) divide
(double v) Quantity<?>
boolean
eq
(TimeQuantity d1) boolean
ge
(TimeQuantity d1) boolean
gt
(TimeQuantity d1) inverse()
boolean
le
(TimeQuantity d1) boolean
lt
(TimeQuantity d1) multiply
(double v) Quantity<?>
boolean
ne
(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, toString
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
-