import {Clock} from '@serenity-js/core/lib/stage'
public class | source

Clock

A Clock tells the time.

Examples:

const now: Timestamp = new Clock().now()

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

Public Constructors

public constructor() source

Public Methods

public now(): Timestamp source

Returns:

Timestamp

current time