| Package | Description |
|---|---|
| javax.safetycritical | |
| javax.scj.util | |
| vm |
| Modifier and Type | Method and Description |
|---|---|
RelativeTime |
RelativeTime.add(long millis,
int nanos)
Creates a new object representing the result of adding millis and nanos to the values
from this
|
RelativeTime |
RelativeTime.add(long millis,
int nanos,
RelativeTime dest)
Returns an object containing the value resulting from adding millis and nanos to this.
|
RelativeTime |
RelativeTime.add(RelativeTime time)
Creates a new object representing the result of adding
time to the value of this |
RelativeTime |
RelativeTime.add(RelativeTime time,
RelativeTime dest)
Returns an object containing the value resulting from adding
time to this. |
abstract RelativeTime |
Clock.getEpochOffset()
Returns the relative time of the offset of the epoch of this clock
from the Epoch of the
RealtimeClock. |
abstract RelativeTime |
Clock.getResolution()
Gets the resolution of the clock, the nominal interval between ticks.
|
abstract RelativeTime |
Clock.getResolution(RelativeTime dest)
Gets the resolution of the clock, the nominal interval between ticks
and stores the result in
dest. |
RelativeTime |
AbsoluteTime.subtract(AbsoluteTime time)
Creates a new instance of
RelativeTime representing the result of subtracting time
from the value of this and normalizing the result. |
RelativeTime |
AbsoluteTime.subtract(AbsoluteTime time,
RelativeTime dest)
Returns an object containing the value resulting from subtracting
time from the value
of this and normalizing the result. |
RelativeTime |
RelativeTime.subtract(RelativeTime time)
Creates a new
RelativeTime object representing the result
of subtracting time from the value of this. |
RelativeTime |
RelativeTime.subtract(RelativeTime time,
RelativeTime dest)
Creates a new
RelativeTime object representing the result
of subtracting time from the value of this
The result is stored in dest. |
| Modifier and Type | Method and Description |
|---|---|
RelativeTime |
RelativeTime.add(long millis,
int nanos,
RelativeTime dest)
Returns an object containing the value resulting from adding millis and nanos to this.
|
RelativeTime |
RelativeTime.add(RelativeTime time)
Creates a new object representing the result of adding
time to the value of this |
AbsoluteTime |
AbsoluteTime.add(RelativeTime time)
Creates a new instance of
AbsoluteTime representing the result of
adding time to the value of this and normalizing the result. |
AbsoluteTime |
AbsoluteTime.add(RelativeTime time,
AbsoluteTime dest)
Returns an object containing the value resulting from adding
time to the value of this
and normalizing the result. |
RelativeTime |
RelativeTime.add(RelativeTime time,
RelativeTime dest)
Returns an object containing the value resulting from adding
time to this. |
abstract RelativeTime |
Clock.getResolution(RelativeTime dest)
Gets the resolution of the clock, the nominal interval between ticks
and stores the result in
dest. |
RelativeTime |
AbsoluteTime.subtract(AbsoluteTime time,
RelativeTime dest)
Returns an object containing the value resulting from subtracting
time from the value
of this and normalizing the result. |
RelativeTime |
RelativeTime.subtract(RelativeTime time)
Creates a new
RelativeTime object representing the result
of subtracting time from the value of this. |
AbsoluteTime |
AbsoluteTime.subtract(RelativeTime time)
Creates a new instance of
AbsoluteTime representing the result of subtracting time
from the value of this and normalizing the result. |
AbsoluteTime |
AbsoluteTime.subtract(RelativeTime time,
AbsoluteTime dest)
Returns an object containing the value resulting from subtracting
time from the value of this
and normalizing the result. |
RelativeTime |
RelativeTime.subtract(RelativeTime time,
RelativeTime dest)
Creates a new
RelativeTime object representing the result
of subtracting time from the value of this
The result is stored in dest. |
| Constructor and Description |
|---|
AperiodicParameters(RelativeTime deadline,
AperiodicEventHandler missHandler) |
CyclicSchedule.Frame(RelativeTime duration,
PeriodicEventHandler[] handlers)
Constructor for a frame.
|
PeriodicParameters(RelativeTime start,
RelativeTime period)
Constructs a new object within the current memory area.
|
PeriodicParameters(RelativeTime start,
RelativeTime period,
RelativeTime deadline,
AperiodicEventHandler missHandler)
Constructs a new object within the current memory area.
|
RelativeTime(RelativeTime time)
Makes a new
RelativeTime object from the given RelativeTime object. |
| Modifier and Type | Field and Description |
|---|---|
static RelativeTime |
Const.DEFAULT_TIME_INTERVAL |
static RelativeTime |
Const.INFINITE_TIME |
static RelativeTime |
Const.SUSPEND_TIME |
| Modifier and Type | Method and Description |
|---|---|
static void |
RealtimeClock.delayNative(RelativeTime time)
Sleep a relative time.
|
abstract void |
RealtimeClock.getGranularity(RelativeTime grain) |