code: public static long getMs(String time) {
      try {
        return FormatUtils.parseTimeSize(time);
      } catch (Exception e) {
        throw new RuntimeException(ExceptionMessage.INVALID_TIME.getMessage(time));
      }
    }
docs: Converts the input time into millisecond unit.
  
  @param time the time to be converted into milliseconds
  @return the time in millisecond unit