code: public Long getParameterTime(String name) throws RepositoryConfigurationException
     {
        try
        {
           return StringNumberParser.parseTime(getParameterValue(name));
        }
        catch (NumberFormatException e)
        {
           throw new RepositoryConfigurationException(name + ": unparseable time (as Long). " + e, e);
        }
     }
docs: Parse named parameter using {@link StringNumberParser#parseTime(String)} and return time in
  milliseconds (Long value).
  
  @param name
  parameter name
  @return Long value
  @throws RepositoryConfigurationException