# Class Clock

java.lang.Object
java.time.Clock

public abstract class Clock extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Clock()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Clock`
  `fixed(Instant fixedInstant, ZoneId zone)`
  `abstract ZoneId`
  `getZone()`
  `abstract Instant`
  `instant()`
  `long`
  `millis()`
  `static Clock`
  `systemDefaultZone()`
  `static Clock`
  `systemUTC()`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Clock

    public Clock()

- ## Method Details

  - ### getZone

    public abstract ZoneId getZone()

  - ### instant

    public abstract Instant instant()

  - ### millis

    public long millis()

  - ### systemUTC

    public static Clock systemUTC()

  - ### systemDefaultZone

    public static Clock systemDefaultZone()

  - ### fixed

    public static Clock fixed(Instant fixedInstant, ZoneId zone)