|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.orchestra.common.perf.Util
public final class Util
| Field Summary | |
|---|---|
static long |
HOUR_IN_MILLIS
1 second = 1000 ms. |
static long |
MINUTE_IN_MILLIS
1 minute = 60000 ms. |
static long |
SECOND_IN_MILLIS
1 hour = 3600000 ms. |
| Method Summary | |
|---|---|
static java.lang.String |
getDuration(long durationInMillis)
Return a string representation of a duration in millis. |
static long |
parseTime(java.lang.String s)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long SECOND_IN_MILLIS
public static final long MINUTE_IN_MILLIS
public static final long HOUR_IN_MILLIS
| Method Detail |
|---|
public static java.lang.String getDuration(long durationInMillis)
durationInMillis - duration to transform.
public static long parseTime(java.lang.String s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||