UNPKG

@toreda/time

Version:

Simple, small footprint library for common time operations and converting between units of time.

27 lines (26 loc) 481 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Defaults = void 0; class Defaults { } Defaults.Math = { Precision: { Base: 2, Seconds: 4, Minutes: 4, Days: 4, Hours: 4, Months: 4, Weeks: 4, Years: 10, Microseconds: 10, Milliseconds: 10 } }; Defaults.Timer = { CheckIntervalMs: 50 }; Defaults.Time = { MsPerSec: 1000 }; exports.Defaults = Defaults;