public static long timeStringAsMs(String str) {
        return parseTimeString(str, TimeUnit.MILLISECONDS);
    }
Convert a time parameter such as (50s, 100ms, or 250us) to milliseconds for internal use. If
no suffix is provided, the passed number is assumed to be in ms.
indexr-query-opt/src/main/java/org/apache/spark/util/JavaUtils.java