| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| public static final IntervalSecondData | |
| pack-priv final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | IntervalSecondData(long seconds, long nanos, IntervalType type, boolean normalise)
normalise is a marker, values are always normalised |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public boolean | equals(Object other)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public long | |
| public int | |
| public static IntervalSecondData | |
| public static IntervalSecondData | |
| public static IntervalSecondData | |
| public static IntervalSecondData | |
| public static IntervalSecondData | |
| public String |
| nanos | back to summary |
|---|---|
| pack-priv final int nanos | |
| oneDay | back to summary |
|---|---|
| public static final IntervalSecondData oneDay | |
| units | back to summary |
|---|---|
| pack-priv final long units | |
| IntervalSecondData | back to summary |
|---|---|
| public IntervalSecondData(long seconds, int nanos, IntervalType type) | |
| IntervalSecondData | back to summary |
|---|---|
| public IntervalSecondData(long seconds, int nanos) | |
| IntervalSecondData | back to summary |
|---|---|
| public IntervalSecondData(long seconds, long nanos, IntervalType type, boolean normalise) normalise is a marker, values are always normalised | |
| compareTo | back to summary |
|---|---|
| public int compareTo(IntervalSecondData b) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getNanos | back to summary |
|---|---|
| public int getNanos() | |
| getSeconds | back to summary |
|---|---|
| public long getSeconds() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| newInterval | back to summary |
|---|---|
| public static IntervalSecondData newInterval(double value, int typeCode) | |
| newIntervalDay | back to summary |
|---|---|
| public static IntervalSecondData newIntervalDay(long days, IntervalType type) | |
| newIntervalHour | back to summary |
|---|---|
| public static IntervalSecondData newIntervalHour(long hours, IntervalType type) | |
| newIntervalMinute | back to summary |
|---|---|
| public static IntervalSecondData newIntervalMinute(long minutes, IntervalType type) | |
| newIntervalSeconds | back to summary |
|---|---|
| public static IntervalSecondData newIntervalSeconds(long seconds, IntervalType type) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |