The Timescale type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals(Object) |
Indicates whether this instance and a specified object are equal. (Overrides ValueType..::..Equals(Object).) |
|
Equals(Timescale) |
Tests if this Timescale is considered equal to another.
|
|
FromEpoch(Int64, Int64) |
Create a new Timescale instance from the epoch in days and the number of ticks per day.
|
|
FromEpoch(Int32, Int32, Int32, Int64) |
Create a new Timescale instance from the epoch day/month/year and the number of ticks per day.
|
|
GetHashCode |
Returns the hash code for this instance. (Overrides ValueType..::..GetHashCode()()()().) |
|
ScaleToNet |
Converts ticks scaled in the scale of this instance to .Net DateTime ticks.
|
|
ToString |
Returns the fully qualified type name of this instance. (Overrides ValueType..::..ToString()()()().) |
Operators
Name | Description | |
---|---|---|
Equality |
Equality operator.
|
|
Inequality |
Inequality operator.
|
Fields
Name | Description | |
---|---|---|
MicrosecondsPerDay |
The microseconds per day = 86400000000.
|
|
MillisecondsPerDay |
The milliseconds per day = 86400000.
|
|
SecondsPerDay |
The seconds per day = 86400.
|
Properties
Name | Description | |
---|---|---|
Epoch |
The epoch as the number of days from 1.1.0000.
|
|
Java |
A Timescale instance with an epoch of 1.1.1970 and Millisecond resolution.
|
|
Net |
A Timescale instance with an epoch of 1.1.0000 and 0.1 Microsecond resolution.
|
|
TicksPerDay |
The number of ticks counted per day.
|
|
WellKnownName |
Returns "Java" or "Net" if this instance has the epoch and ticks per day of these well known scales. "Custom" otherwise.
|