Constructor and Description |
---|
ReadableDuration(long duration)
Creates a new duration.
|
Modifier and Type | Method and Description |
---|---|
String |
getTime()
Gets a human readable representation of the duration, such as
"1h 3m 5s".
|
public ReadableDuration(long duration)
duration
- the duration in milliseconds.public String getTime()
Copyright © 2002–2017 InfoEther. All rights reserved.