Date Time Extensions.Ticks Per Unit Method
Gets the number of ticks in the specified unit.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The number of ticks in unit. If unit is expressed in terms of months, this method returns 0.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static long TicksPerUnit(
this DateTimeUnit unit
)
Parameters
- unit DateTimeUnit
- A DateTimeUnit value.
Return Value
Int64The number of ticks in unit. If unit is expressed in terms of months, this method returns 0.