TimeConvertTo Method

Converts the Time to the specified targetUnit.

Definition

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