List of utility methods to do Millisecond Current Get
long | currentTimeMillis() current Time Millis currentTimeMillis = System.currentTimeMillis(); if (lastTimeMillis < currentTimeMillis) { lastTimeMillis = currentTimeMillis; } else { lastTimeMillis++; lastTimeMicros = lastTimeMillis * 1000; lastTimeNanos = lastTimeMicros * 1000; ... |
double | currentTimeMillis() current Time Millis return nanosToMillis(System.nanoTime());
|
Long | currentTimeMillis() current Time Millis return System.currentTimeMillis();
|
long | currentTimeMillis() current Time Millis long l = System.currentTimeMillis(); if (l < lastTimeUpdate) timeCorrection += lastTimeUpdate - l; lastTimeUpdate = l; return l + timeCorrection; |
long | currentTimeMillis() current Time Millis return System.currentTimeMillis() + (long) timeZoneOffset; |
long | currentTimeMillis() current Time Millis return CURRENT_TIME;
|
int | currentTimeMillis() Gets a reference to current time as int. return (int) (System.currentTimeMillis() % Integer.MAX_VALUE); |
long | currentTimeMillis() Returns the current time in seconds since the epoch, or a mocked out equivalent. if (mockTime != null) return mockTime.getTime(); else return System.currentTimeMillis(); |
long | currentTimeMillisUTC() current Time Millis UTC return currentTimeMillis() / 1000L;
|
long | getCurrentMillis() Returns the current time in milliseconds. return System.currentTimeMillis();
|