Create a new Timescale instance from the epoch in days 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
- epochOffsetInDays
- Type: System..::..Int64
The epoch specified as number of days between 1.1.0000 and the epoch.
- 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. |