TimeConvertTo Method

Converts the Time to the specified targetUnit.

Definition

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