Provides constants for working with time.

Constructors

Properties

HOURS_PER_DAY: 24

The number of hours in a day.

MILLIS_PER_SECOND: 1000

The number of milliseconds in a second.

MINUTES_PER_HOUR: 60

The number of minutes in an hour.

NANOS_PER_MILLI: 1000000 = 1_000_000

The number of nanoseconds in a millisecond.

NANOS_PER_SECOND: 1000000000 = 1_000_000_000

The number of nanoseconds in a second.

SECONDS_PER_DAY: number = ...

The number of seconds in a day.

SECONDS_PER_HOUR: number = ...

The number of seconds in an hour.

SECONDS_PER_MINUTE: 60

The number of seconds in a minute.