code: public static long millis(final String time, final String timeUnit) {
        return TIMEUNITS.get(timeUnit).toMillis(Long.parseLong(time));
     }
docs: Converts a time representation into milliseconds
  
  @param time
  @param timeUnit
  @return