registerFilterTimeRange

registerFilterTimeRange(pStartTime: TimeStamp;
                        pEndTime:   TimeStamp): Integer;

The registerFilterTimeRange method of the JadeAuditAccess class specifies the first and last timestamps for filtering accessible audit records.

This method returns zero (0) if there is no error or it returns the applicable error code.

Specify the start and end times in the local time of the system that created the journal file or files. To specify the start and end times in Coordinated Universal Time (UTC), use the registerFilterTimeRangeUTC method.

If the value of the pStartTime parameter is not null, the first accessible audit record has a timestamp equal to or greater than the start timestamp value specified in the parameter.

If the value of the pEndTime is not null, the last accessible audit record has a timestamp less than the end timestamp value specified in the parameter.

If required, the value of the pStartTime parameter must be registered before the journal file is opened by calling the getJournal method.

The specified time range is not affected by the value of the setFilterExcludes method parameter.