@SingletonOverride(implFor=TimeService.class, priority=-2147483646) public class JreTimeServiceHighPrecision extends TimeServiceDefault
nowmilli_to_nano, second_to_nano| Constructor and Description |
|---|
JreTimeServiceHighPrecision() |
| Modifier and Type | Method and Description |
|---|---|
double |
millis() |
Moment |
now() |
Moment |
nowPlusOne()
Returns a new moment guaranteed to be one nano later than any other method.
|
void |
tick()
updates now() to current time
|
String |
timestamp() |
runLaterbirth, clonecompareTo, equals, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcompareTopublic double millis()
millis in interface Momentmillis in class AbstractTimeServicepublic Moment nowPlusOne()
TimeServicenowPlusOne in interface TimeServicenowPlusOne in class AbstractTimeServicepublic Moment now()
now in interface TimeServicenow in class AbstractTimeServicepublic void tick()
TimeServicetick in interface TimeServicetick in class AbstractTimeServicepublic String timestamp()
timestamp in interface TimeServicetimestamp in class TimeServiceDefaultCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.