java.lang.Object | |
↳ | com.google.gwt.core.client.Duration |
A utility class for measuring elapsed time.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new Duration whose start time is now.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the same result as
currentTimeMillis() , but as a
double. | |||||||||||
Returns the number of milliseconds that have elapsed since this object was
created.
| |||||||||||
Returns the time when the object was created.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new Duration whose start time is now.
Returns the same result as currentTimeMillis()
, but as a
double. Because emulated long math is significantly slower than doubles in
Production Mode, this method is to be preferred.
Returns the number of milliseconds that have elapsed since this object was created.
Returns the time when the object was created.