public class Time
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected long |
nanoseconds |
static long |
ONE_SECOND |
static Time |
TIME_UNKNOWN |
Constructor and Description |
---|
Time(double seconds) |
Time(long nanoseconds) |
Modifier and Type | Method and Description |
---|---|
long |
getNanoseconds() |
double |
getSeconds() |
protected long |
secondsToNanoseconds(double seconds) |
public static final long ONE_SECOND
public static final Time TIME_UNKNOWN
protected long nanoseconds