public class TimeUtil extends Object
| Constructor and Description |
|---|
TimeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] ar) |
static String |
milliSecondsToString(long interval)
Convert interval into formatted
|
static long |
parseTime(String str)
convert time format into milliseconds
|
public static long parseTime(String str)
str - the format stringpublic static String milliSecondsToString(long interval)
interval - public static void main(String[] ar)