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
Public Constructors
CurrentThreadTimeClock()
Public Methods
long now()
Gets the current time in milliseconds.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.common.time.Clock

Public Constructors

public CurrentThreadTimeClock ()

Public Methods

public long now ()

Gets the current time in milliseconds.

Returns
  • the current time in milliseconds.