DensifyRangeDateTime Method (DateTime, DateTime, Int32, DensifyDateTimeUnit) |
Creates a DensifyRange with DateTime bounds.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax public static DensifyRange DateTime(
DateTime lowerBound,
DateTime upperBound,
int step,
DensifyDateTimeUnit unit
)
Public Shared Function DateTime (
lowerBound As DateTime,
upperBound As DateTime,
step As Integer,
unit As DensifyDateTimeUnit
) As DensifyRange
static member DateTime :
lowerBound : DateTime *
upperBound : DateTime *
step : int *
unit : DensifyDateTimeUnit -> DensifyRange
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:
DensifyRangeA DensifyRange with DateTime bounds.
See Also