TimeConvertTo Method

Converts the Time to the specified targetUnit.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.137 -- Release Build+84492f84208b356bfb930d6c506a4bce06d2449a
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