Constructs a new DateTimeVariable containing values at equal intervals.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ name As String, _ lowerBound As DateTime, _ upperBound As DateTime, _ unit As DateTimeUnit, _ startBehavior As BoundaryIntervalBehavior, _ endBehavior As BoundaryIntervalBehavior, _ offset As Integer, _ offsetUnit As DateTimeUnit _ ) |
| C# |
|---|
public DateTimeVariable ( string name, DateTime lowerBound, DateTime upperBound, DateTimeUnit unit, BoundaryIntervalBehavior startBehavior, BoundaryIntervalBehavior endBehavior, int offset, DateTimeUnit offsetUnit ) |
| C++ |
|---|
public: DateTimeVariable ( String^ name, DateTime lowerBound, DateTime upperBound, DateTimeUnit unit, BoundaryIntervalBehavior startBehavior, BoundaryIntervalBehavior endBehavior, int offset, DateTimeUnit offsetUnit ) |
Parameters
- name (System.String)
- A String containing a name for the variable.
- 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.
- 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.
- offset (System.Int32)
- Offset from the beginning of the period specified by binSizeUnit.
- offsetUnit (Extreme.Statistics.DateTimeUnit)
- A DateTimeUnit value specifying the unit for offset.