Skip to main content
Version: Java (Groovy)

currentClock

currentClock returns the clock used to compute the current time.

Syntax

currentClock()

Parameters

This method takes no arguments.

Returns

The current clock.

Examples

println currentClock()