Click or drag to resize

TimeStandardConverterTryConvert Method

Tries to convert the specified JulianDate to the specified TimeStandard, returning success or failure.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.2.399.0 (19.2.399.0)
Syntax
public static bool TryConvert(
	JulianDate value,
	TimeStandard to,
	out JulianDate result
)

Parameters

value
Type: AGI.Foundation.TimeJulianDate
The JulianDate to convert.
to
Type: AGI.Foundation.TimeTimeStandard
The TimeStandard to convert value to.
result
Type: AGI.Foundation.TimeJulianDate
On return, the resulting JulianDate equivalent to value in the new TimeStandard.

Return Value

Type: Boolean
if value could be converted to the requested TimeStandardto, otherwise .
See Also