TimeConvertTo Method

Converts the Time to the specified targetUnit.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
public double ConvertTo(
	TimeUnit targetUnit
)

Parameters

targetUnit  TimeUnit
Target units.

Return Value

Double
Time converted to targetUnit.

Remarks

When converting to Ticks, precision loss will occur for values that are outside the range of -2^52 and 2^52.

See Also