javax.realtime
Class RelativeTime
java.lang.Object
|
+--javax.realtime.HighResolutionTime
|
+--javax.realtime.RelativeTime
- All Implemented Interfaces:
- java.lang.Comparable
- Direct Known Subclasses:
- RationalTime
- public class RelativeTime
- extends HighResolutionTime
| Methods inherited from class javax.realtime.HighResolutionTime |
compareTo, compareTo, equals, equals, getMilliseconds, getNanoseconds, hashCode, set, set, set, waitForObject |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RelativeTime
public RelativeTime()
RelativeTime
public RelativeTime(long millis,
int nanos)
RelativeTime
public RelativeTime(RelativeTime time)
absolute
public AbsoluteTime absolute(Clock clock,
AbsoluteTime destination)
- Specified by:
absolute in class HighResolutionTime
absolute
public AbsoluteTime absolute(Clock clock)
- Specified by:
absolute in class HighResolutionTime
relative
public RelativeTime relative(Clock clock)
- Specified by:
relative in class HighResolutionTime
relative
public RelativeTime relative(Clock clock,
HighResolutionTime destination)
- Specified by:
relative in class HighResolutionTime
relative
public RelativeTime relative(Clock clock,
RelativeTime destination)
add
public RelativeTime add(long millis,
int nanos)
add
public RelativeTime add(long millis,
int nanos,
RelativeTime dest)
add
public final RelativeTime add(RelativeTime time)
add
public RelativeTime add(RelativeTime time,
RelativeTime destination)
addInterarrivalTo
public void addInterarrivalTo(AbsoluteTime destination)
throws java.lang.NullPointerException
java.lang.NullPointerException
getInterarrivalTime
public RelativeTime getInterarrivalTime()
getInterarrivalTime
public RelativeTime getInterarrivalTime(RelativeTime dest)
subtract
public final RelativeTime subtract(RelativeTime time)
subtract
public RelativeTime subtract(RelativeTime time,
RelativeTime dest)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
aicas GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2003 aicas GmbH. All Rights Reserved.