|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Clock | |
---|---|
lejos.realtime |
Uses of Clock in lejos.realtime |
---|
Methods in lejos.realtime that return Clock | |
---|---|
Clock |
HighResolutionTime.getClock()
Returns a reference to the clock associated with this. |
static Clock |
Clock.getRealtimeClock()
There is always at least one clock object available: the system real-time clock. |
Methods in lejos.realtime with parameters of type Clock | |
---|---|
AbsoluteTime |
AbsoluteTime.absolute(Clock clock)
|
AbsoluteTime |
RelativeTime.absolute(Clock clock)
|
abstract AbsoluteTime |
HighResolutionTime.absolute(Clock clock)
Convert the time of this to an absolute time, using the given instance of Clock to determine the current time when necessary. |
AbsoluteTime |
AbsoluteTime.absolute(Clock clock,
AbsoluteTime dest)
|
AbsoluteTime |
RelativeTime.absolute(Clock clock,
AbsoluteTime dest)
|
abstract AbsoluteTime |
HighResolutionTime.absolute(Clock clock,
AbsoluteTime dest)
Convert the time of this to an absolute time, using the given instance of Clock to determine the current time when necessary. |
RelativeTime |
AbsoluteTime.relative(Clock clock)
|
RelativeTime |
RelativeTime.relative(Clock clock)
|
abstract RelativeTime |
HighResolutionTime.relative(Clock clock)
Convert the time of this to a relative time, using the given instance of Clock to determine the current time when necessary. |
RelativeTime |
AbsoluteTime.relative(Clock clock,
RelativeTime dest)
|
RelativeTime |
RelativeTime.relative(Clock clock,
RelativeTime dest)
|
abstract RelativeTime |
HighResolutionTime.relative(Clock clock,
RelativeTime dest)
Convert the time of this to a relative time, using the given instance of Clock to determine the current time when necessary. |
Constructors in lejos.realtime with parameters of type Clock | |
---|---|
AbsoluteTime(AbsoluteTime time,
Clock clock)
Make a new AbsoluteTime object from the given AbsoluteTime object. |
|
AbsoluteTime(Clock clock)
Equivalent to new AbsoluteTime(0,0,clock). |
|
AbsoluteTime(Date date,
Clock clock)
Equivalent to new AbsoluteTime (date.getTime(),0,clock). |
|
AbsoluteTime(long millis,
int nanos,
Clock clock)
|
|
RelativeTime(Clock clock)
Equivalent to new RelativeTime(0,0,clock). |
|
RelativeTime(long millis,
int nanos,
Clock clock)
Construct a RelativeTime object representing an interval based on the parameter millis plus the parameter nanos. |
|
RelativeTime(RelativeTime time,
Clock clock)
Make a new RelativeTime object from the given RelativeTime object. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |