@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
38 lines (37 loc) • 918 B
TypeScript
/**
* Provides constants for working with time.
*/
export declare class Time {
/**
* The number of hours in a day.
*/
static readonly HOURS_PER_DAY = 24;
/**
* The number of minutes in an hour.
*/
static readonly MINUTES_PER_HOUR = 60;
/**
* The number of seconds in a minute.
*/
static readonly SECONDS_PER_MINUTE = 60;
/**
* The number of seconds in an hour.
*/
static readonly SECONDS_PER_HOUR: number;
/**
* The number of seconds in a day.
*/
static readonly SECONDS_PER_DAY: number;
/**
* The number of milliseconds in a second.
*/
static readonly MILLIS_PER_SECOND = 1000;
/**
* The number of nanoseconds in a second.
*/
static readonly NANOS_PER_SECOND = 1000000000;
/**
* The number of nanoseconds in a millisecond.
*/
static readonly NANOS_PER_MILLI = 1000000;
}