Class DensifyDateTimeRange
Represents a DateTime densify range.
public sealed class DensifyDateTimeRange : DensifyRange
- Inheritance
-
DensifyDateTimeRange
- Inherited Members
Constructors
DensifyDateTimeRange(DensifyDateTimeBounds, int, DensifyDateTimeUnit)
Initializes an instance of DensifyDateTimeRange.
public DensifyDateTimeRange(DensifyDateTimeBounds bounds, int step, DensifyDateTimeUnit unit)
Parameters
boundsDensifyDateTimeBoundsThe bounds.
stepintThe step.
unitDensifyDateTimeUnitThe unit.
Properties
Bounds
Gets the bounds.
public DensifyDateTimeBounds Bounds { get; }
Property Value
Step
Gets the step.
public long Step { get; }
Property Value
Unit
Gets the unit.
public DensifyDateTimeUnit Unit { get; }
Property Value
Methods
Render()
Renders the range as a BsonDocument.
public override BsonDocument Render()
Returns
- BsonDocument
The rendered range.