Back to Fresco

Clock

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

3.6.010.8 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Packages | Classes

Summary: Constants | Methods | [Expand All]

public interface

Clock

| com.facebook.common.time.Clock |

| Known Indirect Subclasses

CurrentThreadTimeClock, SystemClock

| CurrentThreadTimeClock | A clock that returns milliseconds running in the current thread. | | SystemClock | Implementation of Clock that delegates to the system clock. |

|

Class Overview

Interface for getting the current time.

Summary

Constants
long
Public Methods
abstract long
Gets the current time in milliseconds.

Constants

public static final long MAX_TIME

The maximum time.

Constant Value: 9223372036854775807 (0x7fffffffffffffff)

Public Methods

public abstract long now()

Gets the current time in milliseconds.

Returns
  • the current time in milliseconds.

+Generated by Doclava. +