code: public Long getParameterTime(String name, Long defaultValue)
     {
        String value = getParameterValue(name, null);
  
        if (value != null)
        {
           try
           {
              return StringNumberParser.parseTime(value);
           }
           catch (NumberFormatException e)
           {
              if (LOG.isTraceEnabled())
              {
                 LOG.trace("An exception occurred: " + e.getMessage());
              }
           }
        }
        return defaultValue;
     }
docs: Parse named parameter using {@link StringNumberParser#parseTime(String)} and return time in
  milliseconds (Long value).
  
  @param name
  parameter name
  @param defaultValue
  default time value
  @return