| Constructor and Description | 
|---|
TimeConverter()  | 
| Modifier and Type | Method and Description | 
|---|---|
static long | 
convertToMillis(String valueToConvert)
 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:
| Extension | Conversion Value | 
|---|---|
| us | Microseconds | 
| ms | Milliseconds | 
| s | Seconds | 
| m | Minutes | 
| h | Hours | 
| d | Days | 
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 © 2020. All rights reserved.