public static long getMs ( String time ) { try { return FormatUtils . parseTimeSize ( time ) ; } catch ( Exception e ) { throw new RuntimeException ( ExceptionMessage . INVALID_TIME . getMessage ( time ) ) ; } }
Converts the input time into millisecond unit .