Skip to content

Class TimeManager ​

Source: time.utils.ts

Constructors ​

Constructor ​

new TimeManager(): TimeManager

Returns ​

TimeManager

Properties ​

START_DATE ​

static START_DATE: Date

Methods ​

reset() ​

static reset(): void

Resets the time.

Returns ​

void


getUptime() ​

static getUptime(precision?: number): string

Get the current uptime.

Parameters ​

precision? ​

number = 2

Returns ​

string

Built by Prozilla