Create a new Timescale instance from the epoch day/month/year and the number of ticks per day.
Namespace: TeaTimeAssembly: DiscreteLogics.TeaFiles (in DiscreteLogics.TeaFiles.dll) Version: 1.0.0.16 (1.0.0.16)
Syntax
Parameters
- epochYear
- Type: System..::..Int32
The epoch year.
- epochMonth
- Type: System..::..Int32
The epoch month.
- epochDay
- Type: System..::..Int32
The epoch day.
- ticksPerDay
- Type: System..::..Int64
The ticks counted per day.
Return Value
A new Timescale instance.Remarks
Static factory methods are provided since Timescale is a struct.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | Thrown when one or more arguments have unsupported or illegal values. |