javax.media
Class Time
java.lang.Object
javax.media.Time
- All Implemented Interfaces:
- java.io.Serializable
public class Time
- extends java.lang.Object
- implements java.io.Serializable
Standard JMF class -- see this class in the JMF Javadoc.
Complete.
- Author:
- Ken Larson
- See Also:
- Serialized Form
Constructor Summary |
Time(double seconds)
|
Time(long nanoseconds)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ONE_SECOND
public static final long ONE_SECOND
- See Also:
- Constant Field Values
TIME_UNKNOWN
public static final Time TIME_UNKNOWN
nanoseconds
protected long nanoseconds
Time
public Time(long nanoseconds)
Time
public Time(double seconds)
secondsToNanoseconds
protected long secondsToNanoseconds(double seconds)
getNanoseconds
public long getNanoseconds()
getSeconds
public double getSeconds()