java.lang.Object
io.ciera.runtime.api.types.TimeStamp
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Date
The TimeStamp class represents a point in time. It is represented as a
quantity of nanoseconds elapsed since an epoch (reference point in time).
TimeStamp instances do not inherently define the epoch they are referenced
from, but will be interpreted by the runtime based on the current settings of
the
SystemClock.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeStampfromString(String s) longgetValue()static TimeStampnow(SystemClock clock) Create a new instance of TimeStamp from the current time and epoch set in the system clock.toString()
-
Field Details
-
ZERO
Default value
-
-
Constructor Details
-
TimeStamp
public TimeStamp() -
TimeStamp
public TimeStamp(long value) -
TimeStamp
-
-
Method Details