Constructor
new mindsmine()
- Since:
- 1.0
Classes
- Ajax
- Array
- Boolean
- Date
- DOM
- Duration
- DurationHolder
- Function
- Number
- NumeralSystem
- Object
- String
- URL
- Window
Members
(static, constant) productBuild
Build timestamp of the product.
- Since:
- 1.0.0
(static, constant) productName
Name of the product.
- Since:
- 1.0.0
(static, constant) productVersion
Version of the product.
- Since:
- 1.0.0
Methods
(static) Duration.(unit) → {Boolean}
Checks if the unit is supported.
Parameters:
Name | Type | Description |
---|---|---|
unit |
String | To verify |
- Since:
- 4.6.0
Returns:
- Type
- Boolean
(static) Duration.(unit) → {String}
Normalises the unit for usage in the class.
Parameters:
Name | Type | Description |
---|---|---|
unit |
String | To be normalised |
- Since:
- 4.6.0
Returns:
- Type
- String
(static) Duration.(unit) → {Number}
Convenience function to return the number of milliseconds in a given unit.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
unit |
String | ms |
- Since:
- 4.6.0
Returns:
- Type
- Number
(static) Duration.(refDate, change) → {Number}
Parameters:
Name | Type | Description |
---|---|---|
refDate |
Date | |
change |
Number |
- Since:
- 4.6.0
Returns:
- Type
- Number