CreateCreationTimeRange

DocumentFilter.CreateCreationTimeRange method

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

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

Return Value

A document filter by document creation 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