|Constructor and Description|
|Modifier and Type||Method and Description|
Converts the passed time string to a time value that is measured in milliseconds.
public static long convertToMillis(String valueToConvert) throws NumberFormatException
Converts the passed time string to a time value that is measured in milliseconds. The following extension are considered when converting the string:
A number entered with out any units is considered to be in milliseconds.
valueToConvert- The string to convert to milliseconds.
NumberFormatException- if the string is malformed and a number cannot be extracted from the value..
Copyright © 2017. All rights reserved.