Click or drag to resize

DensifyRangeDateTime Method (DateTime, DateTime, Int32, DensifyDateTimeUnit)

Creates a DensifyRange with DateTime bounds.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
public static DensifyRange DateTime(
	DateTime lowerBound,
	DateTime upperBound,
	int step,
	DensifyDateTimeUnit unit
)

Parameters

lowerBound
Type: SystemDateTime
The lower bound.
upperBound
Type: SystemDateTime
The upper bound.
step
Type: SystemInt32
The step.
unit
Type: MongoDB.DriverDensifyDateTimeUnit
The unit.

Return Value

Type: DensifyRange
A DensifyRange with DateTime bounds.
See Also