Date Time Extensions.Months Per Unit Method
Gets the number of months in the specified unit.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The number of months in unit.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static int MonthsPerUnit(
this DateTimeUnit unit
)
Parameters
- unit DateTimeUnit
- A DateTimeUnit value.
Return Value
Int32The number of months in unit.