Date Time Extensions.Ticks Per Unit Method
Gets the number of ticks in the specified unit.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
The number of ticks in unit. If unit is expressed in terms of months, this method returns 0.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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.