public class ChainableAbsoluteTime extends AbsoluteTime
Clock
and not Chronograph
since these times are used for triggering.Constructor and Description |
---|
ChainableAbsoluteTime()
Same
ChainableAbsoluteTime(long, int, Clock) with
arguments {@code 0L. |
ChainableAbsoluteTime(long milliseconds,
int nanoseconds)
Same
ChainableAbsoluteTime(long, int, Clock) with
arguments {@code milliseconds. |
ChainableAbsoluteTime(long milliseconds,
int nanoseconds,
Clock clock)
A full contructor.
|
Modifier and Type | Method and Description |
---|---|
ChainableAbsoluteTime |
getLink()
Obtain the next value in the chain.
|
void |
setLink(ChainableAbsoluteTime value)
Set the next value in the chain.
|
absolute, absolute, absolute, absolute, add, add, add, add, getDate, relative, relative, relative, relative, set, subtract, subtract, subtract, subtract, toString
clone, compareTo, equals, equals, getChronograph, getClock, getMilliseconds, getNanoseconds, hashCode, set, set, set, set, waitForObject
public ChainableAbsoluteTime(long milliseconds, int nanoseconds, Clock clock)
milliseconds
- The millisecond part of an absolute time.nanoseconds
- The nanosecond part of an absolute time.clock
- The clock against which this time object references.public ChainableAbsoluteTime(long milliseconds, int nanoseconds)
ChainableAbsoluteTime(long, int, Clock)
with
arguments milliseconds. nanoseconds. Clock.getRealtimeClock()
.public ChainableAbsoluteTime()
ChainableAbsoluteTime(long, int, Clock)
with
arguments 0L. 0. Clock.getRealtimeClock()
.public void setLink(ChainableAbsoluteTime value)
value
- The new next element.public ChainableAbsoluteTime getLink()
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2022 aicas GmbH. All Rights Reserved.