Constructs a new DateTimeScale using bins
of equal width.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ lowerBound As DateTime, _ upperBound As DateTime, _ unit As DateTimeUnit, _ specialBins As SpecialBins, _ startBehavior As BoundaryIntervalBehavior, _ endBehavior As BoundaryIntervalBehavior _ ) |
| C# |
|---|
public DateTimeScale ( DateTime lowerBound, DateTime upperBound, DateTimeUnit unit, SpecialBins specialBins, BoundaryIntervalBehavior startBehavior, BoundaryIntervalBehavior endBehavior ) |
| C++ |
|---|
public: DateTimeScale ( DateTime lowerBound, DateTime upperBound, DateTimeUnit unit, SpecialBins specialBins, BoundaryIntervalBehavior startBehavior, BoundaryIntervalBehavior endBehavior ) |
Parameters
- lowerBound (System.DateTime)
- The lower bound of the time scale.
- upperBound (System.DateTime)
- The upper bound of the time scale.
- unit (Extreme.Statistics.DateTimeUnit)
- A DateTimeUnit value that specifies the width of the intervals.
- specialBins (Extreme.Statistics.SpecialBins)
- A SpecialBins value that indicates which additional bins to include in the DateTimeScale.
- startBehavior (Extreme.Statistics.BoundaryIntervalBehavior)
- A BoundaryIntervalBehavior value that specifies what to do if the first period is not a complete time unit.
- endBehavior (Extreme.Statistics.BoundaryIntervalBehavior)
- A BoundaryIntervalBehavior value that specifies what to do if the last period is not a complete time unit.
Remarks
Use this method to specify the behavior of the scale at the boundaries.
By default, boundary intervals that do not cover an entire time unit (specified by unit)
are included in the scale "as is".
If a BoundaryIntervalBehavior value of Exclude is specified, such
partial intervals are discarded. If a value of CompleteAndInclude is specified,
the interval is extended to cover an entire time unit and the extended interval is included in the scale.