Back to Fresco

SystemClock

docs/javadoc/reference/com/facebook/common/time/SystemClock.html

3.6.011.4 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Packages | Classes

Summary: Inherited Constants | Methods | Inherited Methods | [Expand All]

public class

SystemClock

extends Object
implements Clock

| java.lang.Object | | ↳ | com.facebook.common.time.SystemClock |

Class Overview

Implementation of Clock that delegates to the system clock.

Summary

| [Expand] Inherited Constants | | --- | | From interface com.facebook.common.time.Clock

| long | MAX_TIME | The maximum time. |

|

Public Methods
static SystemClock
long
Gets the current time in milliseconds.

| [Expand] Inherited Methods | | --- | | From class java.lang.Object

| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

| | From interface com.facebook.common.time.Clock

| abstract long | now() Gets the current time in milliseconds. |

|

Public Methods

public static SystemClock get()

public long now()

Gets the current time in milliseconds.

Returns
  • the current time in milliseconds.

+Generated by Doclava. +