public class DurationFormatter extends Object
Modifier and Type | Field and Description |
---|---|
static long |
ONE_DAY |
static long |
ONE_HOUR |
static long |
ONE_MINUTE |
static long |
ONE_SECOND |
Constructor and Description |
---|
DurationFormatter() |
public static final long ONE_SECOND
public static final long ONE_MINUTE
public static final long ONE_HOUR
public static final long ONE_DAY
public long parseTime(String time) throws ParseException
ParseException