public class Time extends Quantity implements Comparable<Time>
| Modifier and Type | Field and Description | 
|---|---|
| private int | hashCodeValueCached value for hashCode. | 
| private static int | SEED1Seed for hashCode. | 
| private static int | SEED2Seed for hashCode. | 
| (package private) Unit<Time> | unitUnit type of this quantity. | 
| (package private) Number | valueValue of this quantity. | 
| Constructor and Description | 
|---|
| Time(Number inValue,
    Unit<Time> inUnit)Create an Time. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(Time other)Check quantities for equality. | 
| boolean | equals(Object other)Check quantities for equality. | 
| int | hashCode() | 
| String | toString() | 
| Unit<Time> | unit()Get the unit for this quantity. | 
| Number | value()Get the numerical value of this quantity. | 
| Number | value(Unit<Time> inUnit)Perform a unit conversion. | 
private static final int SEED1
private static final int SEED2
Number value
private int hashCodeValue
public Number value()
Quantitypublic Number value(Unit<Time> inUnit)
inUnit - the unit to convert to.public boolean equals(Object other)
public int compareTo(Time other)
compareTo in interface Comparable<Time>Copyright © 2016 Open Microscopy Environment