CreateModificationTimeRange

DocumentFilter.CreateModificationTimeRange method

Creates a filter for skipping documents with a modification date out of the specified range.

public static DocumentFilter CreateModificationTimeRange(DateTime lowerBound, DateTime upperBound)
Parameter Type Description
lowerBound DateTime The lower bound of the document modification time.
upperBound DateTime The upper bound of the document modification time.

Return Value

A document filter by document modification time.

Remarks

The bounds are compared with the time of a document in the universal time: a bound of the kind Local or Unspecified is taken for the local time.

See Also