# Class Clock

java.lang.Object
java.time.Clock

public abstract class Clock extends java.lang.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 java.lang.Object

  `clone, equals, finalize, 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)