TimeScale Members
The TimeScale type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
TimeScale(TimeUnit, Int32, Int32, Int32) |
Initializes a new instance of the TimeScale struct.
|
|
|
TimeScale(Int64, Int32, Int32) |
Methods
| Name | Description | |
|---|---|---|
|
|
CompareTo | |
|
|
Deconstruct | |
|
|
DivideBy |
Divides this instance by [divisor]. Division is made in BaseUnit
of the divisor.
|
|
|
Equals(TimeSpan) | |
|
|
Equals(Object) | |
|
|
Finalize | (Inherited from Object.) |
|
|
GetBindableValueObjects | |
|
|
GetHashCode | |
|
|
GetRatioTo |
Divides this instance by [divisor]. Division is made in BaseUnit
of the divisor. The remainder must be zero.
|
|
|
GetStandardValues |
Gets the members of TimeScales.
|
|
|
GetType | (Inherited from Object.) |
|
|
MemberwiseClone | (Inherited from Object.) |
|
|
ToShortString |
See ToString()()()(). Uses formatter 'S'.
|
|
|
ToString()()()() |
See ToString()()()(). Uses formatter 'L'.
|
|
|
ToString(String, IFormatProvider) |
Converts to string using format.
|
Operators
| Name | Description | |
|---|---|---|
|
|
Division | |
|
|
Equality | |
|
|
GreaterThan | |
|
|
GreaterThanOrEqual | |
|
|
Implicit Widening Implicit Implicit Implicit (TimeScale to String) | |
|
|
Inequality | |
|
|
LessThan | |
|
|
LessThanOrEqual |
Properties
| Name | Description | |
|---|---|---|
|
|
BarsInHour | |
|
|
BarsInTradingDay |
Gets the number of bars in a trading day.
|
|
|
BarsInTradingYear |
Gets the number of bars in a trading year.
|
|
|
BaseUnit |
Gets the unit of Value.
|
|
|
InHours |
Gets the value of ITimeScale in hours.
|
|
|
Ticks |
Gets the value of ITimeScale in ticks (100 nanoseconds).
|
|
|
TimeSpan |
Gets
Field Valuethe equivalent TimeSpan. |
|
|
Value |
Gets the value in BaseUnits.
|

