Constructors
Methods
Static
days
- days(d, h?, m?, s?): number
Parameters
- d: number
- h: number = 0
- m: number = 0
- s: number = 0
Returns number
Static
hours
- hours(h, m?, s?): number
Parameters
- h: number
- m: number = 0
- s: number = 0
Returns number
Static
minutes
- minutes(m, s?): number
Returns number
Static
seconds
- seconds(s): number
Returns number
Static
weeks
- weeks(w, d?, h?, m?, s?): number
Parameters
- w: number
- d: number = 0
- h: number = 0
- m: number = 0
- s: number = 0
Returns number
Utility class to generate timespans in Milliseconds