|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--javax.media.Time
Time is kept at nanosecond precision.
This is the JMF 1.0 Time interface.
| Field Summary | |
protected long |
nanoseconds
Time in nanoseconds. |
static long |
ONE_SECOND
|
static Time |
TIME_UNKNOWN
|
| Constructor Summary | |
Time(double seconds)
Constructs a Time using seconds. |
|
Time(long nanoseconds)
Constructs a Time using nanoseconds. |
|
| Method Summary | |
long |
getNanoseconds()
Gets the time value in nanoseconds. |
double |
getSeconds()
Gets the time value in seconds. |
protected long |
secondsToNanoseconds(double seconds)
Converts seconds to nanoseconds. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final long ONE_SECOND
public static final Time TIME_UNKNOWN
protected long nanoseconds
| Constructor Detail |
public Time(long nanoseconds)
public Time(double seconds)
seconds - Time specified in seconds.| Method Detail |
protected long secondsToNanoseconds(double seconds)
public long getNanoseconds()
public double getSeconds()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||