<PackageReference Include="Relativity.API" Version="19.5.0" />

RelativeDateCondition

A condition that filters based on date being found between in a range relative to the execution time.
public TimeFrame Offset { get; }

The relative time frame from the query execution.

public RelativeDateCondition(IFieldRef fieldRef, TimeFrame offset)

A condition on the field identified by IFieldRef that returns results when the date falls in the relative time frame.

public RelativeDateCondition(string fieldName, TimeFrame offset)

A condition on the field identified by name that returns results when the date falls in the relative time frame.

public RelativeDateCondition(Guid fieldGuid, TimeFrame offset)

A condition on the field identified by Guid that returns results when the date falls in the relative time frame.