Method DateTime
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
DateTime(DateTime, DateTime, int, DensifyDateTimeUnit)
Creates a DensifyRange with DateTime bounds.
public static DensifyRange DateTime(DateTime lowerBound, DateTime upperBound, int step, DensifyDateTimeUnit unit)
Parameters
lowerBound
DateTime
The lower bound.
upperBound
DateTime
The upper bound.
step
int
The step.
unit
DensifyDateTimeUnit
The unit.
Returns
A DensifyRange with DateTime bounds.
DateTime(DensifyBounds, int, DensifyDateTimeUnit)
Creates a DensifyRange with DateTime bounds.
public static DensifyRange DateTime(DensifyBounds bounds, int step, DensifyDateTimeUnit unit)
Parameters
bounds
DensifyBounds
The bounds.
step
int
The step.
unit
DensifyDateTimeUnit
The unit.
Returns
A DensifyRange with DateTime bounds.