Create a new Timescale instance from the epoch in days and the number of ticks per day.

Namespace: TeaTime
Assembly: DiscreteLogics.TeaFiles (in DiscreteLogics.TeaFiles.dll) Version: 1.0.0.16 (1.0.0.16)

Syntax

public static Timescale FromEpoch(
	long epochOffsetInDays,
	long ticksPerDay
)

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

ExceptionCondition
System..::..ArgumentExceptionThrown when one or more arguments have unsupported or illegal values.

See Also