public final class TimeFormat extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
format(long amount,
TimeUnit timeUnit)
Format the given time amount in a "human readable" way.
|
public static String format(@Nonnegative long amount, @Nonnull TimeUnit timeUnit)
Format the given time amount in a "human readable" way.
amount - amount of time unitstimeUnit - the time unitCopyright © 2011-2017 CoreMedia AG. All Rights Reserved.