Duration specifies a discreet amount of milliseconds between two instances of time.
no subtypes hierarchy
Initializer |
Duration(Integer milliseconds) Parameters:
|
Attributes | |
hash | Source Codeshared actual Integer hash This implementation respect the constraint that if |
milliseconds | Source Codeshared actual Integer milliseconds Number of milliseconds of this duration. Refines ReadableDuration.milliseconds |
period | Source Codeshared Period period Returns this duration as a period of milliseconds. |
string | Source Codeshared actual String string Returns the string representation of this duration. Refines Object.string |
Inherited Attributes |
Attributes inherited from: Object |
Attributes inherited from: ReadableDuration |
Methods | |
equals | Source Codeshared actual Boolean equals(Object other) Duration is considered equal when type and milliseconds are the same. |
scale | Source Codeshared actual Duration scale(Integer scale) Returns a new Refines Scalable.scale |
Inherited Methods |
Methods inherited from: Object |
Methods inherited from: Scalable<Scale,Value> |