TimeConvertTo Method

Converts the Time to the specified targetUnit.

Definition

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