Back to Fresco

CurrentThreadTimeClock

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

3.6.011.4 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Packages | Classes

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

public class

CurrentThreadTimeClock

extends Object
implements Clock

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

Class Overview

A clock that returns milliseconds running in the current thread. See android.os.SystemClock

Summary

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

| long | MAX_TIME | The maximum time. |

|

Public Constructors
Public Methods
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 Constructors

public CurrentThreadTimeClock()

Public Methods

public long now()

Gets the current time in milliseconds.

Returns
  • the current time in milliseconds.

+Generated by Doclava. +