code: public long ENgettimeparam( TimeParameterCodes timeParameterCode ) throws EpanetException {
          long[] timeValue = new long[1];
          int error = epanet.ENgettimeparam(timeParameterCode.getCode(), timeValue);
          checkError(error);
          return timeValue[0];
      }
docs: Retrieves the value of a specific analysis time parameter.
  
  @param timeParameterCode time parameter code.
  @return value of time parameter in seconds.
  @throws EpanetException